bluekitchen / btstack

Dual-mode Bluetooth stack, with small memory footprint.
http://bluekitchen-gmbh.com
Other
1.72k stars 609 forks source link

bluetooth classic hid_game_controller example? #322

Open tozz88 opened 4 years ago

tozz88 commented 4 years ago

Love the classic bluetooth mouse and keypad projects that are already in the examples but I noticed the Arduino USB HID library includes a gamepad example as well. Any chance there is an bluetooth classic game pad example somewhere that I missed?

mringwal commented 4 years ago

Hi. All HID devices are the same, they just have a different HID Descriptor and use different HID Report formats. Is there a 'standard" gamecontroller? PS3 is different from a Wii Remote, etc...

There's a pull request for a hid game controller, is this what you were looking for? https://github.com/bluekitchen/btstack/pull/209

Reading the code, it seems to have an analog joystick and a few buttons.