[sdiy] usb keyboard matrix hack

Dave Krooshof synthos at xs4all.nl
Wed Aug 11 01:02:13 CEST 2004


>>The physical keys of the keypad are allready in the trash.
yeah
y...
>
>>So I wondered... Just to keep things simple...
>>Is there a logic gate that behaves like relais, so I can fake the keys?
>
>What I'd like to know is, why didn't you simply wire the switches inside
>the joystick, to the circuit board of the numeric keypad?
A numeric keyboard doen't do key-combo's.
f.i: If I put the joystick in the up+left position, I want the 7 to 
be "pressed".
So there's logic that does AND: Lef AND up.
Likewise, I check for dubbles: I want the 8 (=up) to be pressed only
when I have the joystick in the up position, so if the left switch
or the right switch is pressed as well, the 8 should not be pressed, it should
be either a 7 or a 9. This involves XOR logic.

Then there are 6 fire buttons. They should only be available as soon
as the joystick is in neutral position.

Last, I don't want the keys to repeat. So the pulse I send is only 
1/10 sec long.

>Probably all you
>need to do is wire the joystick switches in parallel to the numeric keypad
>switches, or you could remove the numeric switches, and wire the joystick
>switches in place of them.
I could. But I wanted a bit more!

-- 
--

groets,

_          >^v<        _

website http://www.dendriet.nl



More information about the Synth-diy mailing list