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

added hackpad keyboard #20402

Merged
merged 10 commits into from
Jul 4, 2023
Prev Previous commit
Next Next commit
Apply most suggestions from code review
Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
  • Loading branch information
ThePurox and sigprof authored Apr 10, 2023
commit d08bff65e8cff5344c0cdabf0a9ad0beba39dab4
9 changes: 5 additions & 4 deletions keyboards/hackpad/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manufacturer": "Nico Stuhlmueller",
"keyboard_name": "hackpad",
"maintainer": "ThePurox",
"bootloader": "caterina",
"development_board": "promicro",
"diode_direction": "COL2ROW",
"features": {
"bootmagic": false,
ThePurox marked this conversation as resolved.
Show resolved Hide resolved
Expand All @@ -23,16 +23,17 @@
{"pin_a" : "F5", "pin_b" : "F4"}
]
},
"processor": "atmega32u4",
"url": "https://git.imaginaerraum.de/Purox/Hackpad",
"usb": {
"device_version": "1.0.0",
"pid": "0x0000",
"vid": "0xFEED"
},
"ws2812": {
"pin": "D4"
},
"rgblight" : {
"led_count" : 16,
"pin": "D4",
"hue_steps" : 20,
"brightness_steps" : 10,
"saturation_steps" : 20,
Expand All @@ -52,7 +53,7 @@
},
},
"layouts": {
"LAYOUT_numpad_4x4": {
"LAYOUT": {
"layout": [
{ "matrix": [0, 3], "x": 3, "y": 0 },
{ "matrix": [1, 0], "x": 0, "y": 1 },
Expand Down
4 changes: 2 additions & 2 deletions keyboards/hackpad/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* │ 0 │ . │Ent│ / │
* └───┴───┴───┴───┘
*/
[0] = LAYOUT_numpad_4x4( LT(1, KC_MUTE),
[0] = LAYOUT( LT(1, KC_MUTE),
KC_7, KC_8, KC_9, DE_PLUS,
KC_4, KC_5, KC_6, DE_MINS,
KC_1, KC_2, KC_3, DE_ASTR,
KC_0, KC_DOT, KC_ENT, DE_SLSH),

[1] = LAYOUT_numpad_4x4( XXXXXXX,
[1] = LAYOUT( XXXXXXX,
waffle87 marked this conversation as resolved.
Show resolved Hide resolved
RGB_M_P, RGB_M_B, RGB_M_R, RGB_HUI,
RGB_M_SW, RGB_M_SN, RGB_M_K, RGB_HUD,
RGB_M_X, RGB_M_G, RGB_M_TW, RGB_VAI,
Expand Down