diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-03-20 19:51:51 +0000 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2022-03-25 21:36:51 +0000 |
commit | cda8bd5437bdcfb0918186352e19011960f05de6 (patch) | |
tree | c7adb7d2584f135bfbfcfc12d3704bd3a78a3fd9 | |
parent | 6bc69c797c71200046fdb7bd3afd429d1db48d2f (diff) | |
download | rockbox-cda8bd5437.tar.gz rockbox-cda8bd5437.zip |
x1000: bootloader: set touchscreen to button mode
The touchscreen "buttons" are used for screenshots on the Q1.
Change-Id: I6bff00976c614d203986e810e51f859e78e372ab
-rw-r--r-- | bootloader/x1000/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bootloader/x1000/main.c b/bootloader/x1000/main.c index 0909a4c72a..4db172b3f0 100644 --- a/bootloader/x1000/main.c +++ b/bootloader/x1000/main.c @@ -41,6 +41,9 @@ void main(void) i2c_init(); power_init(); button_init(); +#ifdef HAVE_TOUCHSCREEN + touchscreen_set_mode(TOUCHSCREEN_BUTTON); +#endif enable_irq(); if(storage_init() < 0) { |