Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
c566ae1
feat(angry-miao): support the Infinity .100 by cable, receiver and Bl…
kennedy Dec 3, 2026
81f81d1
test(angry-miao): captures and hardware test logs for cable, receiver…
kennedy Dec 3, 2026
8fa6624
docs(angry-miao): protocol notes, hardware results and the receiver r…
kennedy Dec 3, 2026
229f44d
test(angry-miao): refresh the cable and receiver hardware test logs a…
kennedy Dec 3, 2026
8686518
Merge remote-tracking branch 'upstream/main' into angry-miao-infinity
kennedy Dec 3, 2026
5be66c8
refactor: remove comment about Angry Miao
kennedy Dec 3, 2026
d1081b2
fix(angry-miao): keep button mappings read-only until 85 names the pr…
kennedy Dec 3, 2026
bccd705
fix(angry-miao): keep the verified device id while a status read runs
kennedy Dec 3, 2026
197c939
fix(angry-miao): read and write the options block as one queued step
kennedy Dec 3, 2026
3ca3cd8
fix(angry-miao): release the receiver when a relayed write fails to send
kennedy Dec 3, 2026
733ca69
fix(angry-miao): keep confirming a profile switch after an unanswered 85
kennedy Dec 3, 2026
305b8ba
fix(angry-miao): set the active stage's DPI from one read of the table
kennedy Dec 3, 2026
945a63b
fix(angry-miao): list DPI stages by the status read's own count
kennedy Dec 3, 2026
f8bef38
fix(angry-miao): retry receiver versions that did not answer
kennedy Dec 3, 2026
857c982
docs(angry-miao): say when the driver can write and which writes read…
kennedy Dec 3, 2026
c6997f9
docs(registry): restore why Lingbao and Fantech skip Angry Miao devices
kennedy Dec 3, 2026
c73e256
feat(angry-miao): name the receiver on its own "Angry Miao Receiver"
kennedy Dec 3, 2026
7edefe6
fix(registry): list AngryMiaoHidClient in SupportedClient
kennedy Dec 3, 2026
ef1610b
fix(angry-miao): copy a command's bytes before it waits in the queue
kennedy Dec 3, 2026
2e4bda2
fix(angry-miao): run each setting change and status read as one step
kennedy Dec 3, 2026
d28fa36
fix(angry-miao): read every options change back
kennedy Dec 3, 2026
f1df6bf
docs(angry-miao): list which writes read back, and the receiver-only …
kennedy Dec 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ checklist.
| --- | --- |
| A4Tech Bloody R36 Ultra | `@openmouse/protocol/a4tech` |
| AJAZZ | `@openmouse/protocol/ajazz` |
| Angry Miao | `@openmouse/protocol/angry-miao` |
| ATK | `@openmouse/protocol/atk` |
| Corsair | `@openmouse/protocol/corsair` |
| Dareu | `@openmouse/protocol/dareu` |
Expand Down
27 changes: 27 additions & 0 deletions captures/angry-miao-infinity/bluetooth-reads.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"model": "Angry Miao Infinity .100 (AM30)",
"firmware": {
"mouseSoc": "0x0318 (vendor 1.1.1)"
},
"date": "2026-12-03",
"os": "macOS",
"transport": "Bluetooth",
"vendorId": 12625,
"productId": 16428,
"productName": "AM INFINITY BT MOUSE",
"collections": "0x0001:0x0006, 0x000C:0x0001 (input 2), 0x0001:0x0080, 0x0001:0x0006, 0x0001:0x0002, 0xFF55:0x0202 (input 6, output 6)",
"source": "OpenMouse on Bluetooth, recorded with a passive WebHID logger on sendReport and input reports, before the Angry Miao driver handled 3151:402C. Reads only.",
"notes": {
"framing": "Every command is sent as output report 6: byte 0 = 0x55, then the same checksummed command as on the cable. The reply is input report 6 with the same 0x55 byte in front of the cable reply.",
"battery": "0x77 is a Bluetooth-only request; byte 1 of the reply is the battery percent (0x4E = 78). Bytes 2-3 (18 03) match the SoC firmware code but are not decoded.",
"replies": "8F, 80, D4, D3 and D0 answer with the same layout as on the cable. D0 does not echo its command byte."
},
"replies": {
"battery": { "request": "7700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "reply": "774e180300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" },
"deviceId": { "request": "558f000000000000700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "reply": "558fae0800000000700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" },
"firmware": { "request": "55800000000000007f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "reply": "55801803000000007f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" },
"dpi": { "request": "55d40000000000002b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "reply": "55d40003080000002b90012003b0044006800c00191027307590012003b0044006800c001910273075ff0000ff3200ffff0000ff0000ffff0000ffff00ffffffff" },
"option0": { "request": "55d30000000000002c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "reply": "55d30000000000002c00810f0000000c0101000000000000000000000000000000000000000000000058022c013c00b400000064640100ffffffffffff010f0300" },
"keyMatrix": { "request": "55d00000000000002f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "reply": "550100f0000100f1000100f2000100f4000100f300140000000a05000000000000000000000000000000000000000000000100f9010100f9ff0100f5010100f5ff" }
}
}
29 changes: 29 additions & 0 deletions captures/angry-miao-infinity/cable-reads.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"model": "Angry Miao Infinity .100 (AM30)",
"firmware": { "mouseUsb": "0x0101 (vendor 1.0.3)", "mouseSoc": "0x0318 (vendor 1.1.1)" },
"date": "2026-12-01",
"os": "Windows 11",
"transport": "USB cable",
"vendorId": 12625,
"productId": 16426,
"usagePage": 65535,
"usage": 2,
"featureReportLength": 65,
"notes": {
"usbVersion": "0x8F read. Device id 2222 (0x08AE) is bytes 1-4 little-endian; byte 5 (0x06) is unidentified. Re-read in full on macOS on 2026-12-03; the first 16 bytes match the 2026-12-01 read.",
"firmware": "0x80 read. Bytes 1-2 are the SoC code 0x0318, shown as Mouse SoC 0x0318. Re-read in full on macOS on 2026-12-03; the first 16 bytes match the 2026-12-01 read.",
"usbFirmware": "0xAD read, recorded on macOS on 2026-12-03. Bytes 1-2 are the USB code 0x0101, shown as Mouse USB 0x0101.",
"dpi": "Full 64-byte reply.",
"option0": "Full 64-byte reply.",
"keyMatrix": "Full 64-byte reply for profile 0. No command echo byte; sixteen 4-byte slots.",
"reportDescriptor": "Not captured; only the collection capabilities were queried."
},
"replies": {
"usbVersion": "8fae0800000600700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"firmware": "801803000000007f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"usbFirmware": "ad010100000000520000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"dpi": "d40003080000002b90012003b0044006800c00191027307590012003b0044006800c001910273075ff0000ff3200ffff0000ff0000ffff0000ffff00ffffffff",
"option0": "d30000000000002c0001030000000c01010000000000000000000000000000000000000000000000580200001e000000000064640100ffffffffffff00010100",
"keyMatrix": "0100f0000100f1000100f2000100f4000100f300140000000a05000000000000000000000000000000000000000000000100f9010100f9ff0100f5010100f5ff"
}
}
35 changes: 35 additions & 0 deletions captures/angry-miao-infinity/cable-vendor-writes.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"model": "Angry Miao Infinity .100 (AM30)",
"firmware": { "mouseUsb": "0x0101 (vendor 1.0.3)", "mouseSoc": "0x0318 (vendor 1.1.1)" },
"date": "2026-12-02",
"os": "Windows 11",
"transport": "USB cable",
"vendorId": 12625,
"productId": 16426,
"source": "Vendor web configurator (ammaster.angrymiao.com, model page am30), recorded with a passive WebHID logger that wraps sendFeatureReport and receiveFeatureReport. Each setting was changed once and then restored.",
"notes": {
"reads": "Full 64-byte replies read before the changes. The final reads after all restores were identical. Compared with cable-reads.json, option0 differs only in bytes 42-43 (300), 46-47 (180) and 61-62 (3), all written by earlier vendor-app sessions.",
"writes": "Full 64-byte feature reports sent by the vendor app, in order. Writes get no reply. Each 0x53 write carries the whole parameter block; each 0x54 write carries the whole DPI table.",
"keyMatrixAfterRemap": "0xD0 read-back after the Back -> Middle click write. Slot 4 (offset 16) holds 01 00 f2 00."
},
"reads": {
"option0": "d30000000000002c0001030000000c0101000000000000000000000000000000000000000000000058022c011e00b400000064640100ffffffffffff00030300",
"dpi": "d40003080000002b90012003b0044006800c00191027307590012003b0044006800c001910273075ff0000ff3200ffff0000ff0000ffff0000ffff00ffffffff",
"keyMatrix": "0100f0000100f1000100f2000100f4000100f300140000000a05000000000000000000000000000000000000000000000100f9010100f9ff0100f5010100f5ff",
"keyMatrixAfterRemap": "0100f0000100f1000100f2000100f4000100f200140000000a05000000000000000000000000000000000000000000000100f9010100f9ff0100f5010100f5ff"
},
"writes": [
{ "change": "polling rate 1000 -> 8000 Hz", "hex": "53000000000000ac00810f0000000c0101000000000000000000000000000000000000000000000058022c011e00b400000064640100ffffffffffff000f0300" },
{ "change": "polling rate 8000 -> 1000 Hz", "hex": "53000000000000ac0001030000000c0101000000000000000000000000000000000000000000000058022c011e00b400000064640100ffffffffffff00030300" },
{ "change": "debounce 10 -> 5 ms", "hex": "53000000000000ac0001020000000c0101000000000000000000000000000000000000000000000058022c011e00b400000064640100ffffffffffff00020200" },
{ "change": "debounce 5 -> 10 ms", "hex": "53000000000000ac0001030000000c0101000000000000000000000000000000000000000000000058022c011e00b400000064640100ffffffffffff00030300" },
{ "change": "2.4 GHz standby 30 s -> never", "hex": "53000000000000ac0001030000000c0101000000000000000000000000000000000000000000000058022c01ffffb400000064640100ffffffffffff00030300" },
{ "change": "2.4 GHz standby never -> 30 s", "hex": "53000000000000ac0001030000000c0101000000000000000000000000000000000000000000000058022c011e00b400000064640100ffffffffffff00030300" },
{ "change": "ripple control off -> on", "hex": "53000000000000ac0001030001000c0101000000000000000000000000000000000000000000000058022c011e00b400000064640100ffffffffffff00030300" },
{ "change": "ripple control on -> off", "hex": "53000000000000ac0001030000000c0101000000000000000000000000000000000000000000000058022c011e00b400000064640100ffffffffffff00030300" },
{ "change": "DPI stage 8 colour #ffffff -> #d0021b", "hex": "54000308000000a090012003b0044006800c00191027307590012003b0044006800c001910273075ff0000ff3200ffff0000ff0000ffff0000ffff00ffd0021b" },
{ "change": "DPI stage 8 colour #d0021b -> #ffffff", "hex": "54000308000000a090012003b0044006800c00191027307590012003b0044006800c001910273075ff0000ff3200ffff0000ff0000ffff0000ffff00ffffffff" },
{ "change": "button Back -> Middle click", "hex": "50000400000000ab0100f20000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" },
{ "change": "button Middle click -> Back", "hex": "50000400000000ab0100f30000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" }
]
}
51 changes: 51 additions & 0 deletions captures/angry-miao-infinity/dongle-reads.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"model": "Angry Miao Infinity .100 (AM30)",
"firmware": {
"mouseUsb": "0x0101 (vendor 1.0.3)",
"mouseSoc": "0x0318 (vendor 1.1.1)",
"receiverUsb": "0x0008 (vendor 1.0.7)",
"receiverRf": "240 (vendor 1.0.8)",
"receiverLed": "0x0109 (vendor 1.0.5)"
},
"date": "2026-12-02",
"os": "Windows 11",
"transport": "2.4 GHz receiver",
"vendorId": 12625,
"productId": 20487,
"source": "Vendor web configurator (ammaster.angrymiao.com, model page am30), recorded with a passive WebHID logger. Reads only: the tabs were opened and nothing was changed.",
"notes": {
"status": "First 11 bytes of the 0xF7 reply. The rest of each 0xF7 reply repeats stale bytes from the previous relayed reply. Byte 0 = 1 when a relayed reply is ready, byte 5 = 1 when the receiver can take a command, byte 4 = 0 when the mouse is online. Byte 2 (0x64) matches the receiver battery the vendor app shows.",
"exchange": "One complete relayed read of 0xD4, in order. The vendor app sends F6 05 and FE 40 before every mouse command, polls F7 about every 100 ms until byte 0 = 1, then sends FC and reads the reply.",
"relayed": "Replies read after FC. option0, dpi and keyMatrix are byte for byte the same as the cable reads in cable-vendor-writes.json."
},
"status": {
"idle": "0000640100010200000163",
"busy": "0000640100000200000163",
"replyReady": "0100640100010200000163"
},
"exchange": [
{ "dir": "send", "hex": "f6050000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" },
{ "dir": "send", "hex": "f7000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" },
{ "dir": "recv", "hex": "0000640100010200000163000100f4000100f300140000000a05000000000000000000000000000000000000000000000100f9010100f9ff0100f5010100f5ff" },
{ "dir": "send", "hex": "fe400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" },
{ "dir": "send", "hex": "d40000000000002b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" },
{ "dir": "send", "hex": "f7000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" },
{ "dir": "recv", "hex": "0000640100000200000163000100f4000100f300140000000a05000000000000000000000000000000000000000000000100f9010100f9ff0100f5010100f5ff" },
{ "dir": "send", "hex": "f7000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" },
{ "dir": "recv", "hex": "0000640100000200000163000100f4000100f300140000000a05000000000000000000000000000000000000000000000100f9010100f9ff0100f5010100f5ff" },
{ "dir": "send", "hex": "f7000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" },
{ "dir": "recv", "hex": "0100640100010200000163000100f4000100f300140000000a05000000000000000000000000000000000000000000000100f9010100f9ff0100f5010100f5ff" },
{ "dir": "send", "hex": "fc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" },
{ "dir": "recv", "hex": "d40003080000002b90012003b0044006800c00191027307590012003b0044006800c001910273075ff0000ff3200ffff0000ff0000ffff0000ffff00ffffffff" }
],
"relayed": {
"option0": "d30000000000002c0001030000000c0101000000000000000000000000000000000000000000000058022c011e00b400000064640100ffffffffffff00030300",
"dpi": "d40003080000002b90012003b0044006800c00191027307590012003b0044006800c001910273075ff0000ff3200ffff0000ff0000ffff0000ffff00ffffffff",
"keyMatrix": "0100f0000100f1000100f2000100f4000100f300140000000a05000000000000000000000000000000000000000000000100f9010100f9ff0100f5010100f5ff",
"battery": "d6000164000000290000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"fpsMode": "e20000000000001d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"dpiButton": "e30000000000001c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"profileButton": "e40000000000001b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"sensorAngle": "e50000000000001a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
}
}
146 changes: 146 additions & 0 deletions captures/angry-miao-infinity/openmouse-hardware-test-bluetooth.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
{
"device": {
"present": true,
"brand": "Angry Miao",
"name": "Angry Miao Infinity .100",
"vendorId": 12625,
"productId": 16428,
"productName": "Angry Miao Infinity .100",
"transport": "webhid",
"connectionType": "Wireless",
"pollingRateHz": 8000,
"supportedPollingRates": [
125,
250,
500,
1000,
2000,
4000,
8000
],
"dpi": 1600,
"dpiStages": [
400,
800,
1200,
1600,
3200,
6400,
10000,
30000
],
"activeDpiStage": 3,
"batteryPercent": 78,
"batteryState": "Discharging",
"firmware": [
"Mouse SoC 0x0318",
"PixArt PAW3950"
],
"liftOffDistance": "Medium",
"driverFamily": "angry-miao",
"deviceMode": null,
"collectionsSummary": "interfaces 0x0001:0x0006, 0x000C:0x0001, 0x0001:0x0080, 0x0001:0x0002, 0xFF55:0x0202",
"signalStrength": null,
"receiverOnline": null,
"receiverRfId": null,
"pairingInProgress": false
},
"results": [
{
"key": "connection",
"label": "Device connected",
"status": "pass",
"detail": "Connected through WebHID"
},
{
"key": "interface",
"label": "Control interface",
"status": "pass",
"detail": "interfaces 0x0001:0x0006, 0x000C:0x0001, 0x0001:0x0080, 0x0001:0x0002, 0xFF55:0x0202"
},
{
"key": "identity",
"label": "Device identity",
"status": "pass",
"detail": "Angry Miao Angry Miao Infinity .100"
},
{
"key": "driver",
"label": "Driver identification",
"status": "pass",
"detail": "Angry Miao angry-miao"
},
{
"key": "dpi",
"label": "DPI read-back",
"status": "pass",
"detail": "1,600 DPI"
},
{
"key": "pollingRead",
"label": "Polling rate read-back",
"status": "pass",
"detail": "8000 Hz"
},
{
"key": "battery",
"label": "Battery read-back",
"status": "pass",
"detail": "78%"
},
{
"key": "firmware",
"label": "Firmware read-back",
"status": "pass",
"detail": "Mouse SoC 0x0318, PixArt PAW3950"
},
{
"key": "liftOff",
"label": "Lift-off read-back",
"status": "pass",
"detail": "Medium"
},
{
"key": "dpiStages",
"label": "DPI stages read-back",
"status": "pass",
"detail": "400, 800, 1,200, 1,600, 3,200, 6,400, 10,000, 30,000 DPI"
},
{
"key": "link",
"label": "Wireless link (receiver)",
"status": "pass",
"detail": "driver read the wireless connection over the RF link"
},
{
"key": "flashRead",
"label": "Flash / EEPROM read-back",
"status": "pass",
"detail": "decoded fields are in range (dpi, polling, lift-off, battery, dpi stages)"
},
{
"key": "sampling",
"label": "Polling rate sampling",
"status": "skip",
"detail": "Not enough movement captured (needed ≥ 40 samples) — inconclusive."
},
{
"key": "flashWrite",
"label": "Flash write round-trip",
"status": "pass",
"detail": "wrote 800 DPI → read back → restored 1,600 DPI · wrote 4,000 Hz → read back → restored 8,000 Hz · wrote Low → read back → restored Medium"
}
],
"verdict": "pass",
"durationMs": 19573.600000023842,
"runAt": "2026-12-03T06:39:20.516Z",
"build": "BETA · v2.0.1471",
"supportedPage": {
"listed": false,
"status": null,
"label": null,
"matchedBy": null,
"pageModel": null,
"detail": "not listed on the supported-devices page"
}
}
Loading