KungFu-Keyboard
From Sudelwiki
KungFu-Keyboard is an alternative Input-Device Project that i am working on.
Basically i want a Keyboard that i can kick and punch, so that i can combine sports and writing in one incredible choreopraphy.
So let's kick it ;)
Whatcha need:
- any old USB Keyboard
- gently rip it open and take out the controller
- solder a wire to each of the pins and connect them to an easier to use connection-interface
- gently rip it open and take out the controller
- create crazy buttons/switches and connect each one with two wires to your interface
- simplest button: two strips of aluminium-foil on a piece of wood, a glove with aluminium foil, start boxing ;)
I had a first blog-posting on this one over here:
More soon... ...many moons had gone by... ...cables and keyboards vanishing under layers of dust... ...where is teh KungFuCatPowa now?
Project Paused.
But with most things i had in mind, they will come to markets close to you sooner or later because somebody with more money will have made them reality. I just got bored with collecting-cable-leftovers and spend money that i don't got on this project. Sad but true: project paused.
At least i got a punching-bag now, still it's not good for writing...
...i got some Aluminium Gaffa-Tape too. I got the Keyboard-Chip ready to plug to my USB-Port - all i'd need would be more cables and buttons and motivation...
Contents |
xev - a Keyboard Key-Testing Program
xev ist ein Tasten-Test-Programm.
xev zeigt an welche Taste gerade gedrückt wurde, also welches Signal vom System registriert wurde.
xev zeigt Signale vom Keyboard und von der Maus an.
Collection of Keyboard/Mouse Converters & Configgers
WIP. Work in Progress.
jkeys
jkeys ist die einfachste Lösung um einer DanceMat/Joystick/GamePad beliebige Buchstaben/Maus-Events zuzuordnen.
jkeys ist etwas eingeschränkt, aber wie gehabt: es ist einfach und es funktioniert.
Mehr Infos zum jkeys-Key-Mapping-Programm:
Installation:
Das Programm hier runterladen:
- http://code.google.com/p/jkeys/
- Es handelt sich um ein Python-Script, entpacken und fertig.
Beim starten des Programms wird angegeben welche Tastenkonfigurations-Datei geladen werden soll.
jkeys konfigurationsdatei.joy firefox
Bei mir sieht das so aus:
./jkeys dancepad-for-floortip1.joy ardour2
Dieser Befehl startet Ardour mit der Konfigurationsdatei "dancepad-for-floortip1.joy", bei dieser Konfiguration arbeite ich im stehen und das DancePad liegt unter dem Schreibtisch, so daß ich die unteren drei Buttons mit den Füßen für Zusatzfunktionen verwenden kann, für Ardour sieht die Konfigurationsdatei "dancepad-for-floortip1.joy" zur Zeit so aus:
<config>
<joystick id="0">
<button number="4" key="d" />
<button number="1" key="l" />
<button number="5" key="n" />
</joystick>
</config>
Eine Konfiguration von "Space" und "Control" funktioniert bei mir gerade aus Grund X gerade nicht, obwohl ich meine, dass das schonmal geklaptt hätte.
Die Button-Nummern einer "StayCoolDancemat" laut jscalibrator:
oben = Button 2 links oben = Button 6 links = Button 0 links unten = Button 4 unten = Button 1 rechts unten = Button 5 rechts = Button 3 rechts oben = Button 7 start = Button 9 select = Button 8
j2mouse
js2mouse Konfiguration um die Maus mit einem Joystick/Joypad/Gamepad zu steuern
Quellen:
StayCoolDancemat Button-Nummerierung nach jscalibrator:
oben = Button 2 links oben = Button 6 links = Button 0 links unten = Button 4 unten = Button 1 rechts unten = Button 5 rechts = Button 3 rechts oben = Button 7 start = Button 9 select = Button 8
Das wird jetzt in die js2mouse-Config-Datei /etc/j2m_map geschrieben:
Maus per Keyboard/Tastatur steuern
System -> Accessibility -> Enable Mouse Keys
Joystick Joypad USB Dancemat kalibrieren/einstellen:
http://linuxgamingtoday.wordpress.com/2008/01/24/install-and-use-usb-based-gamepads-in-ubuntu/
Kernel-Module laden
Jetzt laden: sudo modprobe joydev
Auf Dauer laden: sudo vim /etc/modules joydev
Optional: analog (weiss nicht genau wofür)
jscalibrator
Meine USB-Matte mit den Daten von jscalibrator: DragonRise Inc. DragonRise USB Gamepad Device: /dev/input/js0 Driver Version 2.1.0 Calibration File /home/jobo/.joystick
jscalibrator erkennt irgendwas aka kalibrieren geht
---
dmesg sieht das hier: [ 5732.040000] input: USB Gamepad as /class/input/input13 [ 5732.040000] input: USB HID v1.10 Joystick [USB Gamepad ] on usb-0000:00:10.1-1
Strg+S
Kontakte für STRG und S gleichzeitig an einen Button connecten = geht nicht.
Joystick-Programme Übersicht
http://wiki.ubuntuusers.de/joy2key http://wiki.ubuntuusers.de/js2mouse
http://wiki.ubuntuusers.de/Joysticks http://wiki.ubuntuusers.de/XBox-Controller
hwinfo --mouse
protokolle: imps2 exps2 meine mäuse usen exps2 soweit ich das richtig sehe per hwinfo --mouse
Similar Projects
SoundSlam
http://interface.khm.de/index.php/kunstlerische-arbeiten/projekte/soundslam/
List of Human Computer Interfaces
http://en.wikipedia.org/wiki/Chorded_keyboard
http://en.wikipedia.org/wiki/Keyer
http://en.wikipedia.org/wiki/EyeTap
http://en.wikipedia.org/wiki/Sousveillance
http://en.wikipedia.org/wiki/Brain-computer_interface
http://www.informatik.uni-trier.de/~ley/db/conf/hci/hci2009-3.html
http://kreativkiez.blogspot.com/2009/11/alternative-eingabegerate-eine_4023.html
Collection of Cool Keyboards
Here's a nice Youtube-Vid with some Keyboards i never heard of:
Speech Control / Speech Recognition
List of Software on Wikipedia:
Linux
Not to be there soon.
Windows XP
Windows 7
Built-In Basic Speech Recognition.