diff --git a/README.md b/README.md index 3943fc49..c6115274 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,8 @@ checklist. | G-Wolves | `@openmouse/protocol/gwolves` | | GearHub (AJAZZ / Attack Shark / Lingbao) | `@openmouse/protocol/gearhub` | | Glorious | `@openmouse/protocol/glorious` | -| Glorious classic (Model O/D/I, Series One Pro) | `@openmouse/protocol/glorious-classic` | +| Glorious classic (Model O/D, Series One Pro) | `@openmouse/protocol/glorious-classic` | +| Glorious Model I (original, wired) | `@openmouse/protocol/glorious-model-i` | | Glorious core2 (O2/D2 Pro 4K/8K) | `@openmouse/protocol/glorious-core2` | | Hitscan (Hyperlight web control / native Utility) | `@openmouse/protocol/hitscan` | | HyperX | `@openmouse/protocol/hyperx` | @@ -133,3 +134,9 @@ polling, lift-off and debounce writes have not. See [docs/glorious-series-one-pro.md](docs/glorious-series-one-pro.md) for those replies and the resident Compx bootloader protocol (entry, read-back, erase/program behavior). + +The original wired Glorious Model I (`22d4:1503`) has its own driver. Polling +rate, debounce, lift-off distance, the DPI stage table, lighting and profile +selection were written, read back and restored on hardware. See +[docs/glorious-model-i.md](docs/glorious-model-i.md) for the protocol and the +firmware's write behaviour. diff --git a/captures/glorious-model-i-wired/README.md b/captures/glorious-model-i-wired/README.md new file mode 100644 index 00000000..bd6ab09a --- /dev/null +++ b/captures/glorious-model-i-wired/README.md @@ -0,0 +1,29 @@ +# Glorious Model I, wired (22d4:1503) + +Owner captures from a physical Model I on Linux, read and written through +`hidraw` (`HIDIOCSFEATURE` / `HIDIOCGFEATURE`) on the configuration interface +(interface 1, usage page `0xff01`, usage `0x02`). The descriptor declares +feature report `0xA1` with 63 payload bytes and feature report `0xA0` with +1040 payload bytes; every answer carries `0xA0` at [0], whichever report was +read. + +`profile-reports.hex` holds whole frames, trailing zeros dropped: + +| Label | What it is | +| --- | --- | +| `active-profile` | Answer to `A1 0B 03` (active profile query); byte [16] is profile 1. | +| `dpi-before` | Profile 1 (`A1 0B 07`, profile at [5]) before a combined performance write. | +| `dpi-command` | The `A0 0D 1F` combined write that was sent. Its colour records were sliced from the stored profile instead of being rebuilt, so their `01 ` markers are wrong; the firmware stored the first three bytes of each record as that stage's colour. | +| `dpi-after` | Profile 1 read back after `dpi-command`. Only the packed stage colours (48-65) changed. | +| `dpi-after-debounce-4` | The same write repeated with debounce 4 ms: byte [18] became 4 and so did byte [69]. | +| `lighting-before` | Profile 1 before a lighting write. | +| `lighting-after` | Profile 1 after `A1 0C` with single colour `#ff0000`, brightness 100, speed 60, sleep 255, colour count 0: the block at 147-191 changed and nothing else did. | + +Command encoders were also compared byte for byte with the exported functions +of Glorious CORE's `model_i_dll.dll` (SHA-256 +`1f30b8e7c5cc249d7a77b8082d1cde9ed2da3c84402fbbbd44bcb40589c9562d`), +executed offline in an x86-64 emulator with every import trapped. The DLL is +not included here. + +The reports hold no serial number, name or other identifier. Bytes 81-143 +are the unit's normal-layer button assignments, seven bytes per button. diff --git a/captures/glorious-model-i-wired/profile-reports.hex b/captures/glorious-model-i-wired/profile-reports.hex new file mode 100644 index 00000000..650e0174 --- /dev/null +++ b/captures/glorious-model-i-wired/profile-reports.hex @@ -0,0 +1,12 @@ +# Glorious Model I, wired (USB 0x22d4:0x1503), Linux hidraw, October 2026. +# Configuration interface 1 (usage page 0xff01, usage 2). Full frames with the +# report id / firmware marker at [0], trailing zeros dropped. Format: +#