Making a key press 2 keys in game

Discussion, questions and support.
Post Reply
kingltss
Posts: 5
Joined: Jul 5th, ’14, 01:18

Post by kingltss » Apr 17th, ’14, 05:47

Hi,

I would like to know how to make my D key do the functions of the z and x keys when im in the game Rumble Fighter. So instead of pressing x and g at the same time, i can just press D.

Thank You
User avatar
Marko
Posts: 1726
Joined: Mar 2nd, ’13, 21:02

Post by Marko » Apr 17th, ’14, 09:31

You mean the two keys needs to be pressed at the same time or one after the other?

Try this:

Shortcut: ~D
Type=Command
Command:

Code: Select all

Send, {z down}{x down}{10}{x up}{z up}
or

Code: Select all

Send, {z}{x}
Some games can block the virtual key input. In this case you may also try to change the Send command to SendPlay or SendInput. Sometimes it is also needed to add some sleep commands between the key presses (I added 10ms). It really depends on the game. The second example is just sending two keys one after the other.
kingltss
Posts: 5
Joined: Jul 5th, ’14, 01:18

Post by kingltss » Apr 19th, ’14, 23:39

None of these worked. To clarify, I wanted z and x to be pressed at the same time when i press d. Is there any other way? The game is Rumble Fighter, and many people macro keys in there.
User avatar
Marko
Posts: 1726
Joined: Mar 2nd, ’13, 21:02

Post by Marko » Apr 21st, ’14, 10:39

You could also try:

Code: Select all

sendinput, {z down}
sleep, 5
sendinput, {x down}
sleep, 50
sendinput, {x up}
sleep, 5
sendinput, {z up}
or

Code: Select all

sendinput {z down}{x down}
While GetKeyState("z","P")
{
; do nothing
}
sendinput {z up}{x up}
You could also experiment with changing the delay time between the commands or changing sendinput to sendplay.
Works now?
kingltss
Posts: 5
Joined: Jul 5th, ’14, 01:18

Post by kingltss » Apr 23rd, ’14, 01:58

These did not work either D:

Maybe it is just the game but can you give me a code that presses these buttons in order in .02 seconds:

xc + zx + v
User avatar
Marko
Posts: 1726
Joined: Mar 2nd, ’13, 21:02

Post by Marko » Apr 23rd, ’14, 08:08

you mean like this?

Code: Select all

SendInput xc
Sleep 200
SendInput zx
Sleep 200
SendInput v
Have you tried SendPlay?
kingltss
Posts: 5
Joined: Jul 5th, ’14, 01:18

Post by kingltss » Apr 23rd, ’14, 22:03

It seems nothing suggested above works....I must be doing something wrong because many people macro those keys in the actual game. Any other suggestions, i tried all of them, changing from SendPlay,Input, etc
User avatar
Marko
Posts: 1726
Joined: Mar 2nd, ’13, 21:02

Post by Marko » Apr 23rd, ’14, 22:13

Can you check if it works for example in Notepad?

Could you give me the link to this game that I can try myself?
kingltss
Posts: 5
Joined: Jul 5th, ’14, 01:18

Post by kingltss » Apr 29th, ’14, 22:02

It works in notepad and word, but its just not working in the game.

Can't download the game anymore as of now sorry :(
Post Reply