July 22, 20196 yr Can anyone tell me what is wrong with this line? function button_OnPress (046DC2150, 2) The 9 digit number is the number identifying the joystick (my homemade HID) and the button number at least, this is how they are identified by the LINDA Tracer when I press the particular button. However, FSUIPC identifies them as '0' and '1' respectively. The Editor calls a syntax error of: 'malformed number near 046DC2150'. I've tried it with the FSUIPC identifier and the LINDA number against my HID in the Joystick settings window (it is number 2 in the list so I've tried that. I've tried parenthesis etc but to no avail. If I use the FSUIPC identity for the button ie function button_OnPress (0, 1), the error returned is <name> or '...' expected near '0'. So, I'm confused now. D
July 22, 20196 yr Author Got it. Sorted. It required a 'j' before the first number and a'b' with the second. Now, on the the next line... D
Archived
This topic is now archived and is closed to further replies.