Repository navigation
Commit 5ea2554
fix(uconsole): Esc no longer quits bigbox; detect keyboard by presence
- Esc only exits in dev mode now. On a real device Esc fell through to
self.running=False and closed bigbox (reported on the uConsole); it now maps
to Back (Button.B) via the keymap instead.
- Enable physical typing when a real keyboard is actually present
(_has_physical_keyboard scans /proc/bus/input/devices), not just when the
device-tree string matches — the uConsole's CM4 model often lacks a
"clockwork" tag, which left typing disabled. HDMI-CEC/GPIO 'kbd' handlers are
excluded so the GamePi43 stays grid-only.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent c6c13dc commit 5ea2554
1 file changed
Lines changed: 33 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
186 | 211 | | |
187 | 212 | | |
188 | 213 | | |
| |||
423 | 448 | | |
424 | 449 | | |
425 | 450 | | |
426 | | - | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
427 | 454 | | |
428 | 455 | | |
429 | 456 | | |
| |||
902 | 929 | | |
903 | 930 | | |
904 | 931 | | |
905 | | - | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
906 | 937 | | |
907 | 938 | | |
908 | 939 | | |
| |||
0 commit comments