Kai Ryu
91f86df368
Fix confusion of size and count
2013-11-21 13:44:32 +09:00
Kai Ryu
d926950e17
New feature to support external keymap in eeprom
2013-11-21 13:00:45 +09:00
Kai Ryu
8451031e0a
Add custom backlight feature
2013-11-21 12:33:03 +09:00
Simon Melhart
90450a74ef
Add tap toggle modifiers
...
Including documentation.
2013-11-20 09:21:33 -08:00
tmk
a045313fa3
Fix to build ps2_mouse with both LUFA and PJRC
...
- change API of ps2_mouse; ps2_mouse_task()
- remove mouse_report from host.c
2013-11-20 11:32:09 +09:00
tmk
448d2ed1f8
Wait for USB starting up to make debug print available
2013-11-19 03:20:25 +09:00
tmk
755b81f0ad
Fix PS/2 mouse support
2013-11-02 04:30:08 +09:00
tmk
a49315390d
Add timeout option to MODS_ONESHOT #66
2013-10-07 23:28:17 +09:00
tmk
a5811211ac
Fix mod stuck of MODS_KEY when leaving layer #62
...
- Add action_util.c and remove action_oneshot.c
- Add oneshot_mods for MODS_ONESHOT
- Add weak_mods for MODS_KEY and MACRO
- weak_mods is cleared when layer switching
2013-10-04 16:04:31 +09:00
tmk
0f768fc84b
Fix Tapping: release key immediately but modifier #65
...
- See https://github.com/tmk/tmk_keyboard/issues/60
- **Except for modifiers** a key pressed before the tapping starts should be released immediately
- 'Mod-Tap key'(like shift-;) didn't work from this fix: 4d0b3aa
Fix Tapping: release of a key pressed before tap
This key sequence should register ':', not ';'. With the fix Shift is
released before settlement of tapping, this registers ';'.
Shift ~~___~~~~~~~
;(Tap) ~~~____~~~~
2013-10-03 12:40:33 +09:00
tmk
b482e655ad
Fix USB initilaize on LUFA
...
- Add print messages of USB intialize procesure.
- call out sei() in earlier stage. LUFA API doc of USB_Init() says:
interrupts must be enabled within 500ms ... to ensure that the host does
not time out whilst enumerating the device
- remove matrix_init() from suspend_wakeup_init(). It is not needed in
fact and if matrix_init() takes long time to initialize it prevents
host emnumerating the device.
2013-09-21 22:47:03 +09:00
tmk
651ad76f93
Fix to bootmagic key configurable
2013-09-21 21:21:34 +09:00
tmk
b5569d7c36
Merge branch 'tapping_fix60'
2013-09-19 22:16:55 +09:00
tmk
fb2ff003dd
Fix version info command
2013-09-19 00:51:44 +09:00
tmk
f4664db2bd
Fix bootloader jump use word address
...
- Call of function pointer is compiled into 'icall' instruction.
It should use word address but it has used byte address :( It seems
jump has worked luckily by chance until now. why it worked?
2013-09-18 16:10:53 +09:00
tmk
8f45848fd3
Fix Tapping: release of a key pressed before tap
...
- immediately process release event of a key pressed before tapping
2013-09-18 15:02:44 +09:00
tmk
19d6f0d77a
Fix action macros
2013-09-11 14:05:05 +09:00
tmk
57c52a8789
Add version string
2013-09-11 13:44:54 +09:00
tmk
6994b6d364
Fix tapping count over flow(issue #52 )
2013-07-29 22:18:42 +09:00
tmk
2fb67b7844
Add NKRO support for LUFA
2013-07-28 17:34:41 +09:00
tmk
14d1af6231
Add bootmagic salt key to avoid accidental configuration
2013-07-24 00:41:28 +09:00
tmk
0cb80001b4
Add mechanical locking switch support for NumLock and ScrollLock
2013-07-23 10:56:03 +09:00
tmk
722b753df1
Add support for macro media/system keys
2013-07-23 07:53:18 +09:00
tmk
254d83ddba
Cancel tapping when interrupted by other key
2013-07-21 03:21:57 +09:00
tmk
d08dfffae0
Change name ACT_LAYER_TAP1 to ACT_LAYER_TAP_EXT
2013-07-20 03:27:36 +09:00
tmk
5f469a4ac1
Add BACKLIGHT_ENABLE conditional
2013-06-23 09:14:58 +09:00
tmk
3cf50e901c
Fix typo
2013-06-22 17:32:53 +09:00
Wraul
fa633c571c
Add support for backlight
2013-06-22 17:23:36 +09:00
tmk
063614a8c2
Add default layer config to bootmagic
2013-06-22 16:24:56 +09:00
Mathias Andersson
53dc733e1c
Fixes to sleep LED.
...
Add help text.
Add missing SLEEP_LED_ENABLE checks.
2013-05-27 18:36:00 +02:00
tmk
6c0f789853
Fix deprecated 'prog_*' typedef - Issue #34
...
- Remove prog_char from xpritnf
- Remove prog_macro_t from acton_macro
avr-libc-1.8 removed 'prog_*' typedef because the usage of
the __progmem__ attribute on a type is not supported in GCC.
http://www.nongnu.org/avr-libc/changes-1.8.html
2013-05-21 10:16:55 +09:00
tmk
0be2d9bcc5
Fix command.c and README
2013-05-15 00:23:36 +09:00
tmk
2ebc123c22
Use dprint and dprintf for debug
2013-05-14 16:19:40 +09:00
tmk
6049f2e7d1
Add xprintf(xitoa) from elm-chan.org
2013-05-14 16:16:57 +09:00
tmk
bd4a6feb22
Remove common/controller_teensy.h
2013-04-13 11:30:08 +09:00
tmk
2765021767
Add media eject key support from tufty
2013-04-12 11:25:59 +09:00
tmk
b92c7fd612
Fix bootmagic and eeconfig for virtual DIP SW
2013-04-07 15:36:50 +09:00
tmk
1440b677a7
Fix keymap for new actions
2013-04-05 03:44:42 +09:00
tmk
bc44e39ffb
Fix keymap of hhkb for new actions
2013-04-05 03:27:10 +09:00
tmk
18454f7436
Fix keymap of gh60
2013-04-05 01:39:17 +09:00
tmk
70db9e1dc7
Fix ACT_MODS action and switch_default_layer command
2013-04-04 16:29:44 +09:00
tmk
a967301331
Add file action_code.h
2013-04-04 15:16:03 +09:00
tmk
4bc69e0304
Fix ACTION_LAYER macros
2013-04-03 01:33:04 +09:00
tmk
f903bcddbd
Rename file layer_switch to action_layer
2013-04-02 17:44:24 +09:00
tmk
8d8ee35fb0
Refine ACT_LAYER and ACT_LAYER_TAP
...
- Remove ACT_LAYER_BITOP
2013-04-02 16:09:43 +09:00
tmk
5e557f01e0
Remove ACT_KEYMAP and ACT_OVERLAY
...
- Remove ACT_OVERLAY
- Rename ACT_KEYMAP to ACT_LAYER
- Add ACT_LAYER_BITOP
2013-03-31 22:47:19 +09:00
tmk
d2d06ebf5f
Add action_tapping.[ch] for refactoring
2013-03-29 02:46:05 +09:00
tmk
4587d39c6e
Add sleep LED test command
2013-03-27 15:21:50 +09:00
tmk
11970b78fe
Add supsend and wakeup to pjrc stack
2013-03-27 15:18:08 +09:00
tmk
0caaa6e3d3
Add common/suspend.c
2013-03-25 01:46:32 +09:00
tmk
c4ecc6fc7d
Clean action.c
2013-03-21 15:24:48 +09:00
tmk
6fe6a03c2f
Add NO_ACTION_ONESHOT config option
2013-03-21 14:42:40 +09:00
tmk
afaaa83fae
Add NO_ACTION_KEYMAP config option
2013-03-20 01:45:04 +09:00
tmk
da659f0b46
Add NO_ACTION_FUNCTION config option
2013-03-20 00:37:32 +09:00
tmk
25f4821ba8
Add NO_ACTION_TAPPING and NO_ACTION_MACRO config options
2013-03-20 00:28:13 +09:00
tmk
2b449b5d6d
Add NO_ACTION_OVERLAY config option
2013-03-20 00:26:01 +09:00
tmk
27cb3f4fab
Add COMMAND_ENABLE build option
2013-03-19 16:05:53 +09:00
tmk
a063e4544c
Add NO_PRINT and NO_DEBUG config options.
...
- NO_PRINT: disable print.h API(also disable debug.h)
- NO_DEBUG: disable debug.h API
2013-03-19 14:08:40 +09:00
tmk
d620c87082
Change sleep led step table to get smooth
2013-03-16 23:45:11 +09:00
tmk
5bd0a8e724
Add breathing sleep LED during USB suspend
2013-03-16 17:24:05 +09:00
tmk
db5fb1ece1
Fix debouncing and add legacy keymap support
2013-03-12 16:05:50 +09:00
tmk
96914f6084
Add mechanical locking switch support for CapsLock
2013-03-12 10:43:02 +09:00
tmk
9c363dc9a3
Add build option BOOTMAGIC_ENABLE
2013-03-11 15:28:46 +09:00
tmk
f0ffb79683
Fix debug parameter setting in eeconfig
2013-03-11 15:10:56 +09:00
tmk
a8b4aa28a4
Fix legacy keymap support
...
- need to define USE_LEGACY_KEYMAP to use legacy keymap
2013-03-11 14:39:06 +09:00
tmk
46107e2ead
Add default value to BOOTLOADER_SIZE
2013-03-11 13:32:46 +09:00
tmk
1d146882cd
Add keyconf in eeconfig.c
2013-03-11 01:55:41 +09:00
tmk
92665c4be3
Rename HOST_* to PROTOCOL_* in protocol/*.mk
2013-03-11 00:14:58 +09:00
tmk
e7ffad1f10
Add KEYCONF to eeconfig.c
2013-03-10 19:22:54 +09:00
tmk
9cc2a466f7
Add BOOTLOADER_SIZE and remove BOOT_SIZE
...
- define BOOTLOADER_SIZE in config.h instead of Makefile
2013-03-10 17:53:29 +09:00
tmk
f7a1a8f80f
Fix watchdog in bootloader jump
...
- disable watchdog after watchdog reset
- clear WDRF after watchdog reset
2013-03-10 15:06:33 +09:00
tmk
1f312d2c85
Add bootmagic.c and fix bootloader_jump
2013-03-09 11:22:27 +09:00
tmk
e26c25f23e
Add eeconfig.c - eeprom stored paramerters
2013-03-07 03:30:08 +09:00
tmk
0e48c56586
Remove matrix_key_count() from matrix.h
2013-03-05 21:20:39 +09:00
tmk
afcef8440b
Fix ghost block and remove matrix_has_ghost()
2013-03-05 21:08:16 +09:00
tmk
756a940840
Merge branch 'overlays'
2013-03-05 15:45:15 +09:00
tmk
88d6bb0b36
Fix keymap for new framework
2013-03-05 15:41:21 +09:00
tmk
f5db7ec538
Clean action.h and add keymap doc
2013-03-05 02:42:28 +09:00
tmk
792a794fde
Create keymap.md
2013-03-04 16:40:19 +09:00
tmk
d193a6d2ef
Fix SET_DEFAULT_LAYER action and keymap of gh60
2013-02-27 10:32:46 +09:00
tmk
71bd9a72fb
Add tap flags on record_t
2013-02-26 16:27:09 +09:00
tmk
ff1561b644
Fix bit shift which is beyond int size(16bit)
2013-02-25 17:00:35 +09:00
tmk
664796855b
Add MACRO action
2013-02-25 15:30:37 +09:00
tmk
22a91bf9ab
Fix README and comments in action.h
2013-02-23 13:42:59 +09:00
tmk
b0558b5f77
Fix tap key bug: layer stuck
...
- Can't use Invert action for tap key, use On/Off insted.
2013-02-20 16:53:55 +09:00
tmk
4c8f2bbfa2
Add keymap clear/reset action
2013-02-20 15:52:32 +09:00
tmk
e023ca517c
Add overlay framework
2013-02-20 11:48:15 +09:00
tmk
58a0845d6a
Rewrite layer action with layer_switch
2013-02-16 04:08:31 +09:00
tmk
4039537bce
Replace layer_stack with layer_switch
2013-02-15 18:48:36 +09:00
tmk
a15de8f9a9
Fix switch_default_layer command
2013-02-15 15:27:19 +09:00
tmk
064a11528f
Add layer_stack files taking apart from action.c
2013-02-15 13:47:41 +09:00
tmk
8b8b79e039
Change: 0 means default_layer in current_layer now
...
- current_layer indicates active layer at the time
- default_layer indicates base layer
- default_layer is used when current_layer is 0
- with this LAYER_BIT action works as overlay even if
default_layer varies other than layer 0.
2013-02-15 12:31:46 +09:00
tmk
e9de2f1663
Add layer stack
2013-02-14 15:22:59 +09:00
tmk
448da5d477
Change struct key_t
2013-02-13 12:16:24 +09:00
tmk
c044a0841b
Change action API
2013-02-13 11:47:19 +09:00
tmk
ce703f1bf2
Change keymap API
2013-02-13 11:20:47 +09:00
tmk
a5d8d81e20
Make Transparent feature available to new keymaps.
2013-02-13 09:26:22 +09:00
tmk
b94cb92c8d
Fix 'chage default layer' command.
2013-02-12 17:15:24 +09:00
tmk
337d490540
Change ACTION_LAYER_SET_LAYER behaviour
2013-02-12 17:12:04 +09:00
tmk
1ae0bc4abd
Boot Magic key for gh60
2013-02-11 14:14:44 +09:00
tmk
6c990fa9a7
Merge branch 'keymap2'
...
Conflicts:
common/keyboard.c
2013-02-11 12:48:49 +09:00
tmk
c67eb72c6b
Fix is_tap_key()
2013-02-11 00:02:11 +09:00
tmk
a934e6c9fd
Add doc/keycode.txt
2013-02-10 23:59:01 +09:00
tmk
2c27bc5876
Clean layer actions.
2013-02-10 16:11:07 +09:00
tmk
390cdf0c8e
Add macro feature.
2013-02-04 22:53:45 +09:00
tmk
4f274d125f
Add user defined function to action.
2013-02-01 14:48:11 +09:00
tmk
52efc71624
Add legacy keymap support.
2013-01-31 17:50:53 +09:00
tmk
d3f8f0691c
Fix tapping. tap key just after tap timeout.
2013-01-31 15:07:01 +09:00
tmk
88e185d69b
Fix: action LAYER_BIT uses xor now instead of and/or.
2013-01-30 22:47:16 +09:00
tmk
fce0c47737
Fix process_tapping().
2013-01-30 21:18:03 +09:00
tmk
7a02f1fc56
Clean debug print in action.c.
2013-01-29 10:40:43 +09:00
tmk
3b8abfb0c3
Clean code.
2013-01-28 14:06:42 +09:00
tmk
1dbf26940e
Add tap toggle feature to action.
2013-01-28 11:30:23 +09:00
tmk
330ab0db4e
Add oneshot modifier action.
2013-01-27 16:38:19 +09:00
tmk
8d9bb5b103
Fix keycodes. It has 32 Fn keys now.
2013-01-27 15:57:07 +09:00
tmk
174c248ee1
Remove test_func.
2013-01-27 10:37:58 +09:00
tmk
0feeb37236
New tapping logic.
2013-01-27 02:42:48 +09:00
tmk
78fd0fa6b3
Minor fixes in keyboard.c.
2013-01-24 01:02:11 +09:00
tmk
bab803d80c
Add prototype of Action Function.
2013-01-23 23:53:51 +09:00
tmk
a2bacd10ef
Add bootmagic keys.(hhkb)
...
- kick bootloader
- enable debug print
2013-01-23 23:51:15 +09:00
tmk
c05e188e73
Fix mods with tapping.
2013-01-21 15:44:49 +09:00
tmk
37c7b143ec
Refactor struct keyevent_t.
2013-01-17 15:02:34 +09:00
tmk
c773478b3c
Fix mods with tap key but some problems still exists.
...
- stuck tap key after tapping. seq[mods(d), key(d), mods(u), key(u)]
- tap key doesn't work when fast type. [key(d), mods(d), key(u),
mods(u)]
2013-01-17 12:06:28 +09:00
tmk
a295aa6aa9
Add support partly for modifier with tap key.
2013-01-16 13:21:35 +09:00
tmk
cb795497fa
Fix waiting_keys and periodical update for delaying layer.
2013-01-15 00:55:16 +09:00
tmk
1f26a639d4
Fix tap key using delaying_layer and waiting_key.
2013-01-13 10:24:20 +09:00
tmk
93078aad21
Add new layer actions.
2013-01-09 22:33:33 +09:00
tmk
ff1d6ba7f2
Fix bug of FAILSAFE key clear.
...
http://deskthority.net/workshop-f7/tmk-keyboard-firmware-collection-t4478.html#p90022
2012-12-26 23:14:07 +09:00
tmk
38a8012def
Fix action of system and consumer usage.
2012-12-17 03:06:21 +09:00
tmk
770cfcff99
Add initial fix for new keymap.
2012-12-16 02:32:07 +09:00
tmk
ce3f30b643
Add bitpop16() in util.c.
2012-11-24 16:34:59 +09:00
tmk
ca55332107
Fixes from Tranquilite@GH.
...
- Fix keyboard_task() when matrix column size > 16
- Add clear_keyboard() in NKRO command to avoid stucking keys.
- Fix function name in print.c.
2012-11-23 12:33:42 +09:00
tmk
88fc51a04e
Fix and keymap of hid_liber from alaricljs at geekhack.org.
2012-11-13 10:07:59 +09:00
tmk
69bab9da77
Fix usage of debug flag
2012-10-27 03:07:37 +09:00
tmk
19eac56d2f
Add print_dec() and debug_dec().
2012-10-27 02:27:09 +09:00
tmk
170fafbf2f
Add print utility
2012-10-23 02:14:36 +09:00
tmk
06ed34ec8c
Add LED feature to Sun converter
2012-10-21 22:12:36 +09:00
tmk
8a84993ed6
Fix mousekey parameter bug
2012-10-21 20:12:11 +09:00
tmk
6536dc9a14
Use software serial for Sun.
2012-10-19 15:07:23 +09:00
tmk
69167a3bc0
Add child proof keyboard locking feature!
...
Fix: add wait for Power down command
Add ifdef of MOUSEKEY_ENABLE
2012-10-18 00:59:59 +09:00
tmk
d4597ec6af
Add command console and mouseky parameters tweak.
2012-10-17 15:55:37 +09:00
tmk
d96d15b555
Add Mousekey parameters and accel keys.
2012-10-17 15:55:37 +09:00
tmk
66b62306bc
Fix commands
2012-10-17 15:55:37 +09:00
tmk
b7f138d1d0
Fix use of default_layer
2012-10-17 15:55:37 +09:00
tmk
f5f200cb03
Fix layer switching and host API.
2012-10-17 15:55:37 +09:00
tmk
d91d8c0ba0
Add subset of Xorg MouseKey acceleration parameters.
2012-10-17 15:55:37 +09:00
tmk
218f6d21fb
Fix build option MOUSEKEY_ENABLE.
2012-10-17 15:55:37 +09:00
tmk
411991f7db
Clean host.h interface.
2012-10-17 15:55:37 +09:00
tmk
c8882b8632
Add keycode.h and remove usb_keycodes.h.
2012-10-17 15:55:37 +09:00
tmk
f9a50df14c
Add consumer/system usage support.
2012-10-17 15:55:37 +09:00