Kai Ryu
e5a48615ec
Fix confusion of size and count
2013-11-21 13:44:32 +09:00
Kai Ryu
066f3e4c9b
New feature to support external keymap in eeprom
2013-11-21 13:00:45 +09:00
Kai Ryu
4f3b84f4c5
Add custom backlight feature
2013-11-21 12:33:03 +09:00
Simon Melhart
a6afa845b9
Add tap toggle modifiers
...
Including documentation.
2013-11-20 09:21:33 -08:00
tmk
d7f663a1ea
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
9d40be1990
Wait for USB starting up to make debug print available
2013-11-19 03:20:25 +09:00
tmk
676d94d137
Fix PS/2 mouse support
2013-11-02 04:30:08 +09:00
tmk
35f9f30074
Add timeout option to MODS_ONESHOT #66
2013-10-07 23:28:17 +09:00
tmk
d52d554360
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
8819cf6bb1
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
7d692c492c
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
b2c7529ec9
Fix to bootmagic key configurable
2013-09-21 21:21:34 +09:00
tmk
58ca7b904b
Merge branch 'tapping_fix60'
2013-09-19 22:16:55 +09:00
tmk
9f29fa6bf3
Fix version info command
2013-09-19 00:51:44 +09:00
tmk
0ca415004a
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
4d0b3aace0
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
c7faa51ee8
Fix action macros
2013-09-11 14:05:05 +09:00
tmk
8bc96ac571
Add version string
2013-09-11 13:44:54 +09:00
tmk
c274cc8cdc
Fix tapping count over flow(issue #52 )
2013-07-29 22:18:42 +09:00
tmk
daa4a4235f
Add NKRO support for LUFA
2013-07-28 17:34:41 +09:00
tmk
05225dd9d8
Add bootmagic salt key to avoid accidental configuration
2013-07-24 00:41:28 +09:00
tmk
2721022078
Add mechanical locking switch support for NumLock and ScrollLock
2013-07-23 10:56:03 +09:00
tmk
6aaa6e0ef9
Add support for macro media/system keys
2013-07-23 07:53:18 +09:00
tmk
3e023e5b0c
Cancel tapping when interrupted by other key
2013-07-21 03:21:57 +09:00
tmk
f8fbecff4d
Change name ACT_LAYER_TAP1 to ACT_LAYER_TAP_EXT
2013-07-20 03:27:36 +09:00
tmk
25ad212c4a
Add BACKLIGHT_ENABLE conditional
2013-06-23 09:14:58 +09:00
tmk
82aec46722
Fix typo
2013-06-22 17:32:53 +09:00
Wraul
1eb8523e95
Add support for backlight
2013-06-22 17:23:36 +09:00
tmk
9de9d71952
Add default layer config to bootmagic
2013-06-22 16:24:56 +09:00
Mathias Andersson
ddf1759dbe
Fixes to sleep LED.
...
Add help text.
Add missing SLEEP_LED_ENABLE checks.
2013-05-27 18:36:00 +02:00
tmk
796defa86c
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
adbd15d5bd
Fix command.c and README
2013-05-15 00:23:36 +09:00
tmk
ff2d276b19
Use dprint and dprintf for debug
2013-05-14 16:19:40 +09:00
tmk
d9c06db600
Add xprintf(xitoa) from elm-chan.org
2013-05-14 16:16:57 +09:00
tmk
540d0700dc
Remove common/controller_teensy.h
2013-04-13 11:30:08 +09:00
tmk
09e1eded8b
Add media eject key support from tufty
2013-04-12 11:25:59 +09:00
tmk
4e93b3fa67
Fix bootmagic and eeconfig for virtual DIP SW
2013-04-07 15:36:50 +09:00
tmk
c26a5eb2ac
Fix keymap for new actions
2013-04-05 03:44:42 +09:00
tmk
fbea2a3aae
Fix keymap of hhkb for new actions
2013-04-05 03:27:10 +09:00
tmk
489fd75fdf
Fix keymap of gh60
2013-04-05 01:39:17 +09:00
tmk
f9a7e224a4
Fix ACT_MODS action and switch_default_layer command
2013-04-04 16:29:44 +09:00
tmk
ebe798f081
Add file action_code.h
2013-04-04 15:16:03 +09:00
tmk
d612242692
Fix ACTION_LAYER macros
2013-04-03 01:33:04 +09:00
tmk
c6d88d2795
Rename file layer_switch to action_layer
2013-04-02 17:44:24 +09:00
tmk
cc8e66754b
Refine ACT_LAYER and ACT_LAYER_TAP
...
- Remove ACT_LAYER_BITOP
2013-04-02 16:09:43 +09:00
tmk
10f33a3e48
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
c69f7e1069
Add action_tapping.[ch] for refactoring
2013-03-29 02:46:05 +09:00
tmk
ac509aa079
Add sleep LED test command
2013-03-27 15:21:50 +09:00
tmk
afc3148e23
Add supsend and wakeup to pjrc stack
2013-03-27 15:18:08 +09:00
tmk
2c0bb5e7e6
Add common/suspend.c
2013-03-25 01:46:32 +09:00
tmk
74aea627e7
Clean action.c
2013-03-21 15:24:48 +09:00
tmk
d44290b91b
Add NO_ACTION_ONESHOT config option
2013-03-21 14:42:40 +09:00
tmk
dbcac865b9
Add NO_ACTION_KEYMAP config option
2013-03-20 01:45:04 +09:00
tmk
ecb7550a91
Add NO_ACTION_FUNCTION config option
2013-03-20 00:37:32 +09:00
tmk
9757f960f9
Add NO_ACTION_TAPPING and NO_ACTION_MACRO config options
2013-03-20 00:28:13 +09:00
tmk
b057511f45
Add NO_ACTION_OVERLAY config option
2013-03-20 00:26:01 +09:00
tmk
1687041267
Add COMMAND_ENABLE build option
2013-03-19 16:05:53 +09:00
tmk
9a106537f6
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
db79c1160b
Change sleep led step table to get smooth
2013-03-16 23:45:11 +09:00
tmk
f0c5f1b910
Add breathing sleep LED during USB suspend
2013-03-16 17:24:05 +09:00
tmk
30f9baf898
Fix debouncing and add legacy keymap support
2013-03-12 16:05:50 +09:00
tmk
92b92dd78f
Add mechanical locking switch support for CapsLock
2013-03-12 10:43:02 +09:00
tmk
ef8439bddb
Add build option BOOTMAGIC_ENABLE
2013-03-11 15:28:46 +09:00
tmk
d055e0633e
Fix debug parameter setting in eeconfig
2013-03-11 15:10:56 +09:00
tmk
1d5bbb55f2
Fix legacy keymap support
...
- need to define USE_LEGACY_KEYMAP to use legacy keymap
2013-03-11 14:39:06 +09:00
tmk
fe2230cf60
Add default value to BOOTLOADER_SIZE
2013-03-11 13:32:46 +09:00
tmk
e4fbaf30be
Add keyconf in eeconfig.c
2013-03-11 01:55:41 +09:00
tmk
09bd1aef12
Rename HOST_* to PROTOCOL_* in protocol/*.mk
2013-03-11 00:14:58 +09:00
tmk
de8ef18a53
Add KEYCONF to eeconfig.c
2013-03-10 19:22:54 +09:00
tmk
51050875b7
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
f55c677ba4
Fix watchdog in bootloader jump
...
- disable watchdog after watchdog reset
- clear WDRF after watchdog reset
2013-03-10 15:06:33 +09:00
tmk
4d64fd8faa
Add bootmagic.c and fix bootloader_jump
2013-03-09 11:22:27 +09:00
tmk
359b68d35f
Add eeconfig.c - eeprom stored paramerters
2013-03-07 03:30:08 +09:00
tmk
81d2753ab0
Remove matrix_key_count() from matrix.h
2013-03-05 21:20:39 +09:00
tmk
9e9a85c142
Fix ghost block and remove matrix_has_ghost()
2013-03-05 21:08:16 +09:00
tmk
38bbe976e0
Merge branch 'overlays'
2013-03-05 15:45:15 +09:00
tmk
5808317b69
Fix keymap for new framework
2013-03-05 15:41:21 +09:00
tmk
1aa067e541
Clean action.h and add keymap doc
2013-03-05 02:42:28 +09:00
tmk
083c75816f
Create keymap.md
2013-03-04 16:40:19 +09:00
tmk
40f1a4930a
Fix SET_DEFAULT_LAYER action and keymap of gh60
2013-02-27 10:32:46 +09:00
tmk
a207e848b3
Add tap flags on record_t
2013-02-26 16:27:09 +09:00
tmk
1720cf34ca
Fix bit shift which is beyond int size(16bit)
2013-02-25 17:00:35 +09:00
tmk
23c32d304b
Add MACRO action
2013-02-25 15:30:37 +09:00
tmk
0368936060
Fix README and comments in action.h
2013-02-23 13:42:59 +09:00
tmk
59e073e82b
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
c3d57b69e0
Add keymap clear/reset action
2013-02-20 15:52:32 +09:00
tmk
e0f960a576
Add overlay framework
2013-02-20 11:48:15 +09:00
tmk
e324fa2918
Rewrite layer action with layer_switch
2013-02-16 04:08:31 +09:00
tmk
d9f2875866
Replace layer_stack with layer_switch
2013-02-15 18:48:36 +09:00
tmk
2b811352a1
Fix switch_default_layer command
2013-02-15 15:27:19 +09:00
tmk
768ea72f10
Add layer_stack files taking apart from action.c
2013-02-15 13:47:41 +09:00
tmk
a4aae1c505
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
0018e19f07
Add layer stack
2013-02-14 15:22:59 +09:00
tmk
c4421f585b
Change struct key_t
2013-02-13 12:16:24 +09:00
tmk
9bc82bf61c
Change action API
2013-02-13 11:47:19 +09:00
tmk
63c03dc137
Change keymap API
2013-02-13 11:20:47 +09:00
tmk
48e6d0848c
Make Transparent feature available to new keymaps.
2013-02-13 09:26:22 +09:00
tmk
f02431e9da
Fix 'chage default layer' command.
2013-02-12 17:15:24 +09:00
tmk
77af88042a
Change ACTION_LAYER_SET_LAYER behaviour
2013-02-12 17:12:04 +09:00
tmk
b60f9c6ac6
Boot Magic key for gh60
2013-02-11 14:14:44 +09:00
tmk
8c80deb775
Merge branch 'keymap2'
...
Conflicts:
common/keyboard.c
2013-02-11 12:48:49 +09:00
tmk
eea85c7e24
Fix is_tap_key()
2013-02-11 00:02:11 +09:00
tmk
0be309ccc6
Add doc/keycode.txt
2013-02-10 23:59:01 +09:00
tmk
b2aa142ee0
Clean layer actions.
2013-02-10 16:11:07 +09:00
tmk
aad91a30a3
Add macro feature.
2013-02-04 22:53:45 +09:00
tmk
1d7962ba8a
Add user defined function to action.
2013-02-01 14:48:11 +09:00
tmk
d95463f2e0
Add legacy keymap support.
2013-01-31 17:50:53 +09:00
tmk
e760953910
Fix tapping. tap key just after tap timeout.
2013-01-31 15:07:01 +09:00
tmk
7e1093b70f
Fix: action LAYER_BIT uses xor now instead of and/or.
2013-01-30 22:47:16 +09:00
tmk
10b9237fa6
Fix process_tapping().
2013-01-30 21:18:03 +09:00
tmk
ddb560052a
Clean debug print in action.c.
2013-01-29 10:40:43 +09:00
tmk
1e3e41a2c9
Clean code.
2013-01-28 14:06:42 +09:00
tmk
854c803fdd
Add tap toggle feature to action.
2013-01-28 11:30:23 +09:00
tmk
bfd7fe5862
Add oneshot modifier action.
2013-01-27 16:38:19 +09:00
tmk
66d5dd2842
Fix keycodes. It has 32 Fn keys now.
2013-01-27 15:57:07 +09:00
tmk
585e00eebe
Remove test_func.
2013-01-27 10:37:58 +09:00
tmk
ef873791bd
New tapping logic.
2013-01-27 02:42:48 +09:00
tmk
d8dddf9f25
Minor fixes in keyboard.c.
2013-01-24 01:02:11 +09:00
tmk
28b5f69ce5
Add prototype of Action Function.
2013-01-23 23:53:51 +09:00
tmk
1fe820a865
Add bootmagic keys.(hhkb)
...
- kick bootloader
- enable debug print
2013-01-23 23:51:15 +09:00
tmk
f71a5217b7
Fix mods with tapping.
2013-01-21 15:44:49 +09:00
tmk
ee7ce43335
Refactor struct keyevent_t.
2013-01-17 15:02:34 +09:00
tmk
567b2ae525
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
9f95e9cc27
Add support partly for modifier with tap key.
2013-01-16 13:21:35 +09:00
tmk
f609712da3
Fix waiting_keys and periodical update for delaying layer.
2013-01-15 00:55:16 +09:00
tmk
32633a42c7
Fix tap key using delaying_layer and waiting_key.
2013-01-13 10:24:20 +09:00
tmk
411de9cc22
Add new layer actions.
2013-01-09 22:33:33 +09:00
tmk
5af988ac37
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
4324e16336
Fix action of system and consumer usage.
2012-12-17 03:06:21 +09:00
tmk
8a709c2750
Add initial fix for new keymap.
2012-12-16 02:32:07 +09:00
tmk
94b4fba6e6
Add bitpop16() in util.c.
2012-11-24 16:34:59 +09:00
tmk
6caefe9649
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
ce4857e021
Fix and keymap of hid_liber from alaricljs at geekhack.org.
2012-11-13 10:07:59 +09:00
tmk
16a583d7fd
Fix usage of debug flag
2012-10-27 03:07:37 +09:00
tmk
220de27bed
Add print_dec() and debug_dec().
2012-10-27 02:27:09 +09:00
tmk
ad24858e4f
Add print utility
2012-10-23 02:14:36 +09:00
tmk
edce1d19a6
Add LED feature to Sun converter
2012-10-21 22:12:36 +09:00
tmk
454f7bc716
Fix mousekey parameter bug
2012-10-21 20:12:11 +09:00
tmk
b56717b843
Use software serial for Sun.
2012-10-19 15:07:23 +09:00
tmk
fffc375b45
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
30eb3e3520
Add command console and mouseky parameters tweak.
2012-10-17 15:55:37 +09:00
tmk
8f7ed2bc19
Add Mousekey parameters and accel keys.
2012-10-17 15:55:37 +09:00
tmk
e451c05929
Fix commands
2012-10-17 15:55:37 +09:00
tmk
f7a445e537
Fix use of default_layer
2012-10-17 15:55:37 +09:00
tmk
1677b021d7
Fix layer switching and host API.
2012-10-17 15:55:37 +09:00
tmk
0a70be9a97
Add subset of Xorg MouseKey acceleration parameters.
2012-10-17 15:55:37 +09:00
tmk
5b00cf3f02
Fix build option MOUSEKEY_ENABLE.
2012-10-17 15:55:37 +09:00
tmk
71ac82337f
Clean host.h interface.
2012-10-17 15:55:37 +09:00
tmk
373ab0e719
Add keycode.h and remove usb_keycodes.h.
2012-10-17 15:55:37 +09:00
tmk
16ba9bda56
Add consumer/system usage support.
2012-10-17 15:55:37 +09:00