mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-25 20:56:42 +00:00
CannonKeys Meetup Pad 2023 (#21806)
Co-authored-by: Ryan <fauxpark@gmail.com>
This commit is contained in:
parent
c2a81d8fd4
commit
adef366e0c
40
keyboards/cannonkeys/meetuppad2023/info.json
Normal file
40
keyboards/cannonkeys/meetuppad2023/info.json
Normal file
@ -0,0 +1,40 @@
|
||||
{
|
||||
"manufacturer": "CannonKeys",
|
||||
"keyboard_name": "Meetup Pad 2023",
|
||||
"maintainer": "awkannan",
|
||||
"bootloader": "stm32-dfu",
|
||||
"diode_direction": "COL2ROW",
|
||||
"features": {
|
||||
"bootmagic": true,
|
||||
"command": false,
|
||||
"console": false,
|
||||
"extrakey": true,
|
||||
"mousekey": true,
|
||||
"nkro": true
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["B11", "B10", "B2", "B0"],
|
||||
"rows": ["B1", "A7"]
|
||||
},
|
||||
"processor": "STM32F072",
|
||||
"url": "https://cannonkeys.com",
|
||||
"usb": {
|
||||
"device_version": "0.0.1",
|
||||
"pid": "0x2023",
|
||||
"vid": "0xCA04"
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"matrix": [1, 0], "x": 0, "y": 0},
|
||||
{"matrix": [0, 0], "x": 1, "y": 0},
|
||||
{"matrix": [1, 1], "x": 0, "y": 1},
|
||||
{"matrix": [0, 1], "x": 1, "y": 1},
|
||||
{"matrix": [1, 2], "x": 0, "y": 2},
|
||||
{"matrix": [0, 2], "x": 1, "y": 2},
|
||||
{"matrix": [1, 3], "x": 0, "y": 3},
|
||||
{"matrix": [0, 3], "x": 1, "y": 3}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
20
keyboards/cannonkeys/meetuppad2023/keymaps/default/keymap.c
Normal file
20
keyboards/cannonkeys/meetuppad2023/keymaps/default/keymap.c
Normal file
@ -0,0 +1,20 @@
|
||||
// Copyright 2023 Andrew Kannan
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = LAYOUT(
|
||||
KC_1, KC_2,
|
||||
KC_3, KC_4,
|
||||
KC_5, KC_6,
|
||||
KC_7, MO(1)
|
||||
),
|
||||
|
||||
[1] = LAYOUT(
|
||||
QK_BOOT, KC_8,
|
||||
KC_9, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS
|
||||
)
|
||||
};
|
35
keyboards/cannonkeys/meetuppad2023/keymaps/via/keymap.c
Normal file
35
keyboards/cannonkeys/meetuppad2023/keymaps/via/keymap.c
Normal file
@ -0,0 +1,35 @@
|
||||
// Copyright 2023 Andrew Kannan
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
enum custom_keycodes {
|
||||
MYMACRO = QK_KB_0,
|
||||
};
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = LAYOUT(
|
||||
MYMACRO, KC_1,
|
||||
KC_2, KC_3,
|
||||
KC_4, KC_5,
|
||||
KC_6, MO(1)
|
||||
),
|
||||
|
||||
[1] = LAYOUT(
|
||||
QK_BOOT, KC_7,
|
||||
KC_8, KC_9,
|
||||
KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS
|
||||
)
|
||||
};
|
||||
|
||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||
switch (keycode) {
|
||||
case MYMACRO:
|
||||
if (record->event.pressed) {
|
||||
SEND_STRING("I went to the CannonKeys 2023 meetup and all I got was this macropad");
|
||||
}
|
||||
break;
|
||||
}
|
||||
return true;
|
||||
};
|
1
keyboards/cannonkeys/meetuppad2023/keymaps/via/rules.mk
Normal file
1
keyboards/cannonkeys/meetuppad2023/keymaps/via/rules.mk
Normal file
@ -0,0 +1 @@
|
||||
VIA_ENABLE = yes
|
18
keyboards/cannonkeys/meetuppad2023/readme.md
Normal file
18
keyboards/cannonkeys/meetuppad2023/readme.md
Normal file
@ -0,0 +1,18 @@
|
||||
# CannonKeys Meetup Pad 2023
|
||||
|
||||
* Keyboard Maintainer: [Andrew Kannan](https://github.com/awkannan)
|
||||
* Hardware Supported: STM32F072CBT6
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make cannonkeys/meetuppad2023:default
|
||||
|
||||
See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
|
||||
|
||||
## Bootloader
|
||||
|
||||
Enter the bootloader in 3 ways:
|
||||
|
||||
* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (top right on this board) and plug in the keyboard
|
||||
* **Physical reset button**: Swap the boot switch on the back of the PCB to "1" and hit the reset button
|
||||
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available
|
2
keyboards/cannonkeys/meetuppad2023/rules.mk
Normal file
2
keyboards/cannonkeys/meetuppad2023/rules.mk
Normal file
@ -0,0 +1,2 @@
|
||||
# Wildcard to allow APM32 MCU
|
||||
DFU_SUFFIX_ARGS = -v FFFF -p FFFF
|
Loading…
Reference in New Issue
Block a user