Files
RedBear-OS/drivers/inputd
Red Bear OS bd5e3db32a inputd: add raw evdev peer tap (consumer_raw) for libinput/Wayland
Add a new `consumer_raw` handle to scheme:input — a raw, always-on device
tap modelled on the Linux evdev handler. Unlike the console `consumer`, it:

  * is NOT bound to a VT, so it receives events regardless of which VT is
    foregrounded (a background compositor keeps getting input); and
  * receives the *pre-keymap* event stream — the console keymap is now
    applied only on the console `consumer` path, never on the raw tap.

The producer write path snapshots the raw event bytes before the keymap
stamping loop and fans them out to every ConsumerRaw handle unconditionally,
in parallel with the existing VT-gated, keymapped console fan-out (which is
byte-for-byte unchanged — no console-login regression).

This is the RedBear equivalent of evdev being a peer handle off the raw input
core: libinput/xkbcommon (via evdevd) require raw scancodes, which the old
wiring — evdevd reading the keymapped, VT-gated console consumer — could not
provide. Adds ConsumerHandle::new_raw() for consumers.

Part of the Linux-aligned input-stack consolidation
(local/docs/INPUT-STACK-LINUX-ALIGNMENT-PLAN.md). Compile-checked for
x86_64-unknown-redox; boot-validation pending build-green (acpi-rs).
2026-07-24 11:57:36 +09:00
..