From ddb9ed5871278cc377289b0842f7e4d91c43c458 Mon Sep 17 00:00:00 2001 From: Brad Stein Date: Thu, 19 Jun 2025 01:08:34 -0500 Subject: [PATCH] core tweak --- scripts/navka-core.sh | 34 ---------------------------------- 1 file changed, 34 deletions(-) diff --git a/scripts/navka-core.sh b/scripts/navka-core.sh index c4de6f2..bbf9b2b 100644 --- a/scripts/navka-core.sh +++ b/scripts/navka-core.sh @@ -53,40 +53,6 @@ mkdir -p "$G/functions/hid.usb1" 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 -# printf '\x05\x01' # Usage Page (Generic Desktop) -# printf '\x09\x02' # Usage (Mouse) -# printf '\xA1\x01' # Collection (Application) -# printf '\x09\x01' # Usage (Pointer) -# printf '\xA1\x00' # Collection (Physical) -# printf '\x05\x09' # Usage Page (Button) -# printf '\x19\x01' # Usage Min (1) -# printf '\x29\x03' # Usage Max (3) -# printf '\x15\x00' # Logical Min (0) -# printf '\x25\x01' # Logical Max (1) -# printf '\x95\x03' # Report Count (3) -# printf '\x75\x01' # Report Size (1) -# printf '\x81\x02' # Input (Data,Var,Abs) – 3 button bits -# printf '\x95\x01' # Report Count (1) -# printf '\x75\x05' # Report Size (5) -# printf '\x81\x03' # Input (Cnst,Var,Abs) – 5 pad bits -# printf '\x05\x01' # Usage Page (Generic Desktop) -# printf '\x09\x30' # Usage (X) -# printf '\x09\x31' # Usage (Y) -# printf '\x15\x81' # Logical Min (-127) -# printf '\x25\x7F' # Logical Max (127) -# printf '\x75\x08' # Report Size (8) -# printf '\x95\x02' # Report Count (2) -# printf '\x81\x06' # Input (Data,Var,Rel) – X, Y -# printf '\x09\x38' # Usage (Wheel) -# printf '\x15\x81' # Logical Min (-127) -# printf '\x25\x7F' # Logical Max (127) -# printf '\x75\x08' # Report Size (8) -# printf '\x95\x01' # Report Count (1) -# printf '\x81\x06' # Input (Data,Var,Rel) – Wheel -# printf '\xC0\xC0' # End collections -# >"$G/functions/hid.usb1/report_desc" printf '\x05\x01\x09\x02\xa1\x01\x09\x01\xa1\x00'\ '\x05\x09\x19\x01\x29\x03\x15\x00\x25\x01\x95\x03\x75\x01\x81\x02'\ '\x95\x01\x75\x05\x81\x03'\