-
-
Notifications
You must be signed in to change notification settings - Fork 41.7k
GameBuddy v1.M #12637
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
Merged
Merged
GameBuddy v1.M #12637
Changes from 34 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
1903310
GameBuddy v1.M
AlisGraveNil cf677de
changed file name
AlisGraveNil 959e468
Update v1.M.c
AlisGraveNil 80c506b
Update config.h
AlisGraveNil 2eb0c1f
Rename gamebuddy_rev1M.h to v1.M.h
AlisGraveNil 5a7fa7c
Update info.json
AlisGraveNil 5f1e46e
Update v1.M.c
AlisGraveNil e3dc2fd
Rename gamebuddy.c to v1.0.c
AlisGraveNil 0c3d59d
Rename gamebuddy.h to v1.0.h
AlisGraveNil 204349d
Update v1.0.c
AlisGraveNil cc0e518
Update config.h
AlisGraveNil d1afbaf
31 may 1
AlisGraveNil b336546
31 may 2
AlisGraveNil 596b0b5
31 may 3
AlisGraveNil 6c0f0c1
31 may 4
AlisGraveNil 67faeab
Update keyboards/clawsome/gamebuddy/v1_0/v1_0.c
AlisGraveNil 4fe7b0f
Update keyboards/clawsome/gamebuddy/v1.M.c
AlisGraveNil 2c9b58a
Update keyboards/clawsome/gamebuddy/v1_M.M/v1_M.c
AlisGraveNil efe510b
Update config.h
AlisGraveNil f62eed0
Update config.h
AlisGraveNil 7bce2c7
Update info.json
AlisGraveNil a486789
1 june 1
AlisGraveNil eea4fbd
15 june 1
AlisGraveNil e70004d
15 june 2
AlisGraveNil d825e8b
Update config.h
AlisGraveNil 45ba854
15 june 3
AlisGraveNil ace58f5
15 june 4
AlisGraveNil bdb38bd
15 june 6
AlisGraveNil 9bd6f79
15 june 7
AlisGraveNil 8469741
1 july 1
AlisGraveNil 9bc1538
8 july 1
AlisGraveNil decd45f
8 july 2
AlisGraveNil b576218
8 july 4
AlisGraveNil 8cb7cc5
11 july 1
AlisGraveNil 63ef41c
Update keyboards/clawsome/gamebuddy/v1_M/readme.md
AlisGraveNil 87b892b
12 july 1
AlisGraveNil 16a1b9f
12 july 2
AlisGraveNil File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
keyboards/clawsome/gamebuddy/info.json → keyboards/clawsome/gamebuddy/v1_0/info.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
/* Copyright 2021 AAClawson (AlisGraveNil) | ||
* | ||
* 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 | ||
|
||
#include "config_common.h" | ||
|
||
/* USB Device descriptor parameter */ | ||
#define VENDOR_ID 0x7767 | ||
#define PRODUCT_ID 0x0000 | ||
#define DEVICE_VER 0x0001 | ||
#define MANUFACTURER AlisGraveNil | ||
#define PRODUCT GameBuddy1_M | ||
|
||
/* key matrix size */ | ||
#define MATRIX_ROWS 5 | ||
#define MATRIX_COLS 7 | ||
|
||
/* | ||
* Keyboard Matrix Assignments | ||
* | ||
* Change this to how you wired your keyboard | ||
* COLS: AVR pins used for columns, left to right | ||
* ROWS: AVR pins used for rows, top to bottom | ||
* DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
* | ||
*/ | ||
#define MATRIX_ROW_PINS { C6, D7, B5, B3, B2 } | ||
#define MATRIX_COL_PINS { B1, F7, F6, F5, E6, B4, B6 } | ||
|
||
#define DIODE_DIRECTION COL2ROW |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"keyboard_name": "GameBuddy1_M", | ||
"url": "www.clawboards.xyz", | ||
"maintainer": "AAClawson (AlisGraveNil)", | ||
"width": 7, | ||
"height": 5, | ||
"layouts": { | ||
"LAYOUT": { | ||
"layout": [ | ||
{"label":"K00 (C6,B1)", "x":0, "y":0}, | ||
{"label":"K01 (C6,F7)", "x":1, "y":0}, | ||
{"label":"K02 (C6,F6)", "x":2, "y":0}, | ||
{"label":"K03 (C6,F5)", "x":3, "y":0}, | ||
{"label":"K04 (C6,E6)", "x":4, "y":0}, | ||
{"label":"K05 (C6,B4)", "x":5, "y":0}, | ||
{"label":"K10 (D7,B1)", "x":0, "y":1}, | ||
{"label":"K11 (D7,F7)", "x":1, "y":1}, | ||
{"label":"K12 (D7,F6)", "x":2, "y":1}, | ||
{"label":"K13 (D7,F5)", "x":3, "y":1}, | ||
{"label":"K14 (D7,E6)", "x":4, "y":1}, | ||
{"label":"K15 (D7,B4)", "x":5, "y":1}, | ||
{"label":"K20 (B5,B1)", "x":0, "y":2}, | ||
{"label":"K21 (B5,F7)", "x":1, "y":2}, | ||
{"label":"K22 (B5,F6)", "x":2, "y":2}, | ||
{"label":"K23 (B5,F5)", "x":3, "y":2}, | ||
{"label":"K24 (B5,E6)", "x":4, "y":2}, | ||
{"label":"K25 (B5,B4)", "x":5, "y":2}, | ||
{"label":"K30 (B3,B1)", "x":0, "y":3}, | ||
{"label":"K31 (B3,F7)", "x":1, "y":3}, | ||
{"label":"K32 (B3,F6)", "x":2, "y":3}, | ||
{"label":"K33 (B3,F5)", "x":3, "y":3}, | ||
{"label":"K34 (B3,E6)", "x":4, "y":3}, | ||
{"label":"K35 (B3,B4)", "x":5, "y":3}, | ||
{"label":"K46 (B2,B6)", "x":6, "y":3, "h":2}, | ||
{"label":"K44 (B2,E6)", "x":4, "y":4}, | ||
{"label":"K45 (B2,B4)", "x":5, "y":4} | ||
] | ||
} | ||
} | ||
} | ||
|
29 changes: 29 additions & 0 deletions
29
keyboards/clawsome/gamebuddy/v1_M/keymaps/default/keymap.c
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* Copyright 2021 AAClawson (AlisGraveNil) | ||
* | ||
* 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 | ||
|
||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
[0] = LAYOUT( | ||
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, | ||
KC_TAB, KC_V, KC_Q, KC_W, KC_E, KC_R, | ||
KC_LSFT, KC_LSFT, KC_A, KC_S, KC_D, KC_G, | ||
KC_LCTL, KC_N, KC_X, KC_F, KC_C, KC_M, KC_SPC, | ||
KC_LALT, KC_LGUI | ||
), | ||
|
||
}; | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# GameBuddy | ||
|
||
This is a 5x7 macropad designed for left OR right hand usage in videogames, with special focus on FPS layouts! | ||
|
||
* Keyboard Maintainer: [AAClawson](https://github.com/AlisGraveNil) | ||
* Hardware Supported: GameBuddy, Pro Micro, Elite-C, nice!nano | ||
* Hardware Availability: www.clawboards.xyz | ||
|
||
Make example for this keyboard (after setting up your build environment): | ||
|
||
make clawsome/gamebuddy1_M:default | ||
AlisGraveNil marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
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). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# MCU name | ||
MCU = atmega32u4 | ||
|
||
# Bootloader selection | ||
BOOTLOADER = caterina | ||
|
||
# Build Options | ||
# change yes to no to disable | ||
# | ||
BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | ||
MOUSEKEY_ENABLE = yes # Mouse keys | ||
EXTRAKEY_ENABLE = yes # Audio control and System control | ||
CONSOLE_ENABLE = yes # Console for debug | ||
COMMAND_ENABLE = yes # Commands for debug and configuration | ||
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
NKRO_ENABLE = no # USB Nkey Rollover | ||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
BLUETOOTH_ENABLE = no # Enable Bluetooth | ||
AUDIO_ENABLE = no # Audio output |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* Copyright 2021 AAClawson (AlisGraveNil) | ||
* | ||
* 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 "v1_m.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* Copyright 2021 AAClawson (AlisGraveNil) | ||
* | ||
* 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 | ||
|
||
#include "quantum.h" | ||
|
||
#define LAYOUT( \ | ||
K00, K01, K02, K03, K04, K05, \ | ||
K10, K11, K12, K13, K14, K15, \ | ||
K20, K21, K22, K23, K24, K25, \ | ||
K30, K31, K32, K33, K34, K35, K46, \ | ||
K44, K45 \ | ||
) { \ | ||
{ K00, K01, K02, K03, K04, K05, KC_NO }, \ | ||
{ K10, K11, K12, K13, K14, K15, KC_NO }, \ | ||
{ K20, K21, K22, K23, K24, K25, KC_NO }, \ | ||
{ K30, K31, K32, K33, K34, K35, KC_NO }, \ | ||
{ KC_NO, KC_NO, KC_NO, KC_NO, K44, K45, K46 }, \ | ||
} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.