Skip to content

Commit

Permalink
[Keyboard] Add jels60v2 support (qmk#21337)
Browse files Browse the repository at this point in the history
Co-authored-by: Joel Challis <git@zvecr.com>
  • Loading branch information
2 people authored and autoferrit committed Dec 6, 2023
1 parent fc46d57 commit e119d59
Show file tree
Hide file tree
Showing 11 changed files with 138 additions and 74 deletions.
23 changes: 0 additions & 23 deletions keyboards/jels/jels60/config.h

This file was deleted.

9 changes: 0 additions & 9 deletions keyboards/jels/jels60/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,7 @@
"pid": "0x0060",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["E6", "C7", "B4", "D7", "D6", "D4", "D5", "D3", "F5", "F6", "F7", "C6", "B6", "B5"],
"rows": ["B3", "D2", "F0", "F4", "F1"]
},
"diode_direction": "COL2ROW",
"indicators": {
"caps_lock": "B7"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
"LAYOUT_all": {
"layout": [
Expand Down
30 changes: 15 additions & 15 deletions keyboards/jels/jels60/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
/* Copyright 2022 Joah Nelson (Jels)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/* Copyright 2022 Joah Nelson (Jels)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#include QMK_KEYBOARD_H

Expand Down
30 changes: 15 additions & 15 deletions keyboards/jels/jels60/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
/* Copyright 2022 Joah Nelson (Jels)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/* Copyright 2022 Joah Nelson (Jels)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#include QMK_KEYBOARD_H

Expand Down
12 changes: 0 additions & 12 deletions keyboards/jels/jels60/rules.mk

This file was deleted.

23 changes: 23 additions & 0 deletions keyboards/jels/jels60/v1/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/* Copyright 2022 Joah Nelson (Jels)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE

19 changes: 19 additions & 0 deletions keyboards/jels/jels60/v1/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"matrix_pins": {
"cols": ["E6", "C7", "B4", "D7", "D6", "D4", "D5", "D3", "F5", "F6", "F7", "C6", "B6", "B5"],
"rows": ["B3", "D2", "F0", "F4", "F1"]
},
"indicators": {
"caps_lock": "B7"
},
"features": {
"bootmagic": true,
"mousekey": true,
"extrakey": true,
"console": false,
"command": false,
"nkro": false
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu"
}
1 change: 1 addition & 0 deletions keyboards/jels/jels60/v1/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# left blank intentionally
25 changes: 25 additions & 0 deletions keyboards/jels/jels60/v2/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/* Copyright 2022 Joah Nelson (Jels)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

#define WS2812_PIO_USE_PIO1
#define RGBLIGHT_DEFAULT_VAL 0

/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
39 changes: 39 additions & 0 deletions keyboards/jels/jels60/v2/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"bootloader": "rp2040",
"processor": "RP2040",
"features": {
"bootmagic": true,
"mousekey": true,
"extrakey": true,
"console": false,
"command": false,
"nkro": false
},
"matrix_pins": {
"cols": ["GP24", "GP25", "GP23", "GP21", "GP22", "GP2", "GP1", "GP0", "GP6", "GP18", "GP19", "GP20", "GP9", "GP8"],
"rows": ["GP26", "GP27", "GP3", "GP4", "GP5"]
},
"ws2812": {
"pin": "GP29",
"driver": "vendor"
},
"rgblight": {
"led_count": 22,
"sleep": true,
"animations": {
"alternating": true,
"breathing": true,
"christmas": true,
"knight": true,
"rainbow_mood": true,
"rainbow_swirl": true,
"rgb_test": true,
"snake": true,
"static_gradient": true,
"twinkle": true
}
},
"indicators": {
"caps_lock": "GP28"
}
}
1 change: 1 addition & 0 deletions keyboards/jels/jels60/v2/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# left blank intentionally

0 comments on commit e119d59

Please sign in to comment.