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.

updated code question

Featured Replies

I need some help updating a PTT switch for my throttle. I went through the epic doc, but I am still unclear of what to type. I need a P.T.T button on my throttle to push and hold an X_INS (insert) keypress. I have it all working, but I can only get about a 1 second hold by using the 'bpr' and 'brl' commands.Old code to get around this was like;ifactive(BTN_PTT) call MIKE_P else jump MIKE_RI dont quite understand the new code in this respect. ANy pointers would be appreciated.cary

I note that the format of device.button means that a button has been defined in the device.hpl file and is being called to in the epl.I also notice that the old definebutton (defbtn) is used to make the keypresses produce keystroke outputs that aren't defined in the device.hpl.. <--- I pushed a non-device-defined button and it produced this keypad delete (or decimal) keystroke.I note the code that replaced the ifactive, jump , else jump format now uses the device.button format. Does this mean all butttons have to be defined in device.hpl to be used in the new [if, else, ] format?I need to master the use of push and hold keystrokes. The kpr, krl sometimes only produce a 1 second hold for me. Some keys don't seem to hold well with kpr / krl (ie - insert key).ffffffffffffffffffffffffff <--- that was a push and hold trigger from a defined button.cary

  • 3 weeks later...

Hi cary,It might be too late for you but...I write an EPIC code like below for testing switch.You do not need to define buttons in device.hpl.//test button @ mod1, row2, bit4temp=scanrow(1,2);if(temp&0x08){flag_on=true;} else{flag_on=false;};DAN

Working on epl files is an never-ending project... it is never too late :)Thanks for the info Dan!

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.