Skip to content

HID controller mapping #282

Answered by darthcloud
GamingNJncos asked this question in Q&A
Discussion options

You must be logged in to vote

Its going to use the HID descriptor and try to fingerprint it to an existing one, if that fail it will use the most common pattern for the buttons bitfield.

Honestly as I tell everyone making controller just use the Xbox X|S HID descriptor as is. And just populate unused field with neutral value for axes.

See descriptor here:
https://github.com/darthcloud/bt_traces/blob/master/hid_descriptors/xb_series_xs.txt

We really don't need yet another custom descriptor.

You can use the "BlueRetro_pad_test.bin" firmware to display most buttons state to the serial console.

Also make sure to to config your terminal properly to make it readable:
https://github.com/darthcloud/BlueRetro/wiki/Getting-Blue…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by GamingNJncos
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants