Commit Graph

32 Commits

Author SHA1 Message Date
tmk
ebe4373258 Fix power saving while USB suspended
- doesn't pwoer save while Bluetooth turns on
2015-01-15 17:08:49 +09:00
tmk
20caf673d8 Fix lufa sendchar() infinite wait loop
- FrameNumber is not updated when adapter powered
- can be blocked in sendchar() when pluged into AC adapter
2015-01-15 17:08:48 +09:00
tmk
05795cb003 Compensate timer during prower down 2015-01-15 17:08:48 +09:00
tmk
c2d830c07c USB initialize when plug-in during battery powered 2014-11-20 17:24:56 +09:00
tmk
32997200f7 Fix NKRO code when NKRO is disable 2014-07-20 00:31:40 +09:00
tmk
abe5edcaa7 Fix set LED for NKRO keyboard interface 2014-04-29 19:46:37 +09:00
tmk
b03717a10c Unused endpoint of console OUT is commentout'd 2014-04-29 19:45:01 +09:00
tmk
22854eb71b NKRO is disable when SET_PROTOCOL(boot)
- Command can force to enable NKRO even when boot mode
- After boot keyboard may be in boot mode due to BIOS' request
2014-04-27 05:36:41 +09:00
tmk
5e3f2d2b2e Make NKRO deafult when it is available
- NKRO is used only when keyboard_protocol = 1(report)
2014-04-27 04:16:49 +09:00
tmk
ad4cba172b Move macro definitions from lufa.c to lufa.h 2014-04-25 12:19:14 +09:00
tmk
a5d4a1f3e1 Return when ready check loop is timeouted(Fix #115) 2014-04-22 01:37:32 +09:00
tmk
532e100450 Add ps2_usart.c and fix set_led at USB wake 2013-11-28 11:31:48 +09:00
tmk
9d40be1990 Wait for USB starting up to make debug print available 2013-11-19 03:20:25 +09:00
tmk
d267ee2ada Fix LUFA blocking during startup
- Blocking occurs if built without option INTERRUPT_CONTROL_ENDPOINT
2013-09-25 12:23:14 +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
daa4a4235f Add NKRO support for LUFA 2013-07-28 17:34:41 +09:00
tmk
1eb67303ee Fix LUFA host driver for unconfigured state 2013-04-13 11:55:57 +09:00
tmk
afc3148e23 Add supsend and wakeup to pjrc stack 2013-03-27 15:18:08 +09:00
tmk
f0c5f1b910 Add breathing sleep LED during USB suspend 2013-03-16 17:24:05 +09:00
tmk
42f6ff0886 Add power down mode sleep and watchdog interrupt 2013-03-14 22:45:02 +09:00
tmk
c8cfde0138 Add intial code of RemoteWakeUp 2013-03-13 16:02:17 +09:00
tmk
e9e4c0edc5 Add support for LUFA-120730 2013-02-11 22:56:30 +09:00
tmk
16a583d7fd Fix usage of debug flag 2012-10-27 03:07:37 +09:00
tmk
4ae979f6ef Initial version of new code for layer switch is added. 2012-10-17 15:55:37 +09:00
tmk
45ea1874d6 Fix timeout logic of LUFA sendchar(), sned_*(). 2012-09-06 13:02:54 +09:00
tmk
c5060ea819 test build of 'Host shield' in minimal env. 2012-08-28 21:56:15 +09:00
tmk
7350b7c6aa Fix the way of sending out IN packet.
This fixes problem that it losts keycode when send keycodes in row in layer.c.
Undef CONSOLE_ENABLE build option makes this problem clear.
2012-08-28 21:12:45 +09:00
tmk
e075361b6f Add CONSOLE_ENABLE build option to LUFA. 2012-07-20 13:08:18 +09:00
tmk
8947029950 Interrupt driven Control ep and Console task 2012-07-08 23:57:25 +09:00
tmk
a112f3614e confirm SetReport LED. 2012-06-29 16:48:36 +09:00
tmk
f2ebac101d Add conditional compile for MOUSE_ENABLE and EXTRAKEY_ENABLE. 2012-06-29 03:33:59 +09:00
tmk
cc68adeb57 Add protocol/lufa. LUFA supported now. 2012-06-28 23:05:21 +09:00