Skip to content
This repository has been archived by the owner on Sep 12, 2019. It is now read-only.

Commit

Permalink
layer double tapping fixed (qmk#2885)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
zwnk authored and drashna committed May 4, 2018
1 parent e6be448 commit 72ea1fd
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 3 deletions.
12 changes: 12 additions & 0 deletions keyboards/iris/keymaps/impstyle/README.md
Original file line number Diff line number Diff line change
@@ -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
2 changes: 2 additions & 0 deletions keyboards/iris/keymaps/impstyle/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
16 changes: 13 additions & 3 deletions keyboards/iris/keymaps/impstyle/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 72ea1fd

Please sign in to comment.