summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Schodet2020-02-28 21:35:21 +0100
committerNicolas Schodet2020-02-28 21:36:30 +0100
commit5ad795d556419d26adc22b82dba033b1689ee5e0 (patch)
treeb23bcbf2ef43ba16072610d029326dc9faef8b4f
parent91ceb2195755c9502277bb215548275e8737f199 (diff)
splitty:ni: add the Saad keysplitty
-rw-r--r--keyboards/splitty/keymaps/ni/keymap.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/keyboards/splitty/keymaps/ni/keymap.c b/keyboards/splitty/keymaps/ni/keymap.c
index 427388f7c..241a6b78c 100644
--- a/keyboards/splitty/keymaps/ni/keymap.c
+++ b/keyboards/splitty/keymaps/ni/keymap.c
@@ -1,5 +1,6 @@
#include QMK_KEYBOARD_H
#include "keymap_bepo.h"
+#include "sendstring_bepo.h"
extern keymap_config_t keymap_config;
@@ -14,6 +15,7 @@ enum {
enum {
KC_GTAB = SAFE_RANGE,
+ KC_SAAD,
};
#define ___ KC_TRNS
@@ -29,8 +31,8 @@ enum {
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[BEPO] = LAYOUT(
//,-------+-------+-------+-------+-------+-------+-------. ,-------+-------+-------+-------+-------+-------+-------.
- //| ESC | " | « | » | ( | ) | $ | | % | @ | + | - | / | * | = |
- KC_ESC ,BP_DQOT,BP_LGIL,BP_RGIL,BP_LPRN,BP_RPRN,BP_DLR , BP_PERC, BP_AT ,BP_PLUS,BP_MINS,BP_SLSH,BP_ASTR,BP_EQL ,
+ //| ESC | " | « | » | ( | ) | $ | | :p | @ | + | - | / | * | = |
+ KC_ESC ,BP_DQOT,BP_LGIL,BP_RGIL,BP_LPRN,BP_RPRN,BP_DLR , KC_SAAD, BP_AT ,BP_PLUS,BP_MINS,BP_SLSH,BP_ASTR,BP_EQL ,
//|-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------|
//| w | b | é | p | o | è | | | | d^ | v | d | l | j | z |
BP_W , BP_B ,BP_ECUT, BP_P , BP_O ,BP_EGRV,KC_ENT , KC_BSPC,BP_DCRC, BP_V , BP_D , BP_L , BP_J , BP_Z ,
@@ -180,6 +182,11 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
unregister_code(KC_LGUI);
}
return false;
+ case KC_SAAD:
+ if (record->event.pressed) {
+ SEND_STRING(":p");
+ }
+ break;
default:
gtab_running = false;
}