FreeJoy-Team / FreeJoy

STM32F103 USB HID game device controller with flexible configuration
GNU General Public License v3.0
729 stars 140 forks source link

Request: Enumerate as a keyboard using PWM for analog inputs #24

Open DeadlyDad opened 4 years ago

DeadlyDad commented 4 years ago

Years back, I wrote a GlovePIE script to convert analog inputs from my steering wheel into PWM signals that emulated madly hammering on keyboard keys. Surprisingly, the PWM keyboard mode was absolutely indistinguishable from native steering wheel mode in the games I tried and even worked flawlessly in things like Flash games. Is that doable with this library? It would open up a LOT of options.

vostrenkov commented 4 years ago

This is interesting option, it may be done but not in near future. First of all we need support for devices such as new analog sensors and external ADCs

DeadlyDad commented 4 years ago

Okay, but please give serious consideration to giving it a higher priority, as it would allow adding analog control to games and apps that only support the keyboard. (For example, games that use WASD for movement would finally be able to be fully analog--with a foot tilt board, for instance.)