2010-10-02 02:51:42 +00:00
|
|
|
t.m.k. Keyboard Firmware
|
|
|
|
========================
|
2010-10-02 17:37:06 +00:00
|
|
|
http://github.com/tmk/tmk_keyboard
|
|
|
|
|
2010-10-14 08:36:00 +00:00
|
|
|
This is keyboard firmware for PFU HHKB style keyboard and Teensy/Teensy++ 2.0.
|
2010-10-02 02:51:42 +00:00
|
|
|
OS see this as composite device which has keyboard and mouse.
|
|
|
|
|
|
|
|
The project is heavily based on PJRC USB Keyboard/Mouse Example and
|
|
|
|
owes a debt to preceding keyboard firmware projects.
|
2010-08-23 06:46:24 +00:00
|
|
|
|
|
|
|
|
2010-10-08 11:03:16 +00:00
|
|
|
Version
|
2010-08-23 06:46:24 +00:00
|
|
|
-------
|
|
|
|
0.1 2010/08/23
|
2010-10-02 02:51:42 +00:00
|
|
|
It works as normal keyboard.
|
|
|
|
It is for modified Macway keyboard(TP-999KB-E).
|
2010-08-23 06:46:24 +00:00
|
|
|
|
2010-10-02 02:51:42 +00:00
|
|
|
1.0 2010/10/02
|
|
|
|
keyboard has mouse key now.
|
|
|
|
keyboard with layers.(see keymap.c)
|
|
|
|
FN_1(right cmd):
|
|
|
|
vi style layer
|
|
|
|
FN_2(next to right shift):
|
|
|
|
HHKB style layer
|
|
|
|
FN_3(left bottom):
|
|
|
|
h j k l: mouse move
|
|
|
|
a s d spc: mouse buttons
|
|
|
|
m ,: mouse wheel
|
2010-08-23 06:46:24 +00:00
|
|
|
|
2010-10-08 11:03:16 +00:00
|
|
|
1.1 2010/10/08
|
|
|
|
Matrix wiring changed for casing.
|
|
|
|
(and my Teensy PD3 seems to be latchuped and unusable. :<)
|
2010-08-23 06:46:24 +00:00
|
|
|
|
2010-10-14 08:36:00 +00:00
|
|
|
1.2 2010/10/13
|
|
|
|
HHKB support
|
|
|
|
horizontal mouse wheel support
|
|
|
|
change keymaps
|
2010-10-08 11:03:16 +00:00
|
|
|
|
2010-10-14 08:36:00 +00:00
|
|
|
|
|
|
|
Build
|
|
|
|
-----
|
|
|
|
Compiling sources need AVR GCC, AVR Libc and GNU make.(You can use WinAVR on Windows.)
|
|
|
|
|
|
|
|
$ cd <target> (hhkb or macway)
|
|
|
|
$ make
|
|
|
|
|
|
|
|
|
|
|
|
AVR Target board
|
|
|
|
----------------
|
|
|
|
Teensy/Teensy++
|
2010-08-23 06:46:24 +00:00
|
|
|
http://www.pjrc.com/teensy
|
|
|
|
|
|
|
|
|
2010-10-08 11:03:16 +00:00
|
|
|
Projects related
|
2010-10-02 02:51:42 +00:00
|
|
|
----------------
|
|
|
|
PJRC USB Keyboard/Mouse Example
|
2010-08-23 06:46:24 +00:00
|
|
|
http://www.pjrc.com/teensy/usb_keyboard.html
|
2010-10-02 02:51:42 +00:00
|
|
|
http://www.pjrc.com/teensy/usb_mouse.html
|
2010-08-23 06:46:24 +00:00
|
|
|
kbupgrade
|
|
|
|
http://github.com/rhomann/kbupgrade
|
|
|
|
http://geekhack.org/showwiki.php?title=Island:8406
|
|
|
|
c64key
|
|
|
|
http://symlink.dk/projects/c64key/
|
|
|
|
rump
|
|
|
|
http://mg8.org/rump/
|
|
|
|
http://github.com/clee/rump
|
|
|
|
dulcimer
|
|
|
|
http://www.schatenseite.de/dulcimer.html
|
|
|
|
humblehacker-keyboard
|
|
|
|
http://github.com/humblehacker
|
|
|
|
http://www.humblehacker.com/keyboard/
|
|
|
|
http://geekhack.org/showwiki.php?title=Island:6292
|
|
|
|
ps2avr
|
|
|
|
http://sourceforge.net/projects/ps2avr/
|
|
|
|
|
|
|
|
|
2010-10-08 11:03:16 +00:00
|
|
|
TODO & ideas
|
|
|
|
------------
|
2010-10-02 02:51:42 +00:00
|
|
|
licensing notes(GPL)
|
|
|
|
I think GPL is not infringement of PJRC license.
|
|
|
|
souce code cleaning
|
|
|
|
sleep&wakeup
|
2010-10-08 11:03:16 +00:00
|
|
|
debouncing logic
|
2010-10-02 02:51:42 +00:00
|
|
|
will be coded when bouncing occurs.
|
|
|
|
bouncing doesnt occur on my ALPS switch so far.
|
|
|
|
scan rate is too slow?(to be measure)
|
2010-10-23 16:44:35 +00:00
|
|
|
layer switch
|
|
|
|
time before switching
|
|
|
|
timeout when not used during specific time
|
2010-10-08 11:03:16 +00:00
|
|
|
|
|
|
|
Trackpoint(PS/2)
|
|
|
|
receive PS/2 signal from TrackPoint
|
|
|
|
send USB HID report
|
2010-10-02 02:51:42 +00:00
|
|
|
Thinkpad keyboard support
|
2010-10-08 11:03:16 +00:00
|
|
|
turn keyboard to USB keyboard/mouse composite device
|
2010-10-02 02:51:42 +00:00
|
|
|
mouse horizontal wheel
|
2010-10-08 11:03:16 +00:00
|
|
|
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?)
|
2010-10-14 08:36:00 +00:00
|
|
|
AT90USBKEY support
|
|
|
|
and other AVR USB boards
|
|
|
|
|
|
|
|
DONE:
|
|
|
|
support for HHKB pro matrix signal
|
|
|
|
exchange controller board with teensy
|
|
|
|
2010/10/11
|
2010-10-23 16:44:35 +00:00
|
|
|
keymap
|
|
|
|
Matias half keyboard style
|
|
|
|
2010/10/23
|
|
|
|
souce code cleaning
|
|
|
|
2010/10/23
|
2010-10-02 02:51:42 +00:00
|
|
|
|
|
|
|
|
2010-08-23 06:46:24 +00:00
|
|
|
EOF
|