diff options
Diffstat (limited to 'keyboards')
| -rw-r--r-- | keyboards/clawsome/gamebuddy/config.h | 37 | ||||
| -rw-r--r-- | keyboards/clawsome/gamebuddy/gamebuddy.c | 16 | ||||
| -rw-r--r-- | keyboards/clawsome/gamebuddy/gamebuddy.h | 32 | ||||
| -rw-r--r-- | keyboards/clawsome/gamebuddy/info.json | 41 | ||||
| -rw-r--r-- | keyboards/clawsome/gamebuddy/keymaps/default/keymap.c | 41 | ||||
| -rw-r--r-- | keyboards/clawsome/gamebuddy/readme.md | 13 | ||||
| -rw-r--r-- | keyboards/clawsome/gamebuddy/rules.mk | 25 |
7 files changed, 205 insertions, 0 deletions
diff --git a/keyboards/clawsome/gamebuddy/config.h b/keyboards/clawsome/gamebuddy/config.h new file mode 100644 index 000000000..822cc23ab --- /dev/null +++ b/keyboards/clawsome/gamebuddy/config.h | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 AAClawson (AlisGraveNil) | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | #include "config_common.h" | ||
| 21 | |||
| 22 | /* USB Device descriptor parameter */ | ||
| 23 | #define VENDOR_ID 0xFEED | ||
| 24 | #define PRODUCT_ID 0x17B9 | ||
| 25 | #define DEVICE_VER 0x0001 | ||
| 26 | #define MANUFACTURER AlisGraveNil | ||
| 27 | #define PRODUCT GameBuddy | ||
| 28 | #define DESCRIPTION A 26-key QMK-powered macropad designed for gaming! | ||
| 29 | |||
| 30 | /* key matrix size */ | ||
| 31 | #define MATRIX_ROWS 5 | ||
| 32 | #define MATRIX_COLS 7 | ||
| 33 | |||
| 34 | #define MATRIX_ROW_PINS { D1, D0, E6, B3, B2 } | ||
| 35 | #define MATRIX_COL_PINS { F5, F6, F7, B1, C6, D7, B6 } | ||
| 36 | |||
| 37 | #define DIODE_DIRECTION COL2ROW | ||
diff --git a/keyboards/clawsome/gamebuddy/gamebuddy.c b/keyboards/clawsome/gamebuddy/gamebuddy.c new file mode 100644 index 000000000..464bdef89 --- /dev/null +++ b/keyboards/clawsome/gamebuddy/gamebuddy.c | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | /* Copyright 2020 AAClawson (AlisGraveNil) | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | #include "gamebuddy.h" \ No newline at end of file | ||
diff --git a/keyboards/clawsome/gamebuddy/gamebuddy.h b/keyboards/clawsome/gamebuddy/gamebuddy.h new file mode 100644 index 000000000..f1ee9ab35 --- /dev/null +++ b/keyboards/clawsome/gamebuddy/gamebuddy.h | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | /* Copyright 2020 AAClawson (AlisGraveNil) | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | #pragma once | ||
| 17 | |||
| 18 | #include "quantum.h" | ||
| 19 | |||
| 20 | #define LAYOUT( \ | ||
| 21 | K00, K01, K02, K03, K04, K05, \ | ||
| 22 | K10, K11, K12, K13, K14, K15, \ | ||
| 23 | K20, K22, K23, K24, K25, \ | ||
| 24 | K30, K31, K32, K33, K34, K35, K46, \ | ||
| 25 | K44, K45 \ | ||
| 26 | ) { \ | ||
| 27 | { K00, K01, K02, K03, K04, K05, KC_NO }, \ | ||
| 28 | { K10, K11, K12, K13, K14, K15, KC_NO }, \ | ||
| 29 | { K20, KC_NO, K22, K23, K24, K25, KC_NO }, \ | ||
| 30 | { K30, K31, K32, K33, K34, K35, KC_NO }, \ | ||
| 31 | { KC_NO, KC_NO, KC_NO, KC_NO, K44, K45, K46 }, \ | ||
| 32 | } | ||
diff --git a/keyboards/clawsome/gamebuddy/info.json b/keyboards/clawsome/gamebuddy/info.json new file mode 100644 index 000000000..5562f0615 --- /dev/null +++ b/keyboards/clawsome/gamebuddy/info.json | |||
| @@ -0,0 +1,41 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "GameBuddy", | ||
| 3 | "url": "", | ||
| 4 | "maintainer": "qmk", | ||
| 5 | "width": 7, | ||
| 6 | "height": 5, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT": { | ||
| 9 | "layout": [ | ||
| 10 | {"label":"K00 (D1,F5)", "x":0, "y":0}, | ||
| 11 | {"label":"K01 (D1,F6)", "x":1, "y":0}, | ||
| 12 | {"label":"K02 (D1,F7)", "x":2, "y":0}, | ||
| 13 | {"label":"K03 (D1,B1)", "x":3, "y":0}, | ||
| 14 | {"label":"K04 (D1,C6)", "x":4, "y":0}, | ||
| 15 | {"label":"K05 (D1,D7)", "x":5, "y":0}, | ||
| 16 | {"label":"K10 (D0,F5)", "x":0, "y":1}, | ||
| 17 | {"label":"K11 (D0,F6)", "x":1, "y":1}, | ||
| 18 | {"label":"K12 (D0,F7)", "x":2, "y":1}, | ||
| 19 | {"label":"K13 (D0,B1)", "x":3, "y":1}, | ||
| 20 | {"label":"K14 (D0,C6)", "x":4, "y":1}, | ||
| 21 | {"label":"K15 (D0,D7)", "x":5, "y":1}, | ||
| 22 | {"label":"K20 (E6,F5)", "x":0, "y":2, "w":2}, | ||
| 23 | {"label":"K22 (E6,F7)", "x":2, "y":2}, | ||
| 24 | {"label":"K23 (E6,B1)", "x":3, "y":2}, | ||
| 25 | {"label":"K24 (E6,C6)", "x":4, "y":2}, | ||
| 26 | {"label":"K25 (E6,D7)", "x":5, "y":2}, | ||
| 27 | {"label":"K30 (B3,F5)", "x":0, "y":3}, | ||
| 28 | {"label":"K31 (B3,F6)", "x":1, "y":3}, | ||
| 29 | {"label":"K32 (B3,F7)", "x":2, "y":3}, | ||
| 30 | {"label":"K33 (B3,B1)", "x":3, "y":3}, | ||
| 31 | {"label":"K34 (B3,C6)", "x":4, "y":3}, | ||
| 32 | {"label":"K35 (B3,D7)", "x":5, "y":3}, | ||
| 33 | {"label":"K46 (B2,B6)", "x":6, "y":3, "h":2}, | ||
| 34 | {"label":"K44 (B2,C6)", "x":4, "y":4}, | ||
| 35 | {"label":"K45 (B2,D7)", "x":5, "y":4} | ||
| 36 | ] | ||
| 37 | } | ||
| 38 | } | ||
| 39 | ,"meta": "https://noroadsleft.github.io/kbf_qmk_converter/" | ||
| 40 | } | ||
| 41 | |||
diff --git a/keyboards/clawsome/gamebuddy/keymaps/default/keymap.c b/keyboards/clawsome/gamebuddy/keymaps/default/keymap.c new file mode 100644 index 000000000..2a5794adf --- /dev/null +++ b/keyboards/clawsome/gamebuddy/keymaps/default/keymap.c | |||
| @@ -0,0 +1,41 @@ | |||
| 1 | /* Copyright 2020 AAClawson (AlisGraveNil) | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | #include QMK_KEYBOARD_H | ||
| 17 | |||
| 18 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 19 | /* | ||
| 20 | * ------------------------------- | ||
| 21 | * |ESC | 1 | 2 | 3 | 4 | 5 | | ||
| 22 | * ------------------------------- | ||
| 23 | * |TAB | V | Q | W | E | R | | ||
| 24 | * ------------------------------| | ||
| 25 | * |LSFT | A | S | D | G | | ||
| 26 | * ------------------------------------ | ||
| 27 | * |LCTL| N | X | F | C | M |SPC | | ||
| 28 | * ------------------------------| | | ||
| 29 | * |LALT|LGUI| | | ||
| 30 | * ---------------- | ||
| 31 | */ | ||
| 32 | [0] = LAYOUT( | ||
| 33 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, | ||
| 34 | KC_TAB, KC_V, KC_Q, KC_W, KC_E, KC_R, | ||
| 35 | KC_LSFT, KC_A, KC_S, KC_D, KC_G, | ||
| 36 | KC_LCTL, KC_N, KC_X, KC_F, KC_C, KC_M, KC_SPC, | ||
| 37 | KC_LALT, KC_LGUI | ||
| 38 | ), | ||
| 39 | |||
| 40 | }; | ||
| 41 | |||
diff --git a/keyboards/clawsome/gamebuddy/readme.md b/keyboards/clawsome/gamebuddy/readme.md new file mode 100644 index 000000000..62e28dcbc --- /dev/null +++ b/keyboards/clawsome/gamebuddy/readme.md | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | # GameBuddy | ||
| 2 | |||
| 3 | This is a 5x7 macropad designed for left-hand usage for videogames, with special focus on FPS layouts! | ||
| 4 | |||
| 5 | * Keyboard Maintainer: [AAClawson](https://github.com/AlisGraveNil) | ||
| 6 | * Hardware Supported: GameBuddy, Pro Micro, Elite-C | ||
| 7 | * Hardware Availability: www.clawboards.xyz | ||
| 8 | |||
| 9 | Make example for this keyboard (after setting up your build environment): | ||
| 10 | |||
| 11 | make clawsome/gamebuddy:default | ||
| 12 | |||
| 13 | 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). | ||
diff --git a/keyboards/clawsome/gamebuddy/rules.mk b/keyboards/clawsome/gamebuddy/rules.mk new file mode 100644 index 000000000..44d0c26b7 --- /dev/null +++ b/keyboards/clawsome/gamebuddy/rules.mk | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | BOOTLOADER = caterina | ||
| 6 | |||
| 7 | # Build Options | ||
| 8 | # change yes to no to disable | ||
| 9 | # | ||
| 10 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | ||
| 11 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
| 12 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 13 | CONSOLE_ENABLE = yes # Console for debug | ||
| 14 | COMMAND_ENABLE = yes # Commands for debug and configuration | ||
| 15 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 16 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 17 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 18 | NKRO_ENABLE = no # USB Nkey Rollover | ||
| 19 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 20 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
| 21 | MIDI_ENABLE = no # MIDI support | ||
| 22 | UNICODE_ENABLE = no # Unicode | ||
| 23 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 24 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 25 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | ||
