Commit 1390e26
feat: unify Logitech CID name mapping with Solaar registry (~310 entries)
Consolidate 3 duplicate CID→name hardcoded mappings into a single
LogitechCIDRegistry (sourced from Solaar project's special_keys.py).
Eliminates "Logi(2253)"-style fallback names for unknown buttons.
- Add LogitechCIDRegistry.swift with ~310 CID entries from Solaar
- Remove LogitechCIDMap from MosInputEvent.swift
- Remove HIDPPInfo.cidNames from LogitechHIDDebugPanel.swift
- Remove Logi entries from KeyCode.mouseMap
- Update all consumers (9 files) to use LogitechCIDRegistry
- Add Logi code fallback to ScrollHotkey.displayName
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 757f350 commit 1390e26
File tree
11 files changed
+1448
-78
lines changed- Mos
- Components
- InputEvent
- Keys
- LogitechHID
- Windows/PreferencesWindow
- ButtonsView
- ScrollingView
- docs/superpowers
- plans
- specs
11 files changed
+1448
-78
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | 51 | | |
105 | 52 | | |
106 | 53 | | |
| |||
155 | 102 | | |
156 | 103 | | |
157 | 104 | | |
158 | | - | |
159 | | - | |
| 105 | + | |
| 106 | + | |
160 | 107 | | |
161 | 108 | | |
162 | 109 | | |
| |||
184 | 131 | | |
185 | 132 | | |
186 | 133 | | |
187 | | - | |
| 134 | + | |
188 | 135 | | |
189 | 136 | | |
190 | 137 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | 165 | | |
170 | 166 | | |
171 | 167 | | |
0 commit comments