GLFW for Logitech or Thrustmaster Hotas


#1

I am planning to buy a Logitech or Thrustmaster Hotas Flight Simuation pack [1,2].
They have joystick, many keys and pedals.
I plan to collect data from these devices via C++.
However, as they are expensive, I would like to make sure if I purchase them, does GLFW fully support such hardwares?

I have not found any online complete SDK library and sample codes specific for any of these devices. Should someone uses their specific SDK or does GLFW cover them?

[1] https://www.gamesmen.com.au/bundle-complete-saitek-pro-flight-pack?gclid=CjwKCAjwj8bPBRBiEiwASlFLFWkf_u7bmkXZ8-WhWtpHAKcSmRARG5Kelmw3k5DBQuccYW8j_ZU7vxoCCMIQAvD_BwE

[2] https://www.pagnianimports.com.au/flight-simulation/flight-stand-hotas-warthog-rudder-package.html


#2

Joysticks are normally supported via the native APIs for a given OS, for example on Windows GLFW uses either DirectInput or XInput and any joystick supporting either of these would work. The joystick makers usually provide drivers for these APIs. Pedals are usually treated the same. Buttons are sometimes mapped to joystick buttons, and sometimes to keyboard ones depending on the driver and your settings.

There is a controller DB at https://github.com/p-groarke/SDL_GameControllerDB but it mostly lists console style game controllers and I can’t find any similar HOTAS systems listed.

You might be able to get information from Thrustmaster or Logitech about the APIs they use on the OS you intend to work with, and they may even know if it would work with GLFW.