Tricks and tips to get games to recognise simulated keys...

x64 Replacement/Alternative to Microsoft's IntelliMouse application.
Forum rules
Please read the forum rules before posting for the first time.
The more information you can provide, the quicker and more accurately someone can help.
NOTE: To reduce spam, new users can not post links, files or images until they have at least 4 posts.
Locked
User avatar
phil
Site Admin
Posts: 7772
Joined: Sun Apr 06, 2003 11:12 pm

Tricks and tips to get games to recognise simulated keys...

Post by phil »

Some games do not register keys that are sent too quickly (quicker than a normal user would generally react). This is often the reason for keys not working in games.

Here are a few tricks to try before raising an issue....
    1. 1. Try "During" mode when sending the simulated keys. This will usually work well for buttons but may not work for simulated keys on the mouse wheel/tilt
    • 2. Add a delay in-between the key down and up as follows, using "Pressed" mode to send the key, add {WAITMS:30} BEFORE the key. For example, to send the x key, try:
      {WAITMS:30}x
      Also, try different numbers in place of the 30 if that does not work.
    • 3. In v2.4, try changing the advanced setting: delay between simulated keystrokes and see if that makes any difference.

Thanks,
Phil
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
User avatar
phil
Site Admin
Posts: 7772
Joined: Sun Apr 06, 2003 11:12 pm

Re: Trick to get games to recognise simulated keys...

Post by phil »

As of v2.4 Beta 11, instead of putting {WAITMS:30} before the key, use the new tag {HOLDMS:30} to define how long the following key in the sequence is held down for.

Effectively this give you complete control as to how long a key is pressed down when sending the simulated key sequence.

Thanks,
Phil
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
User avatar
phil
Site Admin
Posts: 7772
Joined: Sun Apr 06, 2003 11:12 pm

Re: Tricks and tips to get games to recognise simulated keys

Post by phil »

Having said all of that, many new online games are using anti-cheat systems (for example, X-trap, Punkbuster & Gameguard) to block programs like X-Mouse Button Control and Auto-Hotkey and the likes.

A warning:
Also many of these games state in their T&C's that you must not run macros. Simulated keys are essentially just that so even if it works, be aware that you may be breaks the T&C's. If you choose to do so and it works, it is at your own risk. You can not hold XMBC or me responsible for any action taken against you for the use of simulated keystroke macros...

One such game, Air Rivals will not work with XMBC on 32bit Vista/7 but does work on 64bit Windows 7 (x64) - I don't know why and I don't yet know if this applies to other games.
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
SAVIOUR_
New User
Posts: 1
Joined: Sun Mar 18, 2012 3:03 pm

Re: Tricks and tips to get games to recognise simulated keys

Post by SAVIOUR_ »

  • Also, try different numbers in place of the 30 if that does not work.
How make work in game POINT BLANK [Left Click = Shoot , Then Q = Quick Change Weapon]
iam use XMouseButtonControlSetup.2.4 & write this tag {HOLDMS:50}Q

but that's doesn't work , Try Delay 30-100


can u Help My
User avatar
phil
Site Admin
Posts: 7772
Joined: Sun Apr 06, 2003 11:12 pm

Re: Tricks and tips to get games to recognise simulated keys

Post by phil »

I don't have the game so I cant help directly.

If the game is available for free/trial (I don't know?) then maybe I can try it for you?

However, you must be awarre that some (more and more) games just don't work or use Hackshield type of tech to block keyboard scripts/injectors because it is considered cheating. If it does that then you will not find any solution here.

Thanks,
Phil
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
Locked