Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for hardwareabstraction/handwire board #1474

Merged
merged 2 commits into from
Oct 10, 2022
Merged
Changes from all commits
Commits
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
36 changes: 36 additions & 0 deletions src/hardwareabstraction/handwire/handwire.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"name": "handwire",
"vendorId": "0xAF01",
"productId": "0x0001",

"lighting": "none",

"matrix": { "rows": 5, "cols": 14 },

"customKeycodes": [
{"name": "Haptic On", "title": "Solenoid Haptic Feedback On", "shortName": "HPT ON"},
{"name": "Haptic Off", "title": "Solenoid Haptic Feedback Off", "shortName": "HPT OFF"},
{"name": "Haptic Toggle", "title": "Toggles the Solenoid On / Off", "shortName": "HPT TOG"},
{"name": "Haptic Reset", "title": "Resets Haptic Settings", "shortName": "HPT RST"},
{"name": "Haptic Feedback", "title": "Toggle feedback on press, release, or both", "shortName": "HPT FBK"},
{"name": "Haptic Continuous", "title": "Continous Haptic Mode Toggle", "shortName": "HPT Cont"},
{"name": "Haptic Increase", "title": "Increases Solenoid Dwell Time", "shortName": "HPT +"},
{"name": "Haptic Decrease", "title": "Decreases Solenoid Dwell Time", "shortName": "HPT -"},

{"name": "Buzzer Toggle", "title": "Toggles Buzzer", "shortName": "BZTOG"},
{"name": "Buzzer Reset", "title": "Resets Buzzer", "shortName": "RSTBZ"},
{"name": "Buzzer Increase", "title": "Increases Buzzer Dwell Time", "shortName": "BUZZ+"},
{"name": "Buzzer Decrease", "title": "Decreases Buzzer Dwell Time", "shortName": "BUZZ-"}
],

"layouts": {
"keymap": [
[{"c":"#777777"},"0,0",{"c":"#cccccc"},"0,1","0,2","0,3","0,4","0,5","0,6","0,7","0,8","0,9","0,10","0,11","0,12",{"w":2},"0,13"],
[{"c":"#aaaaaa","w":1.5},"1,0",{"c":"#cccccc"},"1,1","1,2","1,3","1,4","1,5","1,6","1,7","1,8","1,9","1,10","1,11","1,12",{"w":1.5},"1,13"],
[{"c":"#aaaaaa","w":1.75},"2,0",{"c":"#cccccc"},"2,1","2,2","2,3","2,4","2,5","2,6","2,7","2,8","2,9","2,10","2,11",{"c":"#777777","w":2.25},"2,13"],
[{"c":"#aaaaaa","w":2.25},"3,0",{"c":"#cccccc"},"3,1","3,2","3,3","3,4","3,5","3,6","3,7","3,8","3,9",{"w":1.75},"3,10",{"c":"#777777"},"3,12",{"c":"#cccccc"},"3,13"],
[{"c":"#aaaaaa","w":1.25},"4,0",{"w":1.25},"4,1",{"w":1.25},"4,2",{"c":"#cccccc","w":6.25},"4,5",{"c":"#aaaaaa"},"4,8","4,9",{"c":"#777777"},"4,10","4,12","4,13"]

]
}
}