1
0
Fork 0
Commit Graph

206 Commits

Author SHA1 Message Date
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