guusw / unnamed-sdvx-clone

A rhythm game written in C++
MIT License
68 stars 107 forks source link

[Feature] HID input #14

Closed nieknooijens closed 8 years ago

nieknooijens commented 8 years ago

Hi

Now the game is fully operational on linux I'm going to build a SDVX controller using parts from arcadewinkel.nl (they have nice buttons and switches for the real arcade experience) I will program the controller to act like a normal Xbox gamepad similar to dance pads and other peripherals. (you can also buy them here: http://www.gamo2.com/en/index.php?dispatch=products.view&product_id=314) Therefore we need some way to map the controller to the program using a nice GUI controller mapping utility.

Drewol commented 8 years ago

The Gamo2 sdvx controllers act as keyboard and mouse (mouse X & Y for knobs) but the other popular controller, virgoo turbocharger, acts as a HID gamepad

guusw commented 8 years ago

I'll add a configuration menu for gamepads / mouse bindings eventually. Earlier on you can probably configure those manually from the config file (so that it at least works without having the menu yet).

nieknooijens commented 8 years ago

I'm also willing to help programming, you don't have to do everything yourself! The issues serve more as a roadmap, just like we do at performous.

guusw commented 8 years ago

Yeah sure, feel free to add other features here if you think they're not already in the project description. If you wan't to see if you can help with this specific thing you can check out Main/Input.hpp,.cpp. I do plan on using SDL here for the gamepad handling unless it doesn't work with any known controllers out there.

guusw commented 8 years ago

Implemented and created a separate issue for the mapping screen

nieknooijens commented 8 years ago

nice, and SDL2 is really easy to use for that. :+1: