1
0
Commit Graph

128 Commits

Author SHA1 Message Date
Robin Haberkorn
1f822eb8a8 serial_mouse: simplified clipping of X/Y/V/H changes below -127 using a MAX macro 2014-07-27 17:38:32 +02:00
Robin Haberkorn
5e0bb51cb1 factored out serial_mouse_init() into serial_mouse.h 2014-07-27 17:38:31 +02:00
Robin Haberkorn
a9398c4c9b 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
d7899bd05f 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
472603fe3e Just ignore ADB Service Request
- to support Adjustable keyboard(composite device?)
2014-07-21 18:17:52 +09:00
tmk
b75ece52a2 Fix NKRO code when NKRO is disable 2014-07-20 00:31:40 +09:00
tmk
dd73ce4a6b Fix debug print of ps2_mouse 2014-06-15 14:04:16 +09:00
tmk
6f66f9955c Fix set LED for NKRO keyboard interface 2014-04-29 19:46:37 +09:00
tmk
81a928d9e3 Unused endpoint of console OUT is commentout'd 2014-04-29 19:45:01 +09:00
tmk
a1f49ff8c1 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
efc983a07d Check if LUFA-git really exists(Fix #118) 2014-04-28 08:55:07 +09:00
tmk
ca8de4f93d 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
b0a91cd565 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
4975e79845 Add LUFA git repository(release 140302) 2014-04-25 13:39:35 +09:00
tmk
82415ef515 Move macro definitions from lufa.c to lufa.h 2014-04-25 12:19:14 +09:00
tmk
7707f6ab10 Change LUFA build options 2014-04-24 11:26:06 +09:00
tmk
8b4822d40c Return when ready check loop is timeouted(Fix #115) 2014-04-22 01:37:32 +09:00
tmk
9dcb2b3a7e Change PollingIntervalMS to 10ms(Fix #114) 2014-04-21 12:18:12 +09:00
tmk
464caa1c31 Add doc 4704.txt and protocol comment 2014-02-10 11:05:18 +09:00
tmk
22e0d9785e Change error no and clean debug code 2014-02-10 06:46:43 +09:00
tmk
4150bec5c9 Add Initial files of 4704_usb 2014-02-09 02:42:17 +09:00
Benjamin Gould
9ec861c7e0 Added NeXT keyboard converter 2014-01-06 17:07:10 -05:00
tmk
90cfee5191 Merge pull request #81 from bgould/master
Add support for Adafruit's Bluefruit
2013-11-27 23:23:08 -08:00
tmk
83634bfa2c Add included header file and fix debug print 2013-11-28 14:44:59 +09:00
tmk
90c6f003ec Add ps2_interrupt.c 2013-11-28 14:20:00 +09:00
tmk
7d193e2440 Add ps2_usart.c and fix set_led at USB wake 2013-11-28 11:31:48 +09:00
Benjamin Gould
a28376e930 changed tabs to spaces in bluefruit.c 2013-11-27 00:32:20 -05:00
Benjamin Gould
0b5af532ed Added bluefruit protocol and converter for 70% M 2013-11-27 00:24:57 -05:00
tmk
00c71f2d21 Fix ps2_host_recv_response 2013-11-26 14:31:57 +09:00
tmk
084bdb977e Add ps2_busywait.c and recfactor PS/2 protocol 2013-11-25 17:43:26 +09:00
tmk
5e04455b08 Merge branch 'ps2_mouse_fix' 2013-11-21 13:01:47 +09:00
tmk
591c588079 Fix PS/2 USART version 2013-11-21 12:23:29 +09:00
tmk
20d283ea0c Fix interrupt version of ps2.c 2013-11-21 10:29:29 +09:00
tmk
ec0e762ea5 Add build options of ps2_mouse 2013-11-20 15:28:58 +09:00
tmk
a045313fa3 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
8e8d2cc53d Fix delay of PS/2 mouse init 2013-11-19 03:25:31 +09:00
tmk
448d2ed1f8 Wait for USB starting up to make debug print available 2013-11-19 03:20:25 +09:00
tmk
90e0dfe75f Add cli() to protoect ADB critical timing part 2013-11-08 04:25:22 +09:00
tmk
755b81f0ad Fix PS/2 mouse support 2013-11-02 04:30:08 +09:00
tmk
74eb8aef99 Tweak time values of busywait PS/2 2013-11-02 03:07:59 +09:00
tmk
98a6519a61 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
060f222c77 Change ADB scan delay 12ms 2013-10-09 12:20:03 +09:00
tmk
19e19f1857 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
1e26700507 Fix build error and debug print PJRC stack #69 #68 2013-10-08 10:49:13 +09:00
tmk
44bee03114 Remove clear matrix on ADB recv error 2013-10-04 15:03:42 +09:00
tmk
4eb4ccf713 Merge branch 'm0110_keymap_section' 2013-09-25 21:08:41 +09:00
tmk
22f44f9551 Add M0120 scan code diagram 2013-09-25 15:20:21 +09:00
tmk
0e22053d35 Fix LUFA blocking during startup
- Blocking occurs if built without option INTERRUPT_CONTROL_ENDPOINT
2013-09-25 12:23:14 +09:00
tmk
b482e655ad 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
fcfff810a3 Remove procedures not neeed from init of M0110 2013-09-21 15:45:42 +09:00