aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards
diff options
context:
space:
mode:
authorGravatar Jack Humbert <jack.humb@gmail.com>2016-07-07 13:57:39 -0400
committerGravatar GitHub <noreply@github.com>2016-07-07 13:57:39 -0400
commite8719e10c4395102f8e252c8377e2f19a18ee74d (patch)
treed802534a5cd71b046543fe8eaf31c94e5155b7b8 /keyboards
parentc1dfb636ef61159456bdb24f4fee3f27e5babbeb (diff)
parenta2eae81927ab0e817857d5b6ba2c7ce4a4b751b6 (diff)
downloadqmk_firmware-e8719e10c4395102f8e252c8377e2f19a18ee74d.tar.gz
Merge pull request #491 from fredizzimo/keycode_fixes
Some fixes for keycode processing
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/chibios_test/keymaps/default/keymap.c2
-rw-r--r--keyboards/infinity_ergodox/keymaps/default/keymap.c5
2 files changed, 5 insertions, 2 deletions
diff --git a/keyboards/chibios_test/keymaps/default/keymap.c b/keyboards/chibios_test/keymaps/default/keymap.c
index 239d70007..a362e2ccf 100644
--- a/keyboards/chibios_test/keymaps/default/keymap.c
+++ b/keyboards/chibios_test/keymaps/default/keymap.c
@@ -18,7 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "chibios_test.h"
const uint16_t keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- {{KC_CAPS}}, // test with KC_CAPS, KC_A, KC_BTLD
+ {{KC_CAPS}}, // test with KC_CAPS, KC_A, RESET
};
const uint16_t fn_actions[] = {
diff --git a/keyboards/infinity_ergodox/keymaps/default/keymap.c b/keyboards/infinity_ergodox/keymaps/default/keymap.c
index c33fb7b92..f1e6b1c8a 100644
--- a/keyboards/infinity_ergodox/keymaps/default/keymap.c
+++ b/keyboards/infinity_ergodox/keymaps/default/keymap.c
@@ -18,6 +18,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "infinity_ergodox.h"
+// Workaround for old keymap format
+#define KC_RESET RESET
+
const uint16_t keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KEYMAP( // layer 0 : default
// left hand
@@ -63,7 +66,7 @@ const uint16_t keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KEYMAP( // layer 2 : keyboard functions
// left hand
- BTLD,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,
+ RESET,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,
TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, FN3,
TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,
TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,