reorg: move input-protocol to library/protocol + direct import
input-protocol -> library/protocol/input/input-protocol.zig. Its five consumers (usb-hid keyboard/mouse, ps2 keyboard/mouse, the input service) now import the module directly and alias it input_protocol, replacing the runtime.input_protocol re-export (deleted) and the inconsistent local `protocol` aliases. runtime.input (the client) still imports the module by name. zig build + test green; input, acpi-ps2, usb-hid pass.
This commit is contained in:
@@ -22,7 +22,7 @@ const xkb = @import("xkeyboard-config");
|
||||
const hid = @import("hid-report.zig");
|
||||
const ipc = runtime.ipc;
|
||||
const process = runtime.process;
|
||||
const input_protocol = runtime.input_protocol;
|
||||
const input_protocol = @import("input-protocol");
|
||||
|
||||
// The modifier state a character lookup needs — derived from the report's
|
||||
// modifier byte, plus the driver-tracked caps-lock toggle.
|
||||
|
||||
Reference in New Issue
Block a user