summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/xeal60/keymaps/bbaserdem
diff options
context:
space:
mode:
authoralex-ong <the.onga@gmail.com>2018-08-12 17:23:58 +1000
committeralex-ong <the.onga@gmail.com>2018-08-12 17:23:58 +1000
commit2758158a4bb15b0f5ec30de92760133248afe1f8 (patch)
treeab6cbaa941139c8c397284465f15e5537d0ba533 /keyboards/handwired/xeal60/keymaps/bbaserdem
parent619b5d1e6d40c37eb77036158b8f2b99d673e2ba (diff)
Added xeal60 via clone of lets split
Diffstat (limited to 'keyboards/handwired/xeal60/keymaps/bbaserdem')
-rw-r--r--keyboards/handwired/xeal60/keymaps/bbaserdem/README.md27
-rw-r--r--keyboards/handwired/xeal60/keymaps/bbaserdem/config.h27
-rw-r--r--keyboards/handwired/xeal60/keymaps/bbaserdem/keymap.c36
-rw-r--r--keyboards/handwired/xeal60/keymaps/bbaserdem/rules.mk11
4 files changed, 101 insertions, 0 deletions
diff --git a/keyboards/handwired/xeal60/keymaps/bbaserdem/README.md b/keyboards/handwired/xeal60/keymaps/bbaserdem/README.md
new file mode 100644
index 0000000000..4b37d73555
--- /dev/null
+++ b/keyboards/handwired/xeal60/keymaps/bbaserdem/README.md
@@ -0,0 +1,27 @@
+# Lets Split Layout
+
+Check out [user readme](../../../../users/bbaserdem/README.md) for more info.
+
+# Usage
+
+**These commands depend on there being no other arduino connected!**
+Also udev rules can be set instead of using sudo.
+Please unplug all other usb devices.
+
+To make the hex files;
+```
+make lets_split/rev2:bbaserdem
+make lets_split/rev2:bbaserdem_right
+```
+
+For the left half, after plugging in and resetting; (from repo main directory)
+```
+sudo avrdude -p atmega32u4 -P "$(ls /dev/ttyACM*)" -c avr109 -D -U flash:w:.build/lets_split_rev2_bbaserdem.hex
+sudo avrdude -p atmega32u4 -P "$(ls /dev/ttyACM*)" -c avr109 -U eeprom:w:keyboards/lets_split/eeprom-lefthand.eep
+```
+
+For the right half;
+```
+sudo avrdude -p atmgea34u4 -P "$(ls /dev/ttyACM*)" -c avr109 -D -U flash:w:.build/lets_split_rev2_bbaserdem_right.hex
+sudo avrdude -p atmega32u4 -P "$(ls /dev/ttyACM*)" -c avr109 -U eeprom:w:keyboards/lets_split/eeprom-righhand.eep
+```
diff --git a/keyboards/handwired/xeal60/keymaps/bbaserdem/config.h b/keyboards/handwired/xeal60/keymaps/bbaserdem/config.h
new file mode 100644
index 0000000000..6a90e1c356
--- /dev/null
+++ b/keyboards/handwired/xeal60/keymaps/bbaserdem/config.h
@@ -0,0 +1,27 @@
+#ifndef CONFIG_KEYMAP_H
+#define CONFIG_KEYMAP_H
+
+#include "../../config.h"
+
+#define USE_SERIAL
+#define EE_HANDS
+
+// LED strip stuff
+#ifdef RGBLIGHT_ENABLE
+
+// Who thought it was a good idea to predefine these in the rev2/config.h ???
+#ifdef RGBLED_NUM
+#undef RGBLED_NUM
+#endif
+#define RGBLED_NUM 12
+
+#define RGBLIGHT_HUE_STEP 6
+#define RGBLIGHT_SAT_STEP 12
+#define RGBLIGHT_VAL_STEP 20
+#define RGBLIGHT_ANIMATIONS
+#define RGBLIGHT_EFFECT_SNAKE_LENGTH 6
+#define RGBLIGHT_EFFECT_CHRISTMAS_INTERVAL 2000
+#define RGBLIGHT_EFFECT_CHRISTMAS_STEP 1
+#endif
+
+#endif
diff --git a/keyboards/handwired/xeal60/keymaps/bbaserdem/keymap.c b/keyboards/handwired/xeal60/keymaps/bbaserdem/keymap.c
new file mode 100644
index 0000000000..623117530d
--- /dev/null
+++ b/keyboards/handwired/xeal60/keymaps/bbaserdem/keymap.c
@@ -0,0 +1,36 @@
+/*
+ * Let's Split - Dvorak turkish
+ * Keymap by @bbaserdem
+ * Dvorak layout with multiple features
+ * Most of the code is in the "user" directory.
+ * Check qmk_firmware/users/bbaserdem for the main part of the code
+ */
+#define KEYMAP(...) LAYOUT_ortho_4x12(__VA_ARGS__)
+
+#include "lets_split.h"
+#include "bbaserdem.h"
+
+
+void matrix_init_keymap (void) {
+}
+
+uint32_t layer_state_set_keymap(uint32_t state) {
+ return state;
+}
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ // Main Dvorak layer
+ [_DV] = LAYOUT_letssplit_wrapper(DVORAK),
+ // Turkish and special character overlay
+ [_AL] = LAYOUT_letssplit_wrapper(ALTCHAR),
+ // Gaming layer
+ [_GA] = LAYOUT_letssplit_wrapper(GAME),
+ // Numbers layer
+ [_NU] = LAYOUT_letssplit_wrapper(NUMBERS),
+ // Settings layer
+ [_SE] = LAYOUT_letssplit_wrapper(SETTINGS),
+ // Mouse emulation layer
+ [_MO] = LAYOUT_letssplit_wrapper(MOUSE),
+ // Music layer
+ [_MU] = LAYOUT_letssplit_wrapper(MUSIC),
+};
diff --git a/keyboards/handwired/xeal60/keymaps/bbaserdem/rules.mk b/keyboards/handwired/xeal60/keymaps/bbaserdem/rules.mk
new file mode 100644
index 0000000000..4159db3fee
--- /dev/null
+++ b/keyboards/handwired/xeal60/keymaps/bbaserdem/rules.mk
@@ -0,0 +1,11 @@
+# Build options
+
+BACKLIGHT_ENABLE = no # Switch LEDs
+MOUSEKEY_ENABLE = yes # Emulates mouse key using keypresses
+RGBLIGHT_ENABLE = yes # LED strips
+TAP_DANCE_ENABLE = no # Use multi-tap features
+AUDIO_ENABLE = no # Audio stuff
+
+ifndef QUANTUM_DIR
+ include ../../../../Makefile
+endif