summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzwnk <david@impstyle.com>2018-05-04 14:40:40 -0300
committerDrashna Jaelre <drashna@live.com>2018-05-04 10:40:40 -0700
commit72ea1fd972540a6c5013b9e23d37829105b44b33 (patch)
tree9da886b9b51162260ed5a4bd9e0c792b28786d51
parente6be4484e9afe190246d17dd2f2dc3d688ac709f (diff)
layer double tapping fixed (#2885)
* impstyle keymap added * impstyle keymap updated * mouse layer added to impstyle keymap * keymap updated * fixes * impsytle layout: mouse layer added * comments added * comments added * bugfix * typo fixed * double tap fixed * double tap fixed * still testing double tab * double tab mouse layer is working * README added * README updated
-rw-r--r--keyboards/iris/keymaps/impstyle/README.md12
-rw-r--r--keyboards/iris/keymaps/impstyle/config.h2
-rw-r--r--keyboards/iris/keymaps/impstyle/keymap.c16
3 files changed, 27 insertions, 3 deletions
diff --git a/keyboards/iris/keymaps/impstyle/README.md b/keyboards/iris/keymaps/impstyle/README.md
new file mode 100644
index 0000000000..b341f2d868
--- /dev/null
+++ b/keyboards/iris/keymaps/impstyle/README.md
@@ -0,0 +1,12 @@
+## impstyle keymap
+
+the keymap is based on lewisriddens keymap but i changed some stuff.
+
+i removed:
+>RGB backgoundlighting layer and functionallity
+
+i added:
+>mouse layer
+
+the qwerty, lower and raise layer are more or less the same. here and there some keys are different.
+take a look at the keymap.c \ No newline at end of file
diff --git a/keyboards/iris/keymaps/impstyle/config.h b/keyboards/iris/keymaps/impstyle/config.h
index 0e01f5d562..6fc14133f8 100644
--- a/keyboards/iris/keymaps/impstyle/config.h
+++ b/keyboards/iris/keymaps/impstyle/config.h
@@ -37,6 +37,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MOUSEKEY_WHEEL_MAX_SPEED 8
#define MOUSEKEY_WHEEL_TIME_TO_MAX 40
+#define TAPPING_TOGGLE 2 // double tab
+
#include "../../config.h"
#endif
diff --git a/keyboards/iris/keymaps/impstyle/keymap.c b/keyboards/iris/keymaps/impstyle/keymap.c
index be5ee8c758..d061a850a1 100644
--- a/keyboards/iris/keymaps/impstyle/keymap.c
+++ b/keyboards/iris/keymaps/impstyle/keymap.c
@@ -9,7 +9,6 @@ extern keymap_config_t keymap_config;
#define _LOWER 1
#define _RAISE 2
#define _MOUSE 3
-#define TAPPING_TOGGLE 2 // double tab
enum custom_keycodes {
QWERTY = SAFE_RANGE,
@@ -89,9 +88,20 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
_______,_______,_______,_______,_______,_______,_______, KC_PLUS,_______,_______,_______,_______,_______,KC_VOLD,
_______ ,_______,_______, KC_EQL,_______,_______
),
-
+ // MOUSE LAYER
+ //,----+----+----+----+----+----. ,----+----+----+----+----+----.
+ // , , , , , , , , , , , ,
+ //|----+----+----+----+----+----| |----+----+----+----+----+----|
+ // , ,MS_UP, , , , MS_WH_UP, , , , , ,
+ //|----+----+----+----+----+----| |----+----+----+----+----+----|
+ // ,MS_LEFT,MS_DOWN,MS_RGHT, ,, MS_WH_DN,MS_BT1,MS_BT2,MS_BT3, , ,
+ //|----+----+----+----+----+----+----. ,----|----+----+----+----+----+----|
+ // , , , , , , , , , , ,MS_ACC0,MS_ACC1MS_ACC2
+ //`----+----+----+--+-+----+----+----/ \----+----+----+----+----+----+----'
+ // , , , , ,
+ // `----+----+----' `----+----+----'
[_MOUSE] = LAYOUT(
- KC_F12 , KC_F1 , KC_F2 , KC_F3 , KC_F4 , KC_F5 , KC_F6 , KC_F7 , KC_F8 , KC_F9 ,KC_F10 ,KC_F11 ,
+ _______ , _______ , _______ , _______ , _______ , _______ , _______ , _______ , _______ , _______ ,_______ ,_______ ,
_______ ,_______, KC_MS_UP ,_______,_______,_______, KC_MS_WH_UP,_______,_______,_______ ,_______,_______,
_______ ,KC_MS_LEFT, KC_MS_DOWN, KC_MS_RIGHT,_______,_______, KC_MS_WH_DOWN,KC_MS_BTN1,KC_MS_BTN2,KC_MS_BTN3,_______,_______,
_______,_______,_______,_______,_______,_______,_______, _______,_______,_______,_______,KC_MS_ACCEL0,KC_MS_ACCEL1,KC_MS_ACCEL2,