1
0
Commit Graph

143 Commits

Author SHA1 Message Date
duanhongyi
c74eee6327 remove SERIAL_SOFT_DEBUG macro
SERIAL_SOFT_DEBUG can be defined in the `config.h`
2016-01-14 15:27:26 +08:00
Shayne Holmes
2a55b1d805 Fix typo in bootmagic debug message 2016-01-12 10:21:29 -08:00
tmk
6382a9b5f4 usb_usb: Fix for keymap editor 2016-01-12 15:13:26 +09:00
obones
66b6df0068 host_driver is only used if KEYBOARD_LOCK_ENABLE is defined 2016-01-07 14:40:53 +01:00
flabbergast
58867094c4 Chibios: add 'core/protocol' to the makefiles' search path. 2015-12-30 10:46:08 +01:00
flabbergast
8952d617ea Merge remote-tracking branch 'upstream/master' into chibios 2015-12-18 20:54:41 +00:00
flabbergast
a75834ee98 Do timeout when writing to CONSOLE EP queue.
Fixes TMK bug #266.
2015-12-18 20:50:59 +00:00
Howard P. Logsdon
3dd8fb4627 Remove an errant comma trailing the KC_ERAS macro alias 2015-12-08 16:46:08 -07:00
Jeff Gran
d60a9b9048 enable TAPPING_TOGGLE=1 to work correctly
if TAPPING_TOGGLE is 1, then tap a single time should toggle the mods on/off each tap.

Previously this was broken, this fixes it. This allows the same key to either hold (momentary mod) or tap (toggle mod, like capslock).
2015-12-05 18:11:21 +09:00
tmk
2d673dfabc Merge pull request #271 from jeffgran/default-layer-toggle
add ACTION_DEFAULT_LAYER_TOGGLE to toggle a default layer on/off
2015-12-05 14:21:40 +09:00
tmk
792327caac core: Update doc/build.md and remove other_projects.md 2015-12-05 13:38:37 +09:00
flabbergast
b110884a6d Workaround for compiler warnings when console disabled. 2015-12-03 09:05:09 +00:00
flabbergast
f108623011 Add maple mini code. 2015-12-03 08:49:55 +00:00
tmk
d0f174911e core: Fix rules.mk for dfu target 2015-11-27 07:19:19 +09:00
Jeff Gran
681464c0f7 add ACTION_DEFAULT_LAYER_TOGGLE to toggle a default layer on/off 2015-11-26 00:57:07 -07:00
flabbergast
aa44c779ec Merge branch 'master' into chibios 2015-11-23 15:51:59 +00:00
tmk
e5bad3f3b7 core: Fix debug print of usb_hid 2015-11-18 14:18:59 +09:00
tmk
6cd178ced9 core: Add keycode KC_JPY for JIS 2015-11-18 14:07:19 +09:00
flabbergast
41f5be3b7a Chibios: Remove the wait in the main loop. 2015-11-14 09:20:55 +00:00
flabbergast
c60dd87918 ChibiOS: prettify/document sleep_led code. 2015-10-18 18:54:34 +01:00
flabbergast
d3f4b01d22 ChibiOS: Update infinity bootloader code to match updated ChibiOS. 2015-10-18 11:55:39 +01:00
flabbergast
aef7a2973e Chibios: Add breathing sleep LED on Kinetis MCUs. 2015-10-18 11:37:27 +01:00
flabbergast
44421f5bf4 ChibiOS: make reset request more CMSISy. 2015-10-18 10:44:08 +01:00
flabbergast
0914c58351 Add correct chibios/bootloader_jump for infinity KB. 2015-10-17 18:20:12 +01:00
flabbergast
7c4a2fab6d Chibios/usb_main: rename a variable for clarity. 2015-10-17 18:18:47 +01:00
Jun Wako
8bcddd24f7 Fix drop key stroke
Keyboard report should be checked if its transfer finishs successfully.
Otherwise key stroke can be missing when other key event occurs
before the last report transfer is done.

Boot protocol 10ms interval probably causes this problem in case
it receives key events in a row within the period. NKRO protocol
suffers less or nothing due to its interval 1ms.
2015-10-17 15:28:21 +09:00
Jun Wako
1c5c9d94c8 Fix report size of boot protocol. 2015-10-17 01:59:55 +09:00
flabbergast
6def104530 ChibiOS/STM32: send remote wakeup. 2015-10-15 09:34:51 +01:00
flabbergast
2e06ccf70a ChibiOS/kinetis: sending remote wakeup. 2015-10-14 19:55:09 +01:00
flabbergast
c1c8e079ca Chibios: use WFI in idle. WIP suspend stuff. 2015-10-14 10:13:49 +01:00
flabbergast
2b4066bb93 Move chibios/cortex selection to local Makefiles. 2015-10-12 10:38:47 +01:00
flabbergast
9178ea2d73 Rename chibios example keyboard. 2015-10-12 10:20:16 +01:00
flabbergast
2ac5cd730b Add eeprom support for chibios/kinetis. 2015-10-12 09:47:27 +01:00
flabbergast
cb663eeca6 Move declaration of keymap_config.
Should really not declare variables in .h files - since it's included
in different .c files, a proper linker then complains that the same
variable is declared more than once (once for each .c file that the
offending .h is included in).
2015-10-12 09:46:48 +01:00
flabbergast
d9652cdf99 Make bootmagic.c code portable (_delay_ms -> wait_ms). 2015-10-12 09:40:06 +01:00
flabbergast
cd7f30299a Add missing #include to keymap.c. 2015-10-12 07:14:07 +01:00
flabbergast
b388269407 Merge branch 'master' into chibios 2015-10-12 06:55:37 +01:00
flabbergast
3c08375616 Fix chibios/usb_main GET_REPORT handing. 2015-10-12 06:52:26 +01:00
flabbergast
19bb28d102 Add ARM Teensies bootloader code. 2015-10-10 15:20:55 +01:00
flabbergast
88c053f78e Move STM32 bootloader address config to separate .h file. 2015-10-05 10:23:31 +01:00
Jun Wako
5ce9bf8353 Merge commit 'fdc38ef3f92af7adeeb4de49550d8838c8a39b5c' 2015-09-24 12:29:11 +09:00
Jun Wako
77afc5a76f core: Fix NKRO ifdef 2015-09-24 01:35:10 +09:00
tmk
ed9766a7d4 core: Fix for disabling NKRO in Boot protocol 2015-09-20 14:34:13 +09:00
tmk
e8a4a63ec4 core: Fix message print of debug command 2015-09-20 10:51:30 +09:00
tmk
bf3d4b3c06 lufa: Fix endpoint bank mode for ATMega32u2 2015-09-20 10:48:47 +09:00
tmk
9b99f8f864 next_usb: Fix next_kbd_set_leds() 2015-09-20 10:33:25 +09:00
tmk
498654fc4c Change to KC_BOOTLOADER(KC_BTLD) 2015-09-16 13:01:06 +09:00
skullY
bb8c1d29fa Add an assignable RESET key 2015-09-16 12:35:21 +09:00
flabbergast
438559f11d Rename some Makefile defines. 2015-09-15 08:52:03 +01:00
tmk
a8d4daa761 Fix parenthesis 2015-09-12 11:26:37 +09:00
tmk
0c21b263f9 Fix weak modifier clear in action macro 2015-09-12 11:25:41 +09:00
flabbergast
a24ddf3403 NKRO fixes. 2015-09-10 12:48:44 +01:00
flabbergast
9540016b12 Update chibios README. 2015-09-10 10:50:01 +01:00
flabbergast
dc9fc9a7a4 Add basic sleep_led for chibios. 2015-09-10 10:31:19 +01:00
flabbergast
7d4f3dd5a1 Move AVR specific sleep_led.c into avr. 2015-09-10 10:30:49 +01:00
flabbergast
5248511209 Fix bootloader-jump compiling. 2015-09-08 20:15:05 +01:00
flabbergast
9cc281b4ef Small updates. 2015-09-08 19:22:00 +01:00
flabbergast
d057e5157e Implement jump-to-bootloader. 2015-09-08 16:07:34 +01:00
flabbergast
8152d279a4 Move chibios to tool. 2015-09-08 16:06:33 +01:00
flabbergast
1d115301d4 Make usb_main more USB_DRIVER #define independent. 2015-09-08 15:35:02 +01:00
flabbergast
27dec2db7b Add ChibiOS support (USB stack + support files). 2015-09-07 21:57:04 +01:00
flabbergast
be9be90483 Modularity and gcc warnings fixes. 2015-09-07 21:33:06 +01:00
tmk
35203cad6a core: Fix lufa suspend callback(#234)
With matrix_power_down() in suspend event HHKB JP doesn't start up for some reason.
It is unneeded in actual and removed.
2015-07-23 12:05:51 +09:00
tmk
1efdd867c8 usb_usb: Ignore error usage(0x01-03) report 2015-07-15 16:02:20 +09:00
tmk
6f5e8ce17e usb_usb: Support locking key indicator LED 2015-07-15 15:13:15 +09:00
tmk
8746ad98cc core: Add keymap section ldscript for ATMega32U2 2015-07-12 05:44:10 +09:00
jerryen
0c40b669f0 Add KEYBOARD_LOCK_ENABLE to makefile
Allow keyboard lock to work
2015-06-27 21:37:09 -07:00
tmk
070a6be638 Add description for non-US keys on keycode.h 2015-06-26 08:34:10 +09:00
Kai Ryu
432b1df3e4 Merge remote-tracking branch 'tmk_keyboard/master' into exp
Conflicts:
	common.mk
	common/action.c
	common/avr/suspend.c
	common/command.c
	common/keyboard.c
	keyboard/gh60/Makefile
	keyboard/gh60/Makefile.pjrc
2015-05-22 18:42:17 +09:00
tmk
fdce0c9cc0 lufa: Fix console flush #223
Old console sent unneeded empty data every one milli sencond.
After this fix console flushes endpoint data bank every 50ms only when needed.
2015-05-22 18:11:42 +09:00
tmk
5b46031658 Revert "Make action_for_key a weak symbol"
This reverts commit c17b8a599e.

The commit made compile error and its intention is unclear.
2015-05-21 20:30:10 +09:00
Dan McGregor
c17b8a599e Make action_for_key a weak symbol 2015-05-19 11:29:28 -07:00
tmk
80fd3b0b24 ibm4704_usb: Fix protocol handling 2015-05-19 00:39:44 +09:00
tmk
6b588eb7f7 Add keyboard_setup() and matrix_setup() 2015-05-19 00:39:43 +09:00
tmk
9a2282157f ibm4704_usb: Fix interrupt of clock(rising edge) 2015-05-19 00:39:43 +09:00
tmk
b8fba54a20 usb_usb: Change debug LED pin config 2015-05-13 15:59:49 +09:00
tmk
67137a908a Reduce code size of magic commands 2015-05-13 15:29:30 +09:00
tmk
192024124b Add description of AVR bootloader and boot section 2015-05-13 15:01:49 +09:00
tmk
f1f2066657 Merge commit 'f6d56675f9f981c5464f0ca7a1fbb0162154e8c5' 2015-05-13 11:13:10 +09:00
Jun Wako
1c73e574f1 Add compile options '-fdata-sections' 2015-05-10 10:01:16 +09:00
tmk
d9fee5571d Merge commit '4d116a04e94cf0d19317d5b44e4fa9f34a3e5594' 2015-04-28 11:27:10 +09:00
Jun Wako
a3d96d3aa9 Merge commit '1fe4406f374291ab2e86e95a97341fd9c475fcb8' 2015-04-24 16:26:14 +09:00
Jun Wako
1f4a22ee81 Remove unneeded tap delays #201 2015-04-23 20:18:01 +09:00
Jun Wako
3f32b22478 Fix URL of HID Usage Tables pdf 2015-04-23 17:30:45 +09:00
Jun Wako
f9045bea6e Fix typo of doc/keycode.txt 2015-04-23 17:20:59 +09:00
Jun Wako
7c3f14b7bb Fix handling of consumer usage #199 2015-04-23 17:02:28 +09:00
Michael Tharp
b52e29582a Improve anti-ghosting behavior for fast typing
Keypresses would be forgotten if they began while ghosting, even if they
were still pressed after ghosting ended.
2015-04-23 16:32:38 +09:00
Jun Wako
bd24de44b7 Fix dfu-programmer parameters 2015-04-23 16:07:24 +09:00
Jun Wako
e98b800723 Move ring_buffer.h file 2015-04-22 14:35:20 +09:00
tmk
d5482f29f4 Fix debug print 2015-04-22 14:18:13 +09:00
tmk
d42aa47809 Fix ibm4704 protocol with using interrupt 2015-04-22 14:18:13 +09:00
Jun Wako
79cfa894af Merge commit 'a20ef7052c6e937d2f7672dd59456e55a5c08296' into master_ng 2015-04-22 13:29:13 +09:00
tmk
1a02ebcc61 Merge commit 'a074364c3731d66b56d988c8a6c960a83ea0e0a1' as 'tmk_core' 2015-04-10 01:32:04 +09:00