summaryrefslogtreecommitdiff
path: root/keyboards/maple_computing/6ball/keymaps
diff options
context:
space:
mode:
authorpeepeetee <43021794+peepeetee@users.noreply.github.com>2022-01-31 03:28:04 +0800
committerGitHub <noreply@github.com>2022-01-30 11:28:04 -0800
commita1b39e6db231923935055846384eb2e78e538268 (patch)
treeeeaee7335efdff3d9ce960050882acf2cfe570a9 /keyboards/maple_computing/6ball/keymaps
parent07bb65384cf96be88feb2916604cb4a89cd0ad33 (diff)
[Keyboard] move That-Canadian 's boards into /maple_computing (#16050)
Diffstat (limited to 'keyboards/maple_computing/6ball/keymaps')
-rw-r--r--keyboards/maple_computing/6ball/keymaps/default/keymap.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/keyboards/maple_computing/6ball/keymaps/default/keymap.c b/keyboards/maple_computing/6ball/keymaps/default/keymap.c
new file mode 100644
index 0000000000..5081161e38
--- /dev/null
+++ b/keyboards/maple_computing/6ball/keymaps/default/keymap.c
@@ -0,0 +1,22 @@
+#include QMK_KEYBOARD_H
+
+#define _MAIN 0
+#define _FN 1
+
+#define KC_CAPW LGUI(LSFT(KC_3)) // Capture whole screen
+#define KC_CPYW LGUI(LSFT(LCTL(KC_3))) // Copy whole screen
+#define KC_CAPP LGUI(LSFT(KC_4)) // Capture portion of screen
+#define KC_CPYP LGUI(LSFT(LCTL(KC_4))) // Copy portion of screen
+#define KC_X0 LT(_FN, KC_ESC)
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [_MAIN] = LAYOUT(
+ KC_F, KC_X0, KC_LCTL,
+ KC_R, KC_D, KC_M
+ ),
+
+ [_FN] = LAYOUT(
+ KC_F, KC_TRNS, RGB_HUI,
+ RGB_TOG, RGB_MOD, RGB_HUD
+ )
+};