qbix, I started writing the above post before you wrote yours(I write very slowly - bad English).
As I said, I thought it has been longer than a day, and apologized, there no need for threats as they never contribute to anything.
But what I can not understand is why are you claiming I PMed anyone? I NEVER did such a thing, please explain your comment.
eL_PuSHeR: Thank you for your kind suggestion, but I think it's best to leave it here for now (I got rebuked enough for one day(pardon the pun) 😉 )
wd wrote:
Try something like "ADDKEY p100 l500 s-a-left"
s=shift a=alt (the left just as some key has to be pressed, left should not hurt)
Although this works (no need for the pause or the pressed-length-delay), It emulates the Alt and Shift of the LEFT side of the keyboard, as you can see from ADDKEY code:
1... 2 if (shift) { 3+ if (delay == 0) KEYBOARD_AddKey(KBD_leftshift,true); 4+ else PIC_AddEvent(&delayed_press,delay++,KBD_leftshift); 5+ } 6+ if (control) { 7+ if (delay == 0) KEYBOARD_AddKey(KBD_leftctrl,true); 8+ else PIC_AddEvent(&delayed_press,delay++,KBD_leftctrl); 9+ } 10+ if (alt) { 11+ if (delay == 0) KEYBOARD_AddKey(KBD_leftalt,true); 12+ else PIC_AddEvent(&delayed_press,delay++,KBD_leftalt); 13+ } 14...
While I actually need both right and left Shift(as stated before, the TSR doesn't care which Alt is pressed).
However, it doesn't matter anymore, I sat for several hours and simply tested every number manually, although I object to this kind of solution (I always prefer finding an efficient way of doing a task - even if it takes more time - in the long run it always pays off) I had no choice.
By the way, it works like a charm and 100% of the time, this is a REALLY cool command, IMHO it should go into the official build(maybe make it more user friendly or add a GUI or even add it to the key mapper utility), it makes life so much easier in regards to some games(Golden Axe, Bumpy, etc..) and can do some really cool stuff (A batch file which configures a game setup.exe automatically !).
Anyway, I'll write the list of numbers here and hopefully it will help other people who want to use this command:
*Just a quick note to anyone reading this post in order to learn how to use the ADDKEY command: In 99% of the cases you do not need the following list, when applicable, use the simple mode as described in The ADDKEY patch page
1-10 = 1-0(not keypad)
11-36 = a-z(order of letters is not alphabetic but Qwerty and left to right and top to bottom)
37-49 = F1-F12
50 = Tab
51 = Backspace
52 = Enter
53 = Space
54 = Left Alt
55 = Right Alt
56 = Left Ctrl
57 = Right Ctrl
58 = Left Shift
59 = Right Shift
60 = Caps Lock(Does not actually lock - probably a bug)
61 = Scroll Lock[?] (Does not actually lock - probably a bug)
62 = NumLock (Does not actually lock - probably a bug)
63 = `
64 = -
65 = =
66 = \
67 = [
68 = ]
69 = ;
70 = '
71 = .
72 = ,
73 = /
74 = \
75 = PrntScrn
76 = Pause
77 = Insert
78 = Home
79 = PgUp
80 = Delete (not keypad)
81 = End
82 = PgDn
83 = Left
84 = Up
85 = Down
86 = Right
87 -96 = 1-0(keypad)
97 = / (keypad)
98 = *
99 = -(keypad)
100 = +
101 = Enter (keypad)
102 = Del (keypad)
[EOF]