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.

Assign virtual key to axis problem

Featured Replies

I want to assign two keypresses to an unused axis on the Bravo Throttle Quadrant. When the lever is up, key "3" shall be pressed, when it's down, key "2" shall be pressed. I already assigned these two keys in MSFS to condition lever lean and rich, so when I press them on the keyboard, they work, the lever in the cockpit moves to the assigned position.

So now I wanted to make two axis assignment, one for every button. I started with the "2", the assignment window looks like this:

Select Axis, Event and Variable stay empty.
Enter virtual key:  2
Device: Bravo Throttle Quadrant (.........)
Move Joystick axis: RotationY
Update Value: Continuously (also tried OnChange)
Axis min: -16384   Axis max: 0     (the axis is calibrated from -16384 to 0, so that from the middle to the upper position, the value is 0)
Assigned Combo: empty

Unfortunately this does not work. Just to check, I also assigned "2" and "3" to buttons on the Bravo, this works. Even in this window I can write 22222 with the button, but not with the lever.

I think I have an understanding error, can anyone please push me in the right direction ?
THANKS in advance!
 

 

  • Commercial Member

Make sure to set the "Trigger Direction" and associated parameters correctly. And you probably want the axis to go from -16K to +16K so it has a "middle" point (to reference the up/down direction).

In general, it would probably be better to use scripts instead of the virtual keys. With a script you can first set the FOCUS on the flightsim process, then send the actual scan codes from your keyboard. That makes sure that the keys don't get lost - normally only the app that has the focus gets them.

And I would leave it set to "On Change" unless you have guaranteed noise free levers.

LORBY-SI

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.