fix stupid error w/ mode switch
This commit is contained in:
@@ -10,15 +10,15 @@
|
||||
#ifdef USE_BABLPASTE
|
||||
//define BabblePaste maps
|
||||
// Windows.
|
||||
#define MS_MODE 0
|
||||
#define MAC_MODE 1
|
||||
#define MAC_MODE 0
|
||||
#define MS_MODE 1
|
||||
//aka gnome+KDE
|
||||
//#define LINUX_MODE 2
|
||||
//#define EMACS_MODE 3
|
||||
#define VI_MODE 4
|
||||
//#define WORDSTAR_MODE 5
|
||||
#define VI_MODE 3
|
||||
// Readline and tmux
|
||||
#define READMUX_MODE 6
|
||||
#define READMUX_MODE 2
|
||||
//#define WORDSTAR_MODE 5
|
||||
#endif
|
||||
|
||||
// Uncomment if you need more free flash space
|
||||
|
||||
@@ -104,7 +104,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
____, ____, ____, ____, ____, ____, ____, ____, ____, ____
|
||||
),
|
||||
/*
|
||||
* |ESC | Win| MAC|RdLn| VI | | | | | | | | | | | |
|
||||
* |ESC | MAC| Win|RdLn| VI | | | | | | | | | | | |
|
||||
* -------------------------------------------------------------------------------'
|
||||
* | | | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = |Bakspace| Del|
|
||||
* ---------------------------------------------------------------------------
|
||||
@@ -192,6 +192,7 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
|
||||
/* If this is in the range of BABL macros, call a separate function */
|
||||
/* Any clever remapping with modifiers should happen here e.g. shift bablkey does opposite*/
|
||||
#ifdef USE_BABLPASTE
|
||||
|
||||
if( id >= BABL_START_NUM && id < (BABL_START_NUM + BABL_NUM_MACROS ) ) {
|
||||
if (record->event.pressed) { // is there a case where this isn't desired?
|
||||
|
||||
@@ -201,6 +202,7 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
// MACRODOWN only works in this function
|
||||
switch(id) {
|
||||
case 0:
|
||||
|
||||
Reference in New Issue
Block a user