1
0
Commit Graph

128 Commits

Author SHA1 Message Date
Robin Haberkorn
0bfba7acc4 factored out serial_mouse_init() into serial_mouse.h 2014-07-27 17:38:31 +02:00
Robin Haberkorn
7dde35d4f7 integrated serial mouse drivers as a feature into the firmware architecture
* can be enabled by defining Makefile macro SERIAL_MOUSE_MICROSOFT_ENABLE or
   SERIAL_MOUSE_MOUSESYSTEMS_ENABLE.
 * Serial implementation can be chosen via SERIAL_MOUSE_USE_SOFT and
   SERIAL_MOUSE_USE_UART macros
 * UART configuration still has to be done in config.h: I added working clauses
   for both mouse protocols to ps2_usb's config.h
2014-07-27 17:38:31 +02:00
Robin Haberkorn
6bf8000e63 added serial mouse driver for Microsoft and Mousesystems mice
* Both drivers use the interface defined in serial_mouse.h
 * They should work with any UART implementation (hardware/software UART)
 * The Microsoft driver is currently untested.
   The Mousesystems driver is confirmed to work.
2014-07-27 16:23:23 +02:00
tmk
79840c678e Just ignore ADB Service Request
- to support Adjustable keyboard(composite device?)
2014-07-21 18:17:52 +09:00
tmk
32997200f7 Fix NKRO code when NKRO is disable 2014-07-20 00:31:40 +09:00
tmk
382eaebd3d Fix debug print of ps2_mouse 2014-06-15 14:04:16 +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
110eea578b Fix remotewakeup of PJRC stack(Fix #121)
- without this fix wakeup often fails
- keyboard can wakeup once or twice but fails after that
2014-04-28 16:41:35 +09:00
tmk
37cf260764 Check if LUFA-git really exists(Fix #118) 2014-04-28 08:55:07 +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
fc3a20c534 Add LUFA git repository(release 140302) 2014-04-25 13:39:35 +09:00
tmk
ad4cba172b Move macro definitions from lufa.c to lufa.h 2014-04-25 12:19:14 +09:00
tmk
3c5add5f80 Change LUFA build options 2014-04-24 11:26:06 +09:00
tmk
a5d4a1f3e1 Return when ready check loop is timeouted(Fix #115) 2014-04-22 01:37:32 +09:00
tmk
c6902681e7 Change PollingIntervalMS to 10ms(Fix #114) 2014-04-21 12:18:12 +09:00
tmk
902afcc509 Add doc 4704.txt and protocol comment 2014-02-10 11:05:18 +09:00
tmk
54a06c2520 Change error no and clean debug code 2014-02-10 06:46:43 +09:00
tmk
ebe951a445 Add Initial files of 4704_usb 2014-02-09 02:42:17 +09:00
Benjamin Gould
f7bb7c4fa9 Added NeXT keyboard converter 2014-01-06 17:07:10 -05:00
tmk
f3132adb33 Merge pull request #81 from bgould/master
Add support for Adafruit's Bluefruit
2013-11-27 23:23:08 -08:00
tmk
8b4fa599cf Add included header file and fix debug print 2013-11-28 14:44:59 +09:00
tmk
4eb27ee890 Add ps2_interrupt.c 2013-11-28 14:20:00 +09:00
tmk
532e100450 Add ps2_usart.c and fix set_led at USB wake 2013-11-28 11:31:48 +09:00
Benjamin Gould
f7db144959 changed tabs to spaces in bluefruit.c 2013-11-27 00:32:20 -05:00
Benjamin Gould
05792e2b83 Added bluefruit protocol and converter for 70% M 2013-11-27 00:24:57 -05:00
tmk
9d26053f1c Fix ps2_host_recv_response 2013-11-26 14:31:57 +09:00
tmk
9ae9742ac5 Add ps2_busywait.c and recfactor PS/2 protocol 2013-11-25 17:43:26 +09:00
tmk
772ab7025d Merge branch 'ps2_mouse_fix' 2013-11-21 13:01:47 +09:00
tmk
ccbc1dd8e7 Fix PS/2 USART version 2013-11-21 12:23:29 +09:00
tmk
416a5b849e Fix interrupt version of ps2.c 2013-11-21 10:29:29 +09:00
tmk
c6abcb6d89 Add build options of ps2_mouse 2013-11-20 15:28:58 +09: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
44d2d5f5fd Fix delay of PS/2 mouse init 2013-11-19 03:25:31 +09:00
tmk
9d40be1990 Wait for USB starting up to make debug print available 2013-11-19 03:20:25 +09:00
tmk
94823030f0 Add cli() to protoect ADB critical timing part 2013-11-08 04:25:22 +09:00
tmk
676d94d137 Fix PS/2 mouse support 2013-11-02 04:30:08 +09:00
tmk
1591764cfb Tweak time values of busywait PS/2 2013-11-02 03:07:59 +09:00
tmk
c18c52f551 Merge blargg's fix into adb.c
- <http://geekhack.org/index.php?topic=14290.msg1075201#msg1075201>
2013-10-14 23:37:05 +09:00
tmk
86082f90fa Change ADB scan delay 12ms 2013-10-09 12:20:03 +09:00
tmk
e8e8f93bcf Fix ADB missing keystrokes problem Thanks, blargg! #14
- Add delay between scans to prevent overlaod of ADB keyboard controllers
- <http://geekhack.org/index.php?topic=14290.msg1068919#msg1068919>
2013-10-08 12:23:25 +09:00
tmk
48662ace8b Fix build error and debug print PJRC stack #69 #68 2013-10-08 10:49:13 +09:00
tmk
cb434cfebc Remove clear matrix on ADB recv error 2013-10-04 15:03:42 +09:00
tmk
a0f9c1fb4f Merge branch 'm0110_keymap_section' 2013-09-25 21:08:41 +09:00
tmk
b9d59f33f2 Add M0120 scan code diagram 2013-09-25 15:20:21 +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
febdf10602 Remove procedures not neeed from init of M0110 2013-09-21 15:45:42 +09:00
tmk
daa4a4235f Add NKRO support for LUFA 2013-07-28 17:34:41 +09:00