summaryrefslogtreecommitdiff
path: root/keyboards/preonic/keymaps/jpe230/jpe230.h
diff options
context:
space:
mode:
authorjpe230 <pablin.123.ra@gmail.com>2022-07-02 07:40:24 -0500
committerGitHub <noreply@github.com>2022-07-02 22:40:24 +1000
commit07f6fba6ded1cf7a06df4aeef263fdcd9583ee59 (patch)
tree644ed96cad1f8c302caae1f83a699136d0e746de /keyboards/preonic/keymaps/jpe230/jpe230.h
parent4a3e0ef9abe98f09dfce0a6b9c16f55505ca5c3a (diff)
Add Jpe230 Preonic Keymap (#17331)
Diffstat (limited to 'keyboards/preonic/keymaps/jpe230/jpe230.h')
-rw-r--r--keyboards/preonic/keymaps/jpe230/jpe230.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/keyboards/preonic/keymaps/jpe230/jpe230.h b/keyboards/preonic/keymaps/jpe230/jpe230.h
new file mode 100644
index 0000000000..e6b4ed1401
--- /dev/null
+++ b/keyboards/preonic/keymaps/jpe230/jpe230.h
@@ -0,0 +1,35 @@
+/*
+Copyright 2022 Jose Pablo Ramirez <jp.ramangulo@gmail.com>
+
+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/>.
+*/
+
+#ifdef VIA_ENABLE
+ #define USER_START USER00
+#else
+ #define USER_START SAFE_RANGE
+#endif
+
+enum jpe230_keycodes {
+ KC_LSRS = USER_START,
+ KC_LERS,
+ KC_LSRE
+};
+
+#define LEFT_BAR 0, 9, 5
+#define RIGHT_BAR 0, 9, 1
+
+float song_lsrs[][2] = SONG(QWERTY_SOUND);
+float song_lers[][2] = SONG(COLEMAK_SOUND);
+float song_lsre[][2] = SONG(DVORAK_SOUND); \ No newline at end of file