mirror of
https://github.com/clockworkpi/PicoCalc.git
synced 2026-03-29 08:22:43 +02:00
Add REG_ID_OFF to power off picocalc
add button callback when short press Power key of picocalc
This commit is contained in:
@@ -58,6 +58,8 @@ enum key_state
|
||||
#define KEY_F9 0x89
|
||||
#define KEY_F10 0x90
|
||||
|
||||
#define KEY_POWER 0x91
|
||||
|
||||
typedef void (*key_callback)(char, enum key_state);
|
||||
typedef void (*lock_callback)(bool, bool);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user