Repository navigation
picocalc-extras 2.1
A Bluetooth mouse alongside the keyboard.
- btpair 2.1: K pairs a keyboard, M pairs a mouse, F forgets one. Both stay
paired and connect together, each classic or BLE. The search list says
which is a keyboard and which is a mouse, when the device says. - For programs: btkbd_mouse() gives the movement since the last call and the
buttons held. btkbd_device_state(), btkbd_device_name() and
btkbd_forget_device() work for either device. - Nothing changes for programs that only use a keyboard: the existing calls
are the keyboard's, as before. - The mouse is saved in the pairing file's PTR0 (classic) or PTL0 (BLE)
record, beside the keyboard's. Older programs ignore it.
Needs picocalc-text-starter v0.17 or later, like 2.0.