Browse Source

change matrix pinouts.

tags/v1.9
tmk 13 years ago
parent
commit
2c453c7269
2 changed files with 28 additions and 14 deletions
  1. 26
    12
      README
  2. 2
    2
      matrix.c

+ 26
- 12
README View File

owes a debt to preceding keyboard firmware projects. owes a debt to preceding keyboard firmware projects.




VERSION
Version
------- -------
0.1 2010/08/23 0.1 2010/08/23
It works as normal keyboard. It works as normal keyboard.
a s d spc: mouse buttons a s d spc: mouse buttons
m ,: mouse wheel m ,: mouse wheel


1.1 2010/10/08
Matrix wiring changed for casing.
(and my Teensy PD3 seems to be latchuped and unusable. :<)


target board

Target board
------------ ------------
Teensy 2.0 Teensy 2.0
http://www.pjrc.com/teensy http://www.pjrc.com/teensy




projects related
Projects related
---------------- ----------------
PJRC USB Keyboard/Mouse Example PJRC USB Keyboard/Mouse Example
http://www.pjrc.com/teensy/usb_keyboard.html http://www.pjrc.com/teensy/usb_keyboard.html
http://sourceforge.net/projects/ps2avr/ http://sourceforge.net/projects/ps2avr/




TODO
----
TODO & ideas
------------
licensing notes(GPL) licensing notes(GPL)
I think GPL is not infringement of PJRC license. I think GPL is not infringement of PJRC license.
souce code cleaning souce code cleaning
sleep&wakeup sleep&wakeup
debouncing
debouncing logic
will be coded when bouncing occurs. will be coded when bouncing occurs.
bouncing doesnt occur on my ALPS switch so far. bouncing doesnt occur on my ALPS switch so far.
scan rate is too slow?(to be measure) scan rate is too slow?(to be measure)
setting menu(wizard)
debug console
keymap setting
matrix display
PS/2 keyboard mode

support for HHKB pro matrix signal support for HHKB pro matrix signal
Trackpoint(PS/2) support
exchange controller board with teensy
Trackpoint(PS/2)
receive PS/2 signal from TrackPoint
send USB HID report
Thinkpad keyboard support Thinkpad keyboard support
turn keyboard to USB keyboard/mouse composite device
mouse horizontal wheel mouse horizontal wheel
http://www.microchip.com/forums/tm.aspx?high=&m=391435&mpage=1#391521
http://www.keil.com/forum/15671/
http://www.microsoft.com/whdc/device/input/wheel.mspx
setting menu(configure without changing firmware)
console for display
keymap/layer setting
mouse speed/acceleration
matrix display
PS/2 keyboard mode
with USB to PS/2 dumb adapter(possible?)




EOF EOF

+ 2
- 2
matrix.c View File



// matrix is active low. (key on: 0/key off: 1) // matrix is active low. (key on: 0/key off: 1)
// row: Hi-Z(unselected)/low output(selected) // row: Hi-Z(unselected)/low output(selected)
// PD:0,1,2,3,6,7/PC:6,7/PF:7
// PD0, PC7, PD7, PF6, PD6, PD1, PD2, PC6, PF7
// col: input w/pullup // col: input w/pullup
// PB:0-8
// PB0-PB7


// matrix state buffer // matrix state buffer
uint8_t *matrix; uint8_t *matrix;

Loading…
Cancel
Save