diff options
author | William Wilgus <wilgus.william@gmail.com> | 2020-11-12 01:22:32 -0500 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2020-11-12 01:22:32 -0500 |
commit | 1a68856f52f1b6dc89863758404e54c744fcf53a (patch) | |
tree | 7db9e2dd14eab393918e509248bceaaa3073dd48 /firmware | |
parent | 4e5499606bd34195cdee214221800a2462cdd7c1 (diff) | |
download | rockbox-1a68856f52f1b6dc89863758404e54c744fcf53a.tar.gz rockbox-1a68856f52f1b6dc89863758404e54c744fcf53a.zip |
Rocker Add WPS and Tree Hotkey, button codes in debug menu
VolUp+VolDown becomes the wps and tree (file browser) hotkey
Change-Id: I0cba96927420c318506bc0c15dabcb809cd81647
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/export/config/agptekrocker.h | 3 | ||||
-rw-r--r-- | firmware/target/hosted/agptek/debug-agptek.c | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/firmware/export/config/agptekrocker.h b/firmware/export/config/agptekrocker.h index 637898aaff..42abf4e9f0 100644 --- a/firmware/export/config/agptekrocker.h +++ b/firmware/export/config/agptekrocker.h | |||
@@ -61,3 +61,6 @@ | |||
61 | 61 | ||
62 | /* Generic HiBy stuff */ | 62 | /* Generic HiBy stuff */ |
63 | #include "hibylinux.h" | 63 | #include "hibylinux.h" |
64 | |||
65 | /* Define this if a programmable hotkey is mapped */ | ||
66 | #define HAVE_HOTKEY | ||
diff --git a/firmware/target/hosted/agptek/debug-agptek.c b/firmware/target/hosted/agptek/debug-agptek.c index d0ca613323..8ef0048945 100644 --- a/firmware/target/hosted/agptek/debug-agptek.c +++ b/firmware/target/hosted/agptek/debug-agptek.c | |||
@@ -70,6 +70,7 @@ bool dbg_hw_info(void) | |||
70 | #endif | 70 | #endif |
71 | 71 | ||
72 | btn = button_read_device(); | 72 | btn = button_read_device(); |
73 | lcd_putsf(0, line++, "btn: %d", btn); | ||
73 | 74 | ||
74 | lcd_update(); | 75 | lcd_update(); |
75 | sleep(HZ/16); | 76 | sleep(HZ/16); |