2.0 - Simulated keystroke for {LEFT} broken in during mode

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.
evilc
Member
Posts: 24
Joined: Mon May 10, 2010 12:22 am

2.0 - Simulated keystroke for {LEFT} broken in during mode

Post by evilc »

In 2.0, setting a button to "Simulated Keystrokes" and "During" for the arrow keys gives the number on the numberpad for that arrow.
So {LEFT} gives 4, {RIGHT} gives 6 etc.

If you set the remapping to "Pressed", the remap functions normally.
User avatar
phil
Site Admin
Posts: 7670
Joined: Sun Apr 06, 2003 11:12 pm

Re: 2.0 - Simulated keystroke for {LEFT} broken in during mo

Post by phil »

What is the state of the "Numlock" option in general settings and does it make any difference?
Also does the numlock key make 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)
evilc
Member
Posts: 24
Joined: Mon May 10, 2010 12:22 am

Re: 2.0 - Simulated keystroke for {LEFT} broken in during mo

Post by evilc »

Aha!
If numlock is on (Light lit) - I get 4. If it is off, I get left.
User avatar
phil
Site Admin
Posts: 7670
Joined: Sun Apr 06, 2003 11:12 pm

Re: 2.0 - Simulated keystroke for {LEFT} broken in during mo

Post by phil »

There is a setting in general settings to "Ignore" numlock state. Have you tried ticking that?
It is possible the the "during" mode is not respecting that setting while pressed etc. is. It would be good to know because it will make the fix (if required) more obvious.

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)
evilc
Member
Posts: 24
Joined: Mon May 10, 2010 12:22 am

Re: 2.0 - Simulated keystroke for {LEFT} broken in during mo

Post by evilc »

No I didn't, as it only manifests in "during" mode, i guessed it was a bug.
User avatar
phil
Site Admin
Posts: 7670
Joined: Sun Apr 06, 2003 11:12 pm

Re: 2.0 - Simulated keystroke for {LEFT} broken in during mo

Post by phil »

I just edited my previous post but incase you missed that....
It may still be a bug, that setting may be ignored in during mode. If you could check it would be nice to know.
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)
evilc
Member
Posts: 24
Joined: Mon May 10, 2010 12:22 am

Re: 2.0 - Simulated keystroke for {LEFT} broken in during mo

Post by evilc »

OK, confirmed - the option has no effect
User avatar
phil
Site Admin
Posts: 7670
Joined: Sun Apr 06, 2003 11:12 pm

Re: 2.0 - Simulated keystroke for {LEFT} broken in during mo

Post by phil »

Thanks, its a proper bug then :) I'll add it to the list
--[ 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)
evilc
Member
Posts: 24
Joined: Mon May 10, 2010 12:22 am

Re: 2.0 - Simulated keystroke for {LEFT} broken in during mo

Post by evilc »

Not sure I agree with the coding of this even when it is "working".
Surely sending {Left} should be the same no matter what the numlock status.

Surely there should be a key like {KP4} ("Keypad 4") that could be different things (ie Left or 4) depending on numlock state.
I say this because the arrow keys to the left of the keypad function no matter the state of numlock.
evilc
Member
Posts: 24
Joined: Mon May 10, 2010 12:22 am

Re: 2.0 - Simulated keystroke for {LEFT} broken in during mo

Post by evilc »

oops, there IS a {NUM4}
However, it works the opposite way !?!?

So Sending {Num4} ignores numlock state
But sending {Left} does not.

Illogical, this should be the other way around.
User avatar
phil
Site Admin
Posts: 7670
Joined: Sun Apr 06, 2003 11:12 pm

Re: 2.0 - Simulated keystroke for {LEFT} broken in during mo

Post by phil »

Ahhh ok I think I remember... Someone wanted to use the num keys and it was sending arrows... so I added the setting for the keys, but I think the arrows should also honour the same setting. eg. always send the left/right what ever the numlock state.

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)
evilc
Member
Posts: 24
Joined: Mon May 10, 2010 12:22 am

Re: 2.0 - Simulated keystroke for {LEFT} broken in during mo

Post by evilc »

phil wrote:but I think the arrows should also honour the same setting. eg. always send the left/right what ever the numlock state.
I am not sure I am getting you here - Do you mean "I agree, this should be changed", or "This is intentional"?

From what you are saying, the user's requirements would still be met by using the "Ignore numlock" setting and changing things to how I am proposing.
evilc
Member
Posts: 24
Joined: Mon May 10, 2010 12:22 am

Re: 2.0 - Simulated keystroke for {LEFT} broken in during mo

Post by evilc »

Mind you, thinking about it -the "Ignore numlock" option probably needs to be expanded.

I think you would want "Ignore numlock - process as if always ON", and "Ignore numlock - process as if always OFF"
evilc
Member
Posts: 24
Joined: Mon May 10, 2010 12:22 am

Re: 2.0 - Simulated keystroke for {LEFT} broken in during mo

Post by evilc »

Sorry to keep posting, but thinking about it there is probably a simpler solution.

You need 3 lots of tags

One set that adheres to Numlock state.
{KP1}, {KP2}, {KPIns} etc

Two sets that always ignore numlock state:
{NUM1} to {NUM9} - The Numlock ON versions
and
{NUMEnd}, {NUMDown}, {NUmPgDn}, [...] - The Numlock OFF versions.

Then you wouldn't need the "Ignore numlock" option and you could always specify exactly what you want.
User avatar
phil
Site Admin
Posts: 7670
Joined: Sun Apr 06, 2003 11:12 pm

Re: 2.0 - Simulated keystroke for {LEFT} broken in during mo

Post by phil »

I think Ive fixed this in v2.1 Beta2 (details here).

I have not gone down the route of all the extra options, I have just fixed left,right,up,down,ins,del,home,end,pgup & pgdn which were all broken in during mode (using the numpad versions of these keys instead of the "fixed" extended keys (to the left of the numpad on most keyboards).

Give it a try and let me know if its good for you.

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)
Post Reply