surfansf28: More fixes:

* Use 16-bit audio output
 * More audio tweaks (mute on startup, working volume control)
 * Treat the rotary input as a scroll wheel (works now)

To-dos:

 * Better global keymap (incorporate touchscreen)
 * Turn on plugins and define the approximately eight bajillion keymaps
 * Still have some audible pops when we turn on, need to figure out why
 * Default Cabbiev2 comes off as rather crappy on this device

...I don't know how much work I will do on this thing, as the limited
number of physical controls (and a lack of a line-out) mean I'd never
want to use this thing myself.

Change-Id: I37229d92766495219ee989d9ae48b5ed79bd45f5
This commit is contained in:
Solomon Peachy 2025-05-05 23:21:05 -04:00
parent 9b39c96ac7
commit 0ebfab36ba
6 changed files with 26 additions and 34 deletions

View file

@ -18,6 +18,8 @@
//#define HAVE_HOTKEY
#define HAVE_HEADPHONE_DETECTION
#define HAVE_SCROLLWHEEL
#define NO_BUTTON_LR
#ifndef BOOTLOADER
#define HAVE_BUTTON_DATA
@ -40,7 +42,6 @@
/* Audio codec */
#define HAVE_SURFANS_LINUX_CODEC
#define HAVE_ALSA_32BIT
/* We don't have hardware controls */
#define HAVE_SW_TONE_CONTROLS