mirror of
https://github.com/ALLFATHER-BV/wadamesh.git
synced 2026-11-12 02:27:35 +00:00
cmake -DWADA_HOST_BOARD=m9 compiles the M9's key path (HAS_M9_KEYBOARD: the d-pad, the function keys, the Back ladder, the chat message walk) into the host app on the web board, so M9 navigation runs headless with --size 320x240 instead of only on a device. The rest stays the web board (its caps, no SD). platform/WebM9Keyboard.cpp feeds the host keys in as the controller's bytes. Scripts: `key NAME [COUNT]` takes a raw byte (`key 0x81` = MSG) and a count (several keys queued before one render, as on a busy device). The demo backend takes WADA_DEMO_CHATTER_MS / WADA_DEMO_CHATTER_BURST so messages arrive at known times. UITask gates that named the board where they meant its keyboard now name HAS_M9_KEYBOARD (keyboard backlight level, map pan, nav always on), the nav globals and CAP_KEYPAD_NAV also take the host flavour, the M9 loop's lock-screen service sits behind CAP_LOCK_SCREEN and the CardKB drain steps aside for the M9 keys. Unchanged on every device build. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>