summaryrefslogtreecommitdiff
path: root/keyboards/splitty/keymaps
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/splitty/keymaps')
-rw-r--r--keyboards/splitty/keymaps/default/config.h31
-rw-r--r--keyboards/splitty/keymaps/default/keymap.c25
2 files changed, 56 insertions, 0 deletions
diff --git a/keyboards/splitty/keymaps/default/config.h b/keyboards/splitty/keymaps/default/config.h
new file mode 100644
index 000000000..f16666d05
--- /dev/null
+++ b/keyboards/splitty/keymaps/default/config.h
@@ -0,0 +1,31 @@
+/*
+This is the c configuration file for the keymap
+
+Copyright 2012 Jun Wako <wakojun@gmail.com>
+Copyright 2015 Jack Humbert
+
+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/>.
+*/
+
+#ifndef CONFIG_USER_H
+#define CONFIG_USER_H
+
+#include "../../config.h"
+
+/* Use I2C or Serial, not both */
+
+// #define USE_SERIAL
+#define USE_I2C
+
+#endif
diff --git a/keyboards/splitty/keymaps/default/keymap.c b/keyboards/splitty/keymaps/default/keymap.c
new file mode 100644
index 000000000..1eed81656
--- /dev/null
+++ b/keyboards/splitty/keymaps/default/keymap.c
@@ -0,0 +1,25 @@
+#include QMK_KEYBOARD_H
+
+extern keymap_config_t keymap_config;
+
+#define QWERTY 0
+
+#define KC_ KC_TRNS
+#define KC_SSPC ALGR_T(KC_SPC)
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [QWERTY] = LAYOUT_kc(
+ //,----+----+----+----+----+----+----. ,----+----+----+----+----+----+----.
+ ESC , 1 , 2 , 3 , 4 , 5 ,GRV , EQL , 6 , 7 , 8 , 9 , 0 ,MINS,
+ //|----+----+----+----+----+----+----| |----+----+----+----+----+----+----|
+ RBRC, Q , W , E , R , T ,ENT , ENT , Y , U , I , O , P ,LBRC,
+ //|----+----+----+----+----+----| | | |----+----+----+----+----+----|
+ TAB , A , S , D , F , G ,/*--| |---*/ H , J , K , L ,SCLN,QUOT,
+ //|----+----+----+----+----+----| | | |----+----+----+----+----+----|
+ LCTL, Z , X , C , V , B ,DEL , BSPC, N , M ,COMM,DOT ,SLSH,BSLS,
+ //`----+----+----+----+----+----+----| |----+----+----+----+----+----+----'
+ LGUI,APP ,LALT,SSPC,LSFT, RSFT,SSPC,RCTL,RALT,RGUI
+ // `----+----+----+----+----' `----+----+----+----+----'
+ ),
+
+};