Repository navigation
picocalc-extras 2.2: gamepads.
picocalc-extras 2.2 adds a Bluetooth gamepad, alongside the keyboard and mouse.
btpair 2.2
- G pairs a gamepad, classic or BLE. Gamepads are recognised in the search list and marked "(gamepad)".
- Once a gamepad is connected, the first page shows its sticks, D-pad, triggers and the buttons held, by number: handy for finding out how a pad numbers its buttons.
- F forgets any one device, and asks which when more than one is paired.
For programs (bluetooth/)
btkbd_gamepad(&pad)gives the gamepad as it is now: up to 32 buttons, both sticks (−127 to 127), analogue triggers (0 to 255) and the D-pad. Seebluetooth/README.md.pairing.datis stillPBK2, with new tagsGPD0(classic) andGPL0(BLE) for the gamepad. Older programs ignore them, and existing keyboard and mouse pairings carry over.
Tried with
- A Sony PS4 controller (classic Bluetooth), with the Logitech K380 keyboard and M720 mouse still pairing and reconnecting as before.
- An 8BitDo M30, by Giovanni Pozzobon in PicoCalc Desktop 1.0.0. Thanks, Giovanni.
If a gamepad misbehaves, press D then F5 in btpair, and send the two files it saves in /screenshots.