KEY_1 long press improvement.
authorSven Rademakers <sven.rademakers@gmail.com>
Tue, 21 Nov 2023 12:22:35 +0000 (12:22 +0000)
committerSven Rademakers <sven.rademakers@gmail.com>
Tue, 21 Nov 2023 12:37:25 +0000 (12:37 +0000)
commitebb4240689c09c8f1801254708c0a270f897d13a
tree83b00aecc1f9ddd97d68b61db8d9e7e2ccb3c1d0
parent3ed15a0c3c1d69d62e1dbd98d9e3f4ac6e6b0bf2
KEY_1 long press improvement.

Long pressing KEY_1 will execute the inverse power action of on normal press.
Prior, long pressing would always force all nodes on.
See the state table:

 | state             | long_press | All nodes |
 | :---------------- | :--------: | :-------: |
 | 0b0000            |  False     | On        |
 | 0b0111            |  False     | Off       |
 | 0b1111            |  False     | Off       |
 | 0b0000            |  True      | On        |
 | 0b0111            |  True      | On        |
 | 0b1111            |  True      | Off       |
Cargo.toml
src/app/bmc_application.rs