diff options
author | 2011-02-21 23:46:08 +0900 | |
---|---|---|
committer | 2011-02-22 03:09:21 +0900 | |
commit | 60052acc0fe3e6429f5c1d24073b1f6af019bd19 (patch) | |
tree | 555a2f1ed5e4ac1a654673d1fd1deafd86422e90 /macway/keymap.c | |
parent | c958b2d19b0ec0dbc02f87dc4c9ccee933a54be5 (diff) | |
download | qmk_firmware-60052acc0fe3e6429f5c1d24073b1f6af019bd19.tar.gz |
fixed macway to comply new API.
Diffstat (limited to 'macway/keymap.c')
-rw-r--r-- | macway/keymap.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/macway/keymap.c b/macway/keymap.c index f26267fd0..610d62cb8 100644 --- a/macway/keymap.c +++ b/macway/keymap.c @@ -4,12 +4,11 @@ #include <stdint.h> #include <stdbool.h> #include <avr/pgmspace.h> -#include "usb_keyboard.h" #include "usb_keycodes.h" #include "print.h" #include "debug.h" #include "util.h" -#include "keymap_skel.h" +#include "keymap.h" // Convert physical keyboard layout to matrix array. @@ -177,9 +176,3 @@ uint8_t keymap_fn_keycode(uint8_t fn_bits) { return pgm_read_byte(&fn_keycode[(biton(fn_bits))]); } - -// define a condition to enter special function mode -bool keymap_is_special_mode(uint8_t fn_bits) -{ - return usb_keyboard_mods == (BIT_LSHIFT | BIT_RSHIFT); -} |