How to make hardware based key macros?
I want to produce a keyboard-like device that combines useful key combinations like Ctrl+Alt+Delete and Alt+F4 into a single set of keys (One key for each macro).
I have no experience of programming, so I wanted to gut a keyboard, and splice all the "positive" terminals for each key onto eachother, then have a switch (The button) leading the "negative" wires to a negative terminal. Since, in this case, the Alt key would be used twice, I was thinking that adding a diode to the Alt's "positive" wire before the other keys were spliced on, and splicing the F4 key's "positive" on before the diode would prevent the Ctrl+Delete being sent too when attempting an Alt+F4. Fairly confusing description, so I've tried to explain in the diagram.
In short, would this work, or does each key need its corresponding "positive" and "negative" terminals to be left alone? Cheers in advance!