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
master
zwnk 2018-05-04 14:40:40 -03:00 committed by Drashna Jaelre
parent e6be4484e9
commit 72ea1fd972
3 changed files with 27 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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,