makersmakingchange / LipSync

An open-source mouth operated sip and puff joystick that enables people with limited hand function to emulate a mouse on their computer and/or smartphone.
https://www.makersmakingchange.com/s/product/lipsync/01tJR000000698fYAA
6 stars 0 forks source link

HUB LED Indicator lights not working as expected with external assistive switches. #11

Closed jakemcivor closed 6 months ago

jakemcivor commented 6 months ago

External assistive switches do not produce the corresponding LED indicator blinks as expected.

jakemcivor commented 6 months ago

Initial Testing: https://w3c.github.io/uievents/tools/mouse-event-viewer.html

Mouse Mode: Short Puff -> Left Click -> Left Blink: Left click, Left LED Blinks: OK Short Sip -> Right Click -> Right Blink: Right click, Right LED Blinks: OK

Select Button -> Left Click -> Left Blink: Left click, Left LED Blinks: OK Next Button -> Right Click -> Right Blink: Right click, Right LED Blinks: OK

Short S1 -> Left Click -> Left Blink: Left click, Left LED Blinks: OK Short S2 -> Middle Click -> Middle Blink: Middle click, No LEDS: FAIL Short S3 -> Right Click -> Right Blink: No click, no LED: FAIL

jakemcivor commented 6 months ago

Gamepad Mode: https://hardwaretester.com/gamepad Short Puff -> Button 1 -> Left Blink: B0 Press, Middle LED Blinks once: FAIL Short Sip -> Button 2 -> Right Blink: B1 Press, Left LED twice: FAIL

Select Button -> Button 1 -> Left Blink: B0 Press, Middle LED Blinks: FAIL Next Button -> Button 2 -> Right Blink: B1 Press, Left LED Blinks twice: FAIL (also sometimes turns on and stays on)

Short S1 -> Button 1 -> Left Blink: B0 Press, Middle LED Blinks: FAIL Long S1 -> Button 3 -> Left Blink: B2 Press, Right LED Blinks: FAIL Short S2 -> Button 5 -> Middle Blink: B4 Press, All LED Blinks: FAIL Long S2 -> Button 6 -> Middle Blink: B5 Press, No LEDs: FAIL Short S3 -> Button 2 -> Right Blink: B1 Press, Left LED: FAIL Long S3 -> Button 4 -> Right Blink: B3 Press, Left LED: FAIL

Gamepad tester refers to buttons B0, B1.. B7. This corresponds to Button 1, Button 2, ... Button 8 in LipSync code.

jakemcivor commented 6 months ago

Resolved with 4.0.1