MobiFlight / MobiFlight-Connector

MobiFlight is an open source project that allows you to create your own home cockpit for your favorite flight simulator in a flexible, affordable and extremely user-friendly way.
https://mobiflight.com
MIT License
236 stars 105 forks source link

Extend Mobiflight encoders input config to allow Vjoy buttons #1274

Open JaimeLeon2 opened 1 year ago

JaimeLeon2 commented 1 year ago

Is your feature request related to a problem? Please describe. Current Mobiflight encoder support does not allow Vjoy to be used. Windows HID may not support encoders, but it can be emulated by allowing the inc and dec encoder events to be mapped to Vjoy button presses.

Describe the solution you'd like Extend the input config wizard for encoders to allow mapping of the turn left and turn right events to Vjoy HID joystick button presses. Each click = one button press.

Describe alternatives you've considered There is no way to use a Mobiflight encoder with Vjoy.

Additional context I have seen that the Arduino joystick library does the same to extend support for encoders by emulating joystick button presses. So the encoder clicks are translated into button presses and sent to Windows. Also seen in QMK (Arduino macro keypads firmware).

rhhub commented 6 days ago

I'd find this useful.

  1. Gives branded and universal button box devices the option of gaining the quick turn functionality.
  2. Lets users adjust a mobiflight variable instead of game button presses to overcome the MSFS encoder issue.