diff options
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | common/keymap.c | 18 | ||||
| -rw-r--r-- | converter/m0110_usb/Makefile.lufa | 91 | ||||
| -rw-r--r-- | converter/m0110_usb/README.md | 7 | ||||
| -rw-r--r-- | converter/m0110_usb/config.h | 1 | ||||
| -rw-r--r-- | converter/m0110_usb/keymap.c | 9 | ||||
| -rw-r--r-- | converter/pc98_usb/keymap.c | 2 | ||||
| -rw-r--r-- | keyboard/IIgs/Makefile (renamed from keyboard/IIgs_Standard/Makefile) | 0 | ||||
| -rw-r--r-- | keyboard/IIgs/README (renamed from keyboard/IIgs_Standard/README) | 0 | ||||
| -rw-r--r-- | keyboard/IIgs/config.h (renamed from keyboard/IIgs_Standard/config.h) | 0 | ||||
| -rw-r--r-- | keyboard/IIgs/doc/PIN_BYPASS.jpg (renamed from keyboard/IIgs_Standard/doc/PIN_BYPASS.jpg) | bin | 329437 -> 329437 bytes | |||
| -rw-r--r-- | keyboard/IIgs/doc/Teensy++_Mod.jpg (renamed from keyboard/IIgs_Standard/doc/Teensy++_Mod.jpg) | bin | 74137 -> 74137 bytes | |||
| -rwxr-xr-x | keyboard/IIgs/hid_listen.mac (renamed from keyboard/IIgs_Standard/hid_listen.mac) | bin | 13524 -> 13524 bytes | |||
| -rw-r--r-- | keyboard/IIgs/keymap.c (renamed from keyboard/IIgs_Standard/keymap.c) | 0 | ||||
| -rw-r--r-- | keyboard/IIgs/led.c (renamed from keyboard/IIgs_Standard/led.c) | 0 | ||||
| -rw-r--r-- | keyboard/IIgs/matrix.c (renamed from keyboard/IIgs_Standard/matrix.c) | 0 | ||||
| -rw-r--r-- | keyboard/hhkb/keymap.c | 6 | ||||
| -rw-r--r-- | protocol/vusb/vusb.c | 4 |
18 files changed, 117 insertions, 23 deletions
| @@ -39,7 +39,7 @@ You can find some keyboard specific projects under `converter` and `keyboard` di | |||
| 39 | * [hhkb](keyboard/hhkb/) - [Happy Hacking Keyboard professional][GH_hhkb] | 39 | * [hhkb](keyboard/hhkb/) - [Happy Hacking Keyboard professional][GH_hhkb] |
| 40 | * [macway](keyboard/macway/) - [Compact keyboard mod][GH_macway] | 40 | * [macway](keyboard/macway/) - [Compact keyboard mod][GH_macway] |
| 41 | * [hbkb](keyboard/hbkb/) - [Happy Buckling sprint keyboard(IBM Model M mod)][GH_hbkb] | 41 | * [hbkb](keyboard/hbkb/) - [Happy Buckling sprint keyboard(IBM Model M mod)][GH_hbkb] |
| 42 | * [IIgs_Standard](keyboard/IIgs_Standard/) - Apple [IIGS] keyboard mod(by JeffreySung) | 42 | * [IIgs_Standard](keyboard/IIgs/) - Apple [IIGS] keyboard mod(by JeffreySung) |
| 43 | * [hid_liber](keyboard/hid_liber/) - [HID liberation controller][HID_liber](by alaricljs) | 43 | * [hid_liber](keyboard/hid_liber/) - [HID liberation controller][HID_liber](by alaricljs) |
| 44 | * [phantom](keyboard/phantom/) - [Phantom keyboard][PHANTOM] (by Tranquilite) | 44 | * [phantom](keyboard/phantom/) - [Phantom keyboard][PHANTOM] (by Tranquilite) |
| 45 | * [gh60](keyboard/gh60/) - [GH60 keyboard][GH60] | 45 | * [gh60](keyboard/gh60/) - [GH60 keyboard][GH60] |
diff --git a/common/keymap.c b/common/keymap.c index f72be5779..aa8d944a7 100644 --- a/common/keymap.c +++ b/common/keymap.c | |||
| @@ -38,12 +38,6 @@ action_t action_for_key(uint8_t layer, key_t key) | |||
| 38 | return keycode_to_action(keycode); | 38 | return keycode_to_action(keycode); |
| 39 | } | 39 | } |
| 40 | } | 40 | } |
| 41 | |||
| 42 | __attribute__ ((weak)) | ||
| 43 | const prog_macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) { return MACRO_NONE; } | ||
| 44 | |||
| 45 | __attribute__ ((weak)) | ||
| 46 | void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) {} | ||
| 47 | #else | 41 | #else |
| 48 | /* | 42 | /* |
| 49 | * legacy keymap support | 43 | * legacy keymap support |
| @@ -71,13 +65,17 @@ action_t action_for_key(uint8_t layer, key_t key) | |||
| 71 | return keycode_to_action(keycode); | 65 | return keycode_to_action(keycode); |
| 72 | } | 66 | } |
| 73 | } | 67 | } |
| 74 | /* not used for legacy keymap */ | ||
| 75 | void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 76 | { | ||
| 77 | } | ||
| 78 | #endif | 68 | #endif |
| 79 | 69 | ||
| 80 | 70 | ||
| 71 | __attribute__ ((weak)) | ||
| 72 | const prog_macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) { return MACRO_NONE; } | ||
| 73 | |||
| 74 | __attribute__ ((weak)) | ||
| 75 | void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) {} | ||
| 76 | |||
| 77 | |||
| 78 | |||
| 81 | 79 | ||
| 82 | /* translates keycode to action */ | 80 | /* translates keycode to action */ |
| 83 | static action_t keycode_to_action(uint8_t keycode) | 81 | static action_t keycode_to_action(uint8_t keycode) |
diff --git a/converter/m0110_usb/Makefile.lufa b/converter/m0110_usb/Makefile.lufa new file mode 100644 index 000000000..028bdf933 --- /dev/null +++ b/converter/m0110_usb/Makefile.lufa | |||
| @@ -0,0 +1,91 @@ | |||
| 1 | # Target file name (without extension). | ||
| 2 | TARGET = m0110_lufa | ||
| 3 | |||
| 4 | # Directory common source filess exist | ||
| 5 | TOP_DIR = ../.. | ||
| 6 | |||
| 7 | # Directory keyboard dependent files exist | ||
| 8 | TARGET_DIR = . | ||
| 9 | |||
| 10 | # keyboard dependent files | ||
| 11 | SRC = keymap.c \ | ||
| 12 | matrix.c \ | ||
| 13 | led.c \ | ||
| 14 | m0110.c | ||
| 15 | |||
| 16 | CONFIG_H = config.h | ||
| 17 | |||
| 18 | |||
| 19 | # MCU name, you MUST set this to match the board you are using | ||
| 20 | # type "make clean" after changing this, so all files will be rebuilt | ||
| 21 | #MCU = at90usb162 # Teensy 1.0 | ||
| 22 | MCU = atmega32u4 # Teensy 2.0 | ||
| 23 | #MCU = at90usb646 # Teensy++ 1.0 | ||
| 24 | #MCU = at90usb1286 # Teensy++ 2.0 | ||
| 25 | |||
| 26 | |||
| 27 | # Processor frequency. | ||
| 28 | # Normally the first thing your program should do is set the clock prescaler, | ||
| 29 | # so your program will run at the correct speed. You should also set this | ||
| 30 | # variable to same clock speed. The _delay_ms() macro uses this, and many | ||
| 31 | # examples use this variable to calculate timings. Do not add a "UL" here. | ||
| 32 | F_CPU = 16000000 | ||
| 33 | |||
| 34 | |||
| 35 | # | ||
| 36 | # LUFA specific | ||
| 37 | # | ||
| 38 | # Target architecture (see library "Board Types" documentation). | ||
| 39 | ARCH = AVR8 | ||
| 40 | |||
| 41 | # Input clock frequency. | ||
| 42 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 43 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 44 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 45 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 46 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 47 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 48 | # source code. | ||
| 49 | # | ||
| 50 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 51 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 52 | F_USB = $(F_CPU) | ||
| 53 | |||
| 54 | # Interrupt driven control endpoint task | ||
| 55 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 56 | |||
| 57 | |||
| 58 | # Build Options | ||
| 59 | # *Comment out* to disable the options. | ||
| 60 | # | ||
| 61 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
| 62 | #PS2_MOUSE_ENABLE = yes # PS/2 mouse(TrackPoint) support | ||
| 63 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 64 | CONSOLE_ENABLE = yes # Console for debug | ||
| 65 | #NKRO_ENABLE = yes # USB Nkey Rollover | ||
| 66 | |||
| 67 | |||
| 68 | # Boot Section Size in bytes | ||
| 69 | # Teensy halfKay 512 | ||
| 70 | # Atmel DFU loader 4096 | ||
| 71 | # LUFA bootloader 4096 | ||
| 72 | OPT_DEFS += -DBOOT_SIZE=4096 | ||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | #---------------- Programming Options -------------------------- | ||
| 77 | PROGRAM_CMD = teensy_loader_cli -mmcu=$(MCU) -w -v $(TARGET).hex | ||
| 78 | |||
| 79 | |||
| 80 | # Search Path | ||
| 81 | VPATH += $(TARGET_DIR) | ||
| 82 | VPATH += $(TOP_DIR) | ||
| 83 | |||
| 84 | |||
| 85 | include $(TOP_DIR)/protocol/lufa.mk | ||
| 86 | include $(TOP_DIR)/protocol.mk | ||
| 87 | include $(TOP_DIR)/common.mk | ||
| 88 | include $(TOP_DIR)/rules.mk | ||
| 89 | |||
| 90 | hasu: EXTRAFLAGS += -DHASU | ||
| 91 | hasu: all | ||
diff --git a/converter/m0110_usb/README.md b/converter/m0110_usb/README.md index 206f43425..80503e875 100644 --- a/converter/m0110_usb/README.md +++ b/converter/m0110_usb/README.md | |||
| @@ -53,7 +53,8 @@ You can edit *Makefile* and *config.h* to change compile options and pin configu | |||
| 53 | 53 | ||
| 54 | $ git clone git://github.com/tmk/tmk_keyboard.git (or download source) | 54 | $ git clone git://github.com/tmk/tmk_keyboard.git (or download source) |
| 55 | $ cd m0110_usb | 55 | $ cd m0110_usb |
| 56 | $ make | 56 | $ make -f Makefile.lufa clean |
| 57 | $ make -f Makefile.lufa | ||
| 57 | 58 | ||
| 58 | and program your Teensy with [PJRC Teensy loader](http://www.pjrc.com/teensy/loader.html). | 59 | and program your Teensy with [PJRC Teensy loader](http://www.pjrc.com/teensy/loader.html). |
| 59 | 60 | ||
| @@ -74,7 +75,7 @@ You can change keymaps by editing *keymap.c*. | |||
| 74 | |---------------------------------------------------------| |---------------| | 75 | |---------------------------------------------------------| |---------------| |
| 75 | |Shift | Z| X| C| V| B| N| M| ,| ,| /|Shift | | 1| 2| 3| | | 76 | |Shift | Z| X| C| V| B| N| M| ,| ,| /|Shift | | 1| 2| 3| | |
| 76 | `---------------------------------------------------------' |-----------|Ent| | 77 | `---------------------------------------------------------' |-----------|Ent| |
| 77 | |Alt|Gui | Space |Ctl |Alt| | 0| .| | | 78 | |Ctl|Alt | Space |Gui |Ctl| | 0| .| | |
| 78 | `-----------------------------------------------' `---------------' | 79 | `-----------------------------------------------' `---------------' |
| 79 | #### *HHKB/WASD Layer(WASD/IJKL)* | 80 | #### *HHKB/WASD Layer(WASD/IJKL)* |
| 80 | ,---------------------------------------------------------. ,---------------. | 81 | ,---------------------------------------------------------. ,---------------. |
| @@ -86,7 +87,7 @@ You can change keymaps by editing *keymap.c*. | |||
| 86 | |---------------------------------------------------------| |---------------| | 87 | |---------------------------------------------------------| |---------------| |
| 87 | |Shift |End| |PgD| | | |PgD| |End| |Shift | | 1| 2| 3| | | 88 | |Shift |End| |PgD| | | |PgD| |End| |Shift | | 1| 2| 3| | |
| 88 | `---------------------------------------------------------' |-----------|Ent| | 89 | `---------------------------------------------------------' |-----------|Ent| |
| 89 | |Alt|Gui | Space |Ctl |Alt| | 0| .| | | 90 | |Ctl|Alt | Space |Gui |Ctl| | 0| .| | |
| 90 | `-----------------------------------------------' `---------------' | 91 | `-----------------------------------------------' `---------------' |
| 91 | 92 | ||
| 92 | ### M0110A | 93 | ### M0110A |
diff --git a/converter/m0110_usb/config.h b/converter/m0110_usb/config.h index be00259e6..d43f28383 100644 --- a/converter/m0110_usb/config.h +++ b/converter/m0110_usb/config.h | |||
| @@ -24,6 +24,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 24 | 24 | ||
| 25 | #define VENDOR_ID 0xFEED | 25 | #define VENDOR_ID 0xFEED |
| 26 | #define PRODUCT_ID 0x0110 | 26 | #define PRODUCT_ID 0x0110 |
| 27 | #define DEVICE_VER 0x0100 | ||
| 27 | #define MANUFACTURER t.m.k. | 28 | #define MANUFACTURER t.m.k. |
| 28 | #define PRODUCT M0110 keyboard converter | 29 | #define PRODUCT M0110 keyboard converter |
| 29 | #define DESCRIPTION convert M0110 keyboard to USB | 30 | #define DESCRIPTION convert M0110 keyboard to USB |
diff --git a/converter/m0110_usb/keymap.c b/converter/m0110_usb/keymap.c index 191bf3a15..7a3bc3585 100644 --- a/converter/m0110_usb/keymap.c +++ b/converter/m0110_usb/keymap.c | |||
| @@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 19 | #include <stdint.h> | 19 | #include <stdint.h> |
| 20 | #include <stdbool.h> | 20 | #include <stdbool.h> |
| 21 | #include <avr/pgmspace.h> | 21 | #include <avr/pgmspace.h> |
| 22 | #include "usb_keyboard.h" | ||
| 23 | #include "keycode.h" | 22 | #include "keycode.h" |
| 24 | #include "print.h" | 23 | #include "print.h" |
| 25 | #include "debug.h" | 24 | #include "debug.h" |
| @@ -148,7 +147,7 @@ static const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 148 | * |---------------------------------------------------------| |---------------| | 147 | * |---------------------------------------------------------| |---------------| |
| 149 | * |Shift | Z| X| C| V| B| N| M| ,| ,| /|Shft|Up | | 1| 2| 3| | | 148 | * |Shift | Z| X| C| V| B| N| M| ,| ,| /|Shft|Up | | 1| 2| 3| | |
| 150 | * |---------------------------------------------------------| |-----------|Ent| | 149 | * |---------------------------------------------------------| |-----------|Ent| |
| 151 | * |Alt |Gui | Space |Ctl| \|Lft|Rgt|Dn | | 0| .| | | 150 | * |Ctl |Alt | Space |Gui| \|Lft|Rgt|Dn | | 0| .| | |
| 152 | * `---------------------------------------------------------' `---------------' | 151 | * `---------------------------------------------------------' `---------------' |
| 153 | */ | 152 | */ |
| 154 | KEYMAP( | 153 | KEYMAP( |
| @@ -156,7 +155,7 @@ static const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 156 | TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC,RBRC, P7, P8, P9, PMNS, | 155 | TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC,RBRC, P7, P8, P9, PMNS, |
| 157 | FN0, A, S, D, F, G, H, J, K, L, SCLN,QUOT, ENT, P4, P5, P6, PPLS, | 156 | FN0, A, S, D, F, G, H, J, K, L, SCLN,QUOT, ENT, P4, P5, P6, PPLS, |
| 158 | LSFT,Z, X, C, V, B, N, M, COMM,DOT, SLSH, UP, P1, P2, P3, PENT, | 157 | LSFT,Z, X, C, V, B, N, M, COMM,DOT, SLSH, UP, P1, P2, P3, PENT, |
| 159 | LALT,LGUI, SPC, LCTL,BSLS,LEFT,RGHT,DOWN, P0, PDOT | 158 | LCTL,LALT, SPC, LGUI,BSLS,LEFT,RGHT,DOWN, P0, PDOT |
| 160 | ), | 159 | ), |
| 161 | /* Cursor Layer(WASD, IJKL) | 160 | /* Cursor Layer(WASD, IJKL) |
| 162 | * ,---------------------------------------------------------. ,---------------. | 161 | * ,---------------------------------------------------------. ,---------------. |
| @@ -168,7 +167,7 @@ static const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 168 | * |---------------------------------------------------------| |---------------| | 167 | * |---------------------------------------------------------| |---------------| |
| 169 | * |Shift |End| |PgD| | | |PgD| |End| |Shif|PgU| | 1| 2| 3| | | 168 | * |Shift |End| |PgD| | | |PgD| |End| |Shif|PgU| | 1| 2| 3| | |
| 170 | * |---------------------------------------------------------| |-----------|Ent| | 169 | * |---------------------------------------------------------| |-----------|Ent| |
| 171 | * |Alt |Gui | Space |Gui |Ins|Hom|End|PgD| | 0| .| | | 170 | * |Ctl |Alt | Space |Gui |Ins|Hom|End|PgD| | 0| .| | |
| 172 | * `---------------------------------------------------------' `---------------' | 171 | * `---------------------------------------------------------' `---------------' |
| 173 | */ | 172 | */ |
| 174 | KEYMAP( | 173 | KEYMAP( |
| @@ -176,7 +175,7 @@ static const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 176 | CAPS,HOME,UP, PGUP,NO, NO, NO, PGUP,UP, HOME,PSCR,SLCK,PAUS, P7, P8, P9, PMNS, | 175 | CAPS,HOME,UP, PGUP,NO, NO, NO, PGUP,UP, HOME,PSCR,SLCK,PAUS, P7, P8, P9, PMNS, |
| 177 | FN0, LEFT,DOWN,RGHT,NO, NO, NO, LEFT,DOWN,RGHT,NO, NO, ENT, P4, P5, P6, PPLS, | 176 | FN0, LEFT,DOWN,RGHT,NO, NO, NO, LEFT,DOWN,RGHT,NO, NO, ENT, P4, P5, P6, PPLS, |
| 178 | LSFT,END, NO, PGDN,NO, NO, NO, PGDN,NO, END, NO, PGUP, P1, P2, P3, PENT, | 177 | LSFT,END, NO, PGDN,NO, NO, NO, PGDN,NO, END, NO, PGUP, P1, P2, P3, PENT, |
| 179 | LALT,LGUI, SPC, LCTL,INS, HOME,END, PGDN, P0, PDOT | 178 | LCTL,LALT, SPC, LGUI,INS, HOME,END, PGDN, P0, PDOT |
| 180 | ), | 179 | ), |
| 181 | }; | 180 | }; |
| 182 | 181 | ||
diff --git a/converter/pc98_usb/keymap.c b/converter/pc98_usb/keymap.c index f793539df..279b2b60c 100644 --- a/converter/pc98_usb/keymap.c +++ b/converter/pc98_usb/keymap.c | |||
| @@ -168,7 +168,7 @@ static const uint16_t PROGMEM fn_actions[] = { | |||
| 168 | ACTION_KEYMAP_TAP_TOGGLE(0), // FN0 | 168 | ACTION_KEYMAP_TAP_TOGGLE(0), // FN0 |
| 169 | ACTION_KEYMAP_TAP_KEY(1, KC_SLASH), // FN1 | 169 | ACTION_KEYMAP_TAP_KEY(1, KC_SLASH), // FN1 |
| 170 | ACTION_KEYMAP_TAP_KEY(2, KC_SCLN), // FN2 | 170 | ACTION_KEYMAP_TAP_KEY(2, KC_SCLN), // FN2 |
| 171 | ACTION_KEYMAP(2), // FN3 | 171 | ACTION_KEYMAP_MOMENTARY(2), // FN3 |
| 172 | ACTION_MACRO(LBRACKET), // FN4 | 172 | ACTION_MACRO(LBRACKET), // FN4 |
| 173 | ACTION_MACRO(RBRACKET), // FN5 | 173 | ACTION_MACRO(RBRACKET), // FN5 |
| 174 | ACTION_MACRO(DUMMY), // FN6 | 174 | ACTION_MACRO(DUMMY), // FN6 |
diff --git a/keyboard/IIgs_Standard/Makefile b/keyboard/IIgs/Makefile index c18e9720c..c18e9720c 100644 --- a/keyboard/IIgs_Standard/Makefile +++ b/keyboard/IIgs/Makefile | |||
diff --git a/keyboard/IIgs_Standard/README b/keyboard/IIgs/README index 4f9cad1ca..4f9cad1ca 100644 --- a/keyboard/IIgs_Standard/README +++ b/keyboard/IIgs/README | |||
diff --git a/keyboard/IIgs_Standard/config.h b/keyboard/IIgs/config.h index 11acf87c0..11acf87c0 100644 --- a/keyboard/IIgs_Standard/config.h +++ b/keyboard/IIgs/config.h | |||
diff --git a/keyboard/IIgs_Standard/doc/PIN_BYPASS.jpg b/keyboard/IIgs/doc/PIN_BYPASS.jpg index 2998f0c3f..2998f0c3f 100644 --- a/keyboard/IIgs_Standard/doc/PIN_BYPASS.jpg +++ b/keyboard/IIgs/doc/PIN_BYPASS.jpg | |||
| Binary files differ | |||
diff --git a/keyboard/IIgs_Standard/doc/Teensy++_Mod.jpg b/keyboard/IIgs/doc/Teensy++_Mod.jpg index 146c1ab93..146c1ab93 100644 --- a/keyboard/IIgs_Standard/doc/Teensy++_Mod.jpg +++ b/keyboard/IIgs/doc/Teensy++_Mod.jpg | |||
| Binary files differ | |||
diff --git a/keyboard/IIgs_Standard/hid_listen.mac b/keyboard/IIgs/hid_listen.mac index 8758fdf88..8758fdf88 100755 --- a/keyboard/IIgs_Standard/hid_listen.mac +++ b/keyboard/IIgs/hid_listen.mac | |||
| Binary files differ | |||
diff --git a/keyboard/IIgs_Standard/keymap.c b/keyboard/IIgs/keymap.c index cd33e223a..cd33e223a 100644 --- a/keyboard/IIgs_Standard/keymap.c +++ b/keyboard/IIgs/keymap.c | |||
diff --git a/keyboard/IIgs_Standard/led.c b/keyboard/IIgs/led.c index f76545f0b..f76545f0b 100644 --- a/keyboard/IIgs_Standard/led.c +++ b/keyboard/IIgs/led.c | |||
diff --git a/keyboard/IIgs_Standard/matrix.c b/keyboard/IIgs/matrix.c index 6ca55b7ea..6ca55b7ea 100644 --- a/keyboard/IIgs_Standard/matrix.c +++ b/keyboard/IIgs/matrix.c | |||
diff --git a/keyboard/hhkb/keymap.c b/keyboard/hhkb/keymap.c index 0d07c79cf..094d33af1 100644 --- a/keyboard/hhkb/keymap.c +++ b/keyboard/hhkb/keymap.c | |||
| @@ -82,7 +82,7 @@ static const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 82 | * |Gui|Alt | Space |Alt |Gui| | 82 | * |Gui|Alt | Space |Alt |Gui| |
| 83 | * `-------------------------------------------' | 83 | * `-------------------------------------------' |
| 84 | */ | 84 | */ |
| 85 | KEYMAP(PWR, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, INS, DEL, \ | 85 | KEYMAP(GRV, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, INS, DEL, \ |
| 86 | CAPS,NO, NO, NO, NO, NO, NO, NO, PSCR,SLCK,PAUS, UP, NO, BSPC, \ | 86 | CAPS,NO, NO, NO, NO, NO, NO, NO, PSCR,SLCK,PAUS, UP, NO, BSPC, \ |
| 87 | LCTL,VOLD,VOLU,MUTE,NO, NO, PAST,PSLS,HOME,PGUP,LEFT,RGHT,ENT, \ | 87 | LCTL,VOLD,VOLU,MUTE,NO, NO, PAST,PSLS,HOME,PGUP,LEFT,RGHT,ENT, \ |
| 88 | LSFT,NO, NO, NO, NO, NO, PPLS,PMNS,END, PGDN,DOWN,RSFT,TRNS, \ | 88 | LSFT,NO, NO, NO, NO, NO, PPLS,PMNS,END, PGDN,DOWN,RSFT,TRNS, \ |
| @@ -101,7 +101,7 @@ static const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 101 | * |Gui|Alt | Space |Alt |Gui| | 101 | * |Gui|Alt | Space |Alt |Gui| |
| 102 | * `-------------------------------------------' | 102 | * `-------------------------------------------' |
| 103 | */ | 103 | */ |
| 104 | KEYMAP(ESC, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, INS, DEL, \ | 104 | KEYMAP(GRV, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, INS, DEL, \ |
| 105 | TAB, HOME,PGDN,UP, PGUP,END, HOME,PGDN,PGUP,END, NO, NO, NO, BSPC, \ | 105 | TAB, HOME,PGDN,UP, PGUP,END, HOME,PGDN,PGUP,END, NO, NO, NO, BSPC, \ |
| 106 | LCTL,NO, LEFT,DOWN,RGHT,NO, LEFT,DOWN,UP, RGHT,NO, NO, ENT, \ | 106 | LCTL,NO, LEFT,DOWN,RGHT,NO, LEFT,DOWN,UP, RGHT,NO, NO, ENT, \ |
| 107 | LSFT,NO, NO, NO, NO, NO, HOME,PGDN,PGUP,END, TRNS,RSFT,NO, \ | 107 | LSFT,NO, NO, NO, NO, NO, HOME,PGDN,PGUP,END, TRNS,RSFT,NO, \ |
| @@ -121,7 +121,7 @@ static const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 121 | * `--------------------------------------------' | 121 | * `--------------------------------------------' |
| 122 | * Mc: Mouse Cursor / Mb: Mouse Button / Mw: Mouse Wheel | 122 | * Mc: Mouse Cursor / Mb: Mouse Button / Mw: Mouse Wheel |
| 123 | */ | 123 | */ |
| 124 | KEYMAP(ESC, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, INS, DEL, \ | 124 | KEYMAP(GRV, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, INS, DEL, \ |
| 125 | TAB, NO, NO, NO, NO, NO, WH_L,WH_D,WH_U,WH_R,NO, NO, NO, BSPC, \ | 125 | TAB, NO, NO, NO, NO, NO, WH_L,WH_D,WH_U,WH_R,NO, NO, NO, BSPC, \ |
| 126 | LCTL,NO, ACL0,ACL1,ACL2,NO, MS_L,MS_D,MS_U,MS_R,TRNS,QUOT,ENT, \ | 126 | LCTL,NO, ACL0,ACL1,ACL2,NO, MS_L,MS_D,MS_U,MS_R,TRNS,QUOT,ENT, \ |
| 127 | LSFT,NO, NO, NO, NO, BTN3,BTN2,BTN1,BTN4,BTN5,SLSH,RSFT,NO, \ | 127 | LSFT,NO, NO, NO, NO, BTN3,BTN2,BTN1,BTN4,BTN5,SLSH,RSFT,NO, \ |
diff --git a/protocol/vusb/vusb.c b/protocol/vusb/vusb.c index 1d5f4a852..328885a9b 100644 --- a/protocol/vusb/vusb.c +++ b/protocol/vusb/vusb.c | |||
| @@ -88,6 +88,10 @@ static void send_keyboard(report_keyboard_t *report) | |||
| 88 | } else { | 88 | } else { |
| 89 | debug("kbuf: full\n"); | 89 | debug("kbuf: full\n"); |
| 90 | } | 90 | } |
| 91 | |||
| 92 | // NOTE: send key strokes of Macro | ||
| 93 | usbPoll(); | ||
| 94 | vusb_transfer_keyboard(); | ||
| 91 | } | 95 | } |
| 92 | 96 | ||
| 93 | 97 | ||
