aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPittyolo <kovacspitti@gmail.com>2019-10-08 20:26:17 +0200
committerDrashna Jaelre <drashna@live.com>2019-10-08 11:26:17 -0700
commit89fe8d2d8727574f6d1fa8f56a0ab35aa4b0245c (patch)
treeea8bf73fc91df17bfe12d489f729bb828b70c9b8
parent9fe7b406cb43e334d588e69b14c3fa41ae4c4925 (diff)
downloadqmk_firmware-89fe8d2d8727574f6d1fa8f56a0ab35aa4b0245c.tar.gz
qmk_firmware-89fe8d2d8727574f6d1fa8f56a0ab35aa4b0245c.zip
[Keymap] Adding my keymaps for Preonic and XD75 (#6874)
* Added my keymaps * Update to readmes * Update keyboards/preonic/keymaps/pitty/config.h Thanks! Co-Authored-By: Drashna Jaelre <drashna@live.com> * Update keyboards/preonic/keymaps/pitty/config.h Thanks! Co-Authored-By: Drashna Jaelre <drashna@live.com> * Update keyboards/preonic/keymaps/pitty/config.h Thanks! Co-Authored-By: Drashna Jaelre <drashna@live.com> * Update config.h * Update keyboards/preonic/keymaps/pitty/keymap.c Thanks! Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Removed copyrighted material * Update keyboards/xd75/keymaps/pitty/keymap.c Thanks! Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update config.h * Update config.h * Update config.h * Update keymap.c * Update keymap.c * Update config.h * Update keymap.c * Update keyboards/preonic/keymaps/pitty/config.h Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/preonic/keymaps/pitty/config.h Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
-rw-r--r--keyboards/preonic/keymaps/pitty/config.h40
-rw-r--r--keyboards/preonic/keymaps/pitty/keymap.c203
-rw-r--r--keyboards/preonic/keymaps/pitty/readme.md5
-rw-r--r--keyboards/preonic/keymaps/pitty/rules.mk0
-rw-r--r--keyboards/xd75/keymaps/pitty/config.h19
-rw-r--r--keyboards/xd75/keymaps/pitty/keymap.c148
-rw-r--r--keyboards/xd75/keymaps/pitty/readme.md3
-rw-r--r--keyboards/xd75/keymaps/pitty/rules.mk15
8 files changed, 433 insertions, 0 deletions
diff --git a/keyboards/preonic/keymaps/pitty/config.h b/keyboards/preonic/keymaps/pitty/config.h
new file mode 100644
index 000000000..f87dd8f30
--- /dev/null
+++ b/keyboards/preonic/keymaps/pitty/config.h
@@ -0,0 +1,40 @@
1#pragma once
2
3#ifdef AUDIO_ENABLE
4
5
6# define STARTUP_SONG SONG(PREONIC_SOUND)
7# define GOODBYE_SONG SONG(STARTUP_SOUND)
8# define MUSIC_ON_SONG SONG(TERMINAL_SOUND)
9#endif
10
11#undef TEMPO_DEFAULT
12
13#define TEMPO_DEFAULT 200
14
15
16/*
17 * MIDI options
18 */
19
20/* Prevent use of disabled MIDI features in the keymap */
21//#define MIDI_ENABLE_STRICT 1
22
23/* enable basic MIDI features:
24 - MIDI notes can be sent when in Music mode is on
25*/
26
27#define MIDI_BASIC
28
29/* enable advanced MIDI features:
30 - MIDI notes can be added to the keymap
31 - Octave shift and transpose
32 - Virtual sustain, portamento, and modulation wheel
33 - etc.
34*/
35//#define MIDI_ADVANCED
36
37/* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
38//#define MIDI_TONE_KEYCODE_OCTAVES 2
39
40
diff --git a/keyboards/preonic/keymaps/pitty/keymap.c b/keyboards/preonic/keymaps/pitty/keymap.c
new file mode 100644
index 000000000..10957d8ac
--- /dev/null
+++ b/keyboards/preonic/keymaps/pitty/keymap.c
@@ -0,0 +1,203 @@
1/* Copyright 2015-2017 Jack Humbert
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
17#include QMK_KEYBOARD_H
18#include "keymap_hungarian.h"
19
20enum preonic_layers {
21 _QWERTY,
22 _GAME,
23 _LOWER,
24 _RAISE,
25 _ADJUST
26};
27
28enum preonic_keycodes {
29 QWERTY = SAFE_RANGE,
30 GAME,
31 LOWER,
32 RAISE,
33};
34
35
36
37const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
38
39/* Qwerty
40 * ,-----------------------------------------------------------------------------------.
41 * | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | Ö | Ü |
42 * |------+------+------+------+------+------+------+------+------+------+------+------|
43 * | TAB | Q | W | E | R | T | Z | U | I | O | P | Ő |
44 * |------+------+------+------+------+-------------+------+------+------+------+------|
45 * | Esc | A | S | D | F | G | H | J | K | L | É | Á |
46 * |------+------+------+------+------+------|------+------+------+------+------+------|
47 * | Shift| Y | X | C | V | B | N | M | , | . | - | Shift|
48 * |------+------+------+------+------+------+------+------+------+------+------+------|
49 * | Ctrl | GUI | ALt |Lower | Space | Bksp | Enter|Raise | Left | Down |Right |
50 * `-----------------------------------------------------------------------------------'
51 */
52[_QWERTY] = LAYOUT_preonic_grid( \
53 HU_0, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, HU_OE, HU_UE, \
54 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, HU_Z, KC_U, KC_I, KC_O, KC_P, HU_OEE, \
55 KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, HU_EE, HU_AA, \
56 MT(MOD_LSFT, KC_NUBS), HU_Y, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, HU_COMM, HU_DOT, HU_MINS, KC_RSFT, \
57 KC_LCTL, KC_LGUI, KC_LALT, LOWER, KC_SPC, KC_SPC, KC_ENT, KC_BSPC, KC_RALT, RAISE, KC_INS, KC_DEL \
58),
59
60
61/* Game
62 * ,-----------------------------------------------------------------------------------.
63 * | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | Ö | Ü |
64 * |------+------+------+------+------+------+------+------+------+------+------+------|
65 * | TAB | Q | W | E | R | T | Z | U | I | O | P | Ő |
66 * |------+------+------+------+------+-------------+------+------+------+------+------|
67 * | Esc | A | S | D | F | G | H | J | K | L | É | Á |
68 * |------+------+------+------+------+------|------+------+------+------+------+------|
69 * | Shift| Y | X | C | V | B | N | M | , | . | - | Shift|
70 * |------+------+------+------+------+------+------+------+------+------+------+------|
71 * | Ctrl | GUI | ALt |Raise | Space | Bksp | Enter|Lower | Left | Down |Right |
72 * `-----------------------------------------------------------------------------------'
73 */
74[_GAME] = LAYOUT_preonic_grid( \
75 HU_0, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, HU_OE, HU_UE, \
76 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, HU_Z, KC_U, KC_I, KC_O, KC_P, HU_OEE, \
77 KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, HU_EE, HU_AA, \
78 KC_LSFT, HU_Y, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, HU_COMM, HU_DOT, HU_MINS, KC_RSFT, \
79 KC_LCTL, KC_LGUI, KC_LALT, RAISE, KC_SPC, KC_SPC, KC_ENT, KC_BSPC, KC_RALT, LOWER, KC_INS, KC_DEL \
80),
81
82
83/* Lower
84 * ,-----------------------------------------------------------------------------------.
85 * | | | | | | | | 7 | 8 | 9 | + | |
86 * |------+------+------+------+------+------+------+------+------+------+------+------|
87 * | | | Up | | | | | 4 | 5 | 6 | - | |
88 * |------+------+------+------+------+-------------+------+------+------+------+------|
89 * | | Left | Down | Right| | | | 1 | 2 | 3 | * | |
90 * |------+------+------+------+------+------|------+------+------+------+------+------|
91 * | | | |Lnxcpy|Lnxpst| | | 0 | | | / | = |
92 * |------+------+------+------+------+------+------+------+------+------+------+------|
93 * | | | | | | | | Home |PageDn|PageUp| End |
94 * `-----------------------------------------------------------------------------------'
95 */
96[_LOWER] = LAYOUT_preonic_grid( \
97 _______, _______, _______, _______, _______, _______, _______, HU_7, HU_8, HU_9, HU_PLUS, _______, \
98 _______, _______, KC_UP, _______, _______, KC_HOME, KC_PGUP, HU_4, HU_5, HU_6, HU_MINS, _______, \
99 _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, KC_END, KC_PGDN, HU_1, HU_2, HU_3, HU_ASTR, _______, \
100 _______, _______, _______, _______, _______, _______, _______, HU_0, _______, _______, HU_SLSH, HU_EQL, \
101 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, TO(_GAME), TO(_QWERTY) \
102),
103
104/* Raise
105 * ,-----------------------------------------------------------------------------------.
106 * | F12 | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 |
107 * |------+------+------+------+------+------+------+------+------+------+------+------|
108 * | | | Up | | | | | | | | | |
109 * |------+------+------+------+------+-------------+------+------+------+------+------|
110 * | | Left | Down | Right| | | | | | | | |
111 * |------+------+------+------+------+------|------+------+------+------+------+------|
112 * | | | | | | | | | | | | |
113 * |------+------+------+------+------+------+------+------+------+------+------+------|
114 * | | | | | | | | Home |PageDn|PageUp| End |
115 * `-----------------------------------------------------------------------------------'
116 */
117[_RAISE] = LAYOUT_preonic_grid( \
118 KC_F12, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, \
119 _______, _______, KC_UP, _______, _______, KC_HOME, KC_PGUP, _______, _______, _______, _______, _______, \
120 _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, KC_END, KC_PGDN, _______, _______, _______, _______, _______, \
121 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
122 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, TO(_GAME), TO(_QWERTY) \
123),
124
125/* Adjust (Lower + Raise)
126 * ,-----------------------------------------------------------------------------------.
127 * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 |
128 * |------+------+------+------+------+------+------+------+------+------+------+------|
129 * | | Reset| | | | | | | | | | Del |
130 * |------+------+------+------+------+-------------+------+------+------+------+------|
131 * | | | |Aud on|AudOff|AGnorm|AGswap|Qwerty|Colemk|Dvorak| | |
132 * |------+------+------+------+------+------|------+------+------+------+------+------|
133 * | |Voice-|Voice+|Mus on|MusOff|MidiOn|MidOff| | | | | |
134 * |------+------+------+------+------+------+------+------+------+------+------+------|
135 * | | | | | | | | | | | |
136 * `-----------------------------------------------------------------------------------'
137 */
138[_ADJUST] = LAYOUT_preonic_grid( \
139 KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, \
140 _______, RESET, DEBUG, _______, _______, _______, _______, TERM_ON, TERM_OFF,_______, _______, KC_DEL, \
141 _______, _______, MU_MOD, AU_ON, AU_OFF, AG_NORM, AG_SWAP, _______, _______, _______, _______, _______, \
142 _______, MUV_DE, MUV_IN, MU_ON, MU_OFF, MI_ON, MI_OFF, _______, _______, _______, _______, _______, \
143 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, TO(_QWERTY) \
144)
145
146
147};
148
149bool process_record_user(uint16_t keycode, keyrecord_t *record) {
150 switch (keycode) {
151 case LOWER:
152 if (record->event.pressed) {
153 layer_on(_LOWER);
154 update_tri_layer(_LOWER, _RAISE, _ADJUST);
155 } else {
156 layer_off(_LOWER);
157 update_tri_layer(_LOWER, _RAISE, _ADJUST);
158 }
159 return false;
160 break;
161 case RAISE:
162 if (record->event.pressed) {
163 layer_on(_RAISE);
164 update_tri_layer(_LOWER, _RAISE, _ADJUST);
165 } else {
166 layer_off(_RAISE);
167 update_tri_layer(_LOWER, _RAISE, _ADJUST);
168 }
169 return false;
170 break;
171 }
172 return true;
173}
174
175#ifdef AUDIO_ENABLE
176
177float raise_low[][2] = SONG(TERMINAL_SOUND);
178float gaming[][2] = SONG(AG_SWAP_SOUND);
179float adjust[][2] = SONG(UNICODE_LINUX);
180float my_song[][2] = SONG(NO_SOUND);
181
182#endif
183
184layer_state_t layer_state_set_user(layer_state_t state) {
185 switch (get_highest_layer(state)) {
186 case _RAISE:
187 PLAY_SONG (raise_low);
188 break;
189 case _LOWER:
190 PLAY_SONG (raise_low);
191 break;
192 case _GAME:
193 PLAY_SONG (gaming);
194 break;
195 case _ADJUST:
196 PLAY_SONG (adjust);
197 break;
198 default: // for any other layers, or the default layer
199 PLAY_SONG (my_song);
200 break;
201 }
202 return state;
203}
diff --git a/keyboards/preonic/keymaps/pitty/readme.md b/keyboards/preonic/keymaps/pitty/readme.md
new file mode 100644
index 000000000..42b307608
--- /dev/null
+++ b/keyboards/preonic/keymaps/pitty/readme.md
@@ -0,0 +1,5 @@
1My Preonic keymap
2
3Including Hungarian characters and layer reactive sound feedback
4
5make preonic/rev3:pitty:dfu-util \ No newline at end of file
diff --git a/keyboards/preonic/keymaps/pitty/rules.mk b/keyboards/preonic/keymaps/pitty/rules.mk
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/keyboards/preonic/keymaps/pitty/rules.mk
diff --git a/keyboards/xd75/keymaps/pitty/config.h b/keyboards/xd75/keymaps/pitty/config.h
new file mode 100644
index 000000000..e6975da8a
--- /dev/null
+++ b/keyboards/xd75/keymaps/pitty/config.h
@@ -0,0 +1,19 @@
1/* Copyright 2017 Benjamin Kesselring
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
17#pragma once
18
19// place overrides here
diff --git a/keyboards/xd75/keymaps/pitty/keymap.c b/keyboards/xd75/keymaps/pitty/keymap.c
new file mode 100644
index 000000000..955ae59ed
--- /dev/null
+++ b/keyboards/xd75/keymaps/pitty/keymap.c
@@ -0,0 +1,148 @@
1/* Copyright 2017 Wunder
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#include "keymap_hungarian.h"
18
19enum XD75_layers {
20 _QWERTY,
21 _GAME,
22 _LOWER,
23 _RAISE
24};
25
26
27// Defines the keycodes used by our macros in process_record_user
28enum custom_keycodes {
29 QWERTY = SAFE_RANGE,
30 GAME,
31 LOWER,
32 RAISE,
33};
34
35const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
36
37
38/* Qwerty
39 * ,--------------------------------------------------------------------------------------------------------.
40 * | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | Ö | Ü | Ó | | |
41 * |------+------+------+------+------+------+------+------+------+------+------+------+------+------+------|
42 * | TAB | Q | W | E | R | T | Z | U | I | O | P | Ő | Ú | | |
43 * |------+------+------+------+------+-------------+------+------+------+------+------+------+------+------|
44 * | Esc | A | S | D | F | G | H | J | K | L | É | Á | Ű | | |
45 * |------+------+------+------+------+------|------+------+------+------+------+------+------+------+------|
46 * | Shift| Y | X | C | V | B | N | M | , | . | - | Shift| | | |
47 * |------+------+------+------+------+------+------+------+------+------+------+------+------+------+------|
48 * | Ctrl | GUI | ALt |Lower | Space | Enter| Bksp |AltGr | Raise| | | | | |
49 * `--------------------------------------------------------------------------------------------------------'
50 */
51[_QWERTY] = LAYOUT_ortho_5x15( \
52 HU_0, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, HU_OE, HU_UE, HU_OO, KC_INS, KC_PGUP, \
53 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, HU_Z, KC_U, KC_I, KC_O, KC_P, HU_OEE, HU_UU, KC_DEL, KC_PGDN, \
54 KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, HU_EE, HU_AA, HU_UEE, _______, KC_HOME, \
55 MT(MOD_LSFT, KC_NUBS), HU_Y, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, HU_COMM, HU_DOT, HU_MINS, KC_RSFT, HU_EQL, KC_UP, KC_END, \
56 KC_LCTL, KC_LGUI, KC_LALT, TT(_LOWER), KC_SPC, _______, KC_ENT, KC_BSPC, KC_RALT, TT(_RAISE), _______, _______, KC_LEFT, KC_DOWN, KC_RIGHT \
57),
58
59
60/* Game
61 * ,--------------------------------------------------------------------------------------------------------.
62 * | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | Ö | Ü | Ó | | |
63 * |------+------+------+------+------+------+------+------+------+------+------+------+------+------+------|
64 * | TAB | Q | W | E | R | T | Z | U | I | O | P | Ő | Ú | | |
65 * |------+------+------+------+------+-------------+------+------+------+------+------+------+------+------|
66 * | Esc | A | S | D | F | G | H | J | K | L | É | Á | Ű | | |
67 * |------+------+------+------+------+------|------+------+------+------+------+------+------+------+------|
68 * | Shift| Y | X | C | V | B | N | M | , | . | - | Shift| | | |
69 * |------+------+------+------+------+------+------+------+------+------+------+------+------+------+------|
70 * | Ctrl | GUI | ALt |Raise | Space | Enter| Bksp |AltGr | Lower| | | | | |
71 * `--------------------------------------------------------------------------------------------------------'
72 */
73[_GAME] = LAYOUT_ortho_5x15( \
74 HU_0, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, HU_OE, HU_UE, HU_OO, KC_INS, KC_PGUP, \
75 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, HU_Z, KC_U, KC_I, KC_O, KC_P, HU_OEE, HU_UU, KC_DEL, KC_PGDN, \
76 KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, HU_EE, HU_AA, HU_UEE, _______, KC_HOME, \
77 KC_LSFT, HU_Y, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, HU_COMM, HU_DOT, HU_MINS, KC_RSFT, HU_EQL, KC_UP, KC_END, \
78 KC_LCTL, KC_LGUI, KC_LALT, TT(_RAISE), KC_SPC, _______, KC_ENT, KC_BSPC, KC_RALT, TT(_LOWER), _______, _______, KC_LEFT, KC_DOWN, KC_RIGHT \
79),
80
81
82/* Lower
83 * ,--------------------------------------------------------------------------------------------------------.
84 * | | | | | | | | 7 | 8 | 9 | + | | | | |
85 * |------+------+------+------+------+------+------+------+------+------+------+------+------+------+------|
86 * | | | Up | | | | | 4 | 5 | 6 | - | | | | |
87 * |------+------+------+------+------+-------------+------+------+------+------+------+------+------+------|
88 * | | Left | Down | Right| | | | 1 | 2 | 3 | * | | | | |
89 * |------+------+------+------+------+------|------+------+------+------+------+------+------+------+------|
90 * | | | |Lnxcpy|Lnxpst| | | 0 | | | / | = | | | |
91 * |------+------+------+------+------+------+------+------+------+------+------+------+------+------+------|
92 * | | | | | | | | Home |PageDn|PageUp| End | | | |
93 * `--------------------------------------------------------------------------------------------------------'
94 */
95[_LOWER] = LAYOUT_ortho_5x15( \
96 _______, _______, _______, _______, _______, _______, _______, HU_7, HU_8, HU_9, HU_PLUS, _______, _______, _______, _______, \
97 _______, _______, KC_UP, _______, _______, _______, _______, HU_4, HU_5, HU_6, HU_MINS, _______, _______, _______, _______, \
98 _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, HU_1, HU_2, HU_3, HU_ASTR, _______, _______, _______, _______, \
99 _______, _______, _______, _______, _______, _______, _______, HU_0, _______, _______, HU_SLSH, HU_EQL, _______, _______, _______, \
100 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, TO(_GAME), TO(_QWERTY), _______, _______, _______ \
101),
102
103/* Raise
104 * ,--------------------------------------------------------------------------------------------------------.
105 * | F12 | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | | | |
106 * |------+------+------+------+------+------+------+------+------+------+------+------+------+------+------|
107 * | | | Up | | | | | | | | | | | | |
108 * |------+------+------+------+------+-------------+------+------+------+------+------+------+------+------|
109 * | | Left | Down | Right| | | | | | | | | | | |
110 * |------+------+------+------+------+------|------+------+------+------+------+------+------+------+------|
111 * | | | | | | | | | | | | | | | |
112 * |------+------+------+------+------+------+------+------+------+------+------+------+------+------+------|
113 * | | | | | | | | Home |PageDn|PageUp| End | | | |
114 * `--------------------------------------------------------------------------------------------------------'
115 */
116[_RAISE] = LAYOUT_ortho_5x15( \
117 _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, \
118 _______, _______, KC_UP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
119 _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
120 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
121 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, TO(_GAME), TO(_QWERTY), _______, _______, _______ \
122),
123
124
125
126};
127
128
129
130layer_state_t layer_state_set_user(layer_state_t state) {
131 switch (get_highest_layer(state)) {
132 case _RAISE:
133 rgblight_setrgb (0xC3, 0xFF, 0xFF);
134 rgblight_mode(5);
135 break;
136 case _LOWER:
137 rgblight_setrgb (0xFF, 0xFF, 0xFF);
138 rgblight_mode(5);
139 break;
140 case _GAME:
141 rgblight_mode(8);
142 break;
143 default: // for any other layers, or the default layer
144 rgblight_mode(14);
145 break;
146 }
147 return state;
148}
diff --git a/keyboards/xd75/keymaps/pitty/readme.md b/keyboards/xd75/keymaps/pitty/readme.md
new file mode 100644
index 000000000..b0cc42997
--- /dev/null
+++ b/keyboards/xd75/keymaps/pitty/readme.md
@@ -0,0 +1,3 @@
1My keymap for the XD75
2
3Including Hungarian characters and layer reactive underglow. \ No newline at end of file
diff --git a/keyboards/xd75/keymaps/pitty/rules.mk b/keyboards/xd75/keymaps/pitty/rules.mk
new file mode 100644
index 000000000..52a8f38d4
--- /dev/null
+++ b/keyboards/xd75/keymaps/pitty/rules.mk
@@ -0,0 +1,15 @@
1# Copyright 2013 Jun Wako <wakojun@gmail.com>
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