surfansf28: Major improvements:

* Add a crude keymap
 * Use native "hardware mute" for audiohw_mute()
 * Properly handle touchscreen inputs
 * Can now play back music, with some warts..

Broken:

 * rotary wheel still doesn't work
 * audio garbled/distorted a bit
 * no volume control

Change-Id: I040217035a7bf3983b0e269fca3408eedd972cd0
This commit is contained in:
Solomon Peachy 2025-05-04 21:50:30 -04:00
parent 3a0d490713
commit 95f970076e
6 changed files with 239 additions and 15 deletions

View file

@ -32,6 +32,8 @@
#define BUTTON_RIGHT 0x00000020
#define BUTTON_MAIN 0x0000003f
#define BUTTON_TOUCH 0x00000040
/* Touchscreen virtual buttons */
#define BUTTON_TOPLEFT 0x00001000
#define BUTTON_TOPMIDDLE 0x00002000