core tweak

This commit is contained in:
Brad Stein 2025-06-19 01:02:10 -05:00
parent 1212d9b1c1
commit ff5798399e
2 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@ impl KeyboardAggregator {
};
if self.dev_mode && !events.is_empty() {
info!("{} kbd evts from {}", events.len(), self.dev.name().unwrap_or("?"));
debug!("{} kbd evts from {}", events.len(), self.dev.name().unwrap_or("?"));
}
for ev in events {

View File

@ -50,8 +50,8 @@ printf '\x05\x01\x09\x06\xa1\x01\x05\x07\x19\xe0\x29\xe7\x15\x00\x25\x01'\
# ----------------------- HID mouse (usb1) --------------------------
mkdir -p "$G/functions/hid.usb1"
echo 0 > "$G/functions/hid.usb1/protocol" # Boot mouse
echo 0 > "$G/functions/hid.usb1/subclass"
echo 2 > "$G/functions/hid.usb1/protocol" # Boot mouse
echo 1 > "$G/functions/hid.usb1/subclass"
echo 4 > "$G/functions/hid.usb1/report_length"
# 3 buttons, X, Y, Wheel → total 4 bytes