simphax / Touchmote

Touchmote
GNU General Public License v3.0
116 stars 31 forks source link

touchmote recognizes balance board as wiimote #41

Open mandark opened 10 years ago

mandark commented 10 years ago

hi simphax!

it seems, touchmote recognizes and treats a balance board just like a wiimote, thus also assigning it to an emulated xinput-device.

now it would be really cool, if touchmote would actually support the inputs of the balance board, but imho assigning it to a xinput-slot does not really make sense, since it takes away one of the 4 slots, which can be a problem, if one wants to use 4 actual wiimotes (or other xinput-devices).

i tried fixing this myself, but didn't find a good and stable solution.

you should be able to check via wiimotelib, if a wiimote is a balanceboard, this way:

wiimote.WiimoteState.ExtensionType == ExtensionType.BalanceBoard

maybe you can come up with a solution for this.

best wishes mandark