Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

buttonOnPress

Featured Replies

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

  • 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.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.