Prevent simultaneous x and y axis locking

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.
Post Reply
sbuttons
New User
Posts: 5
Joined: Thu Jan 06, 2022 4:17 pm

Prevent simultaneous x and y axis locking

Post by sbuttons »

I have the tilt wheel bound to x-/y-axis lock (Toggle) for a specific application. I'd like to figure out a way to prevent both axes from being locked simultaneously.

Is there a specific option for doing this? If I were able to bind the tilt wheel to the following commands, I think that would solve things.

Tilt right: disable y-axis lock, enable x-axis lock

Tilt left: disable x-axis lock, enable y-axis lock

XMBC Version: 2.19.2
Windows Version: 10
Mouse Information: Logitech MX3
User avatar
phil
Site Admin
Posts: 7627
Joined: Sun Apr 06, 2003 11:12 pm

Re: Prevent simultaneous x and y axis locking

Post by phil »

No this is not possible currently - there is no way inside the simkeys to toggle between x and y lock.
I may be able to add a simkey tag to do this - but if you just toggle - how would you unlock both/either axis when you are done?
--[ 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)
sbuttons
New User
Posts: 5
Joined: Thu Jan 06, 2022 4:17 pm

Re: Prevent simultaneous x and y axis locking

Post by sbuttons »

I don't necessarily need to toggle between them. I just want to prevent having both of them locked at the same time. For example, if the eahc lock axis key first checked that the other was disabled, then I think that would do it.
User avatar
phil
Site Admin
Posts: 7627
Joined: Sun Apr 06, 2003 11:12 pm

Re: Prevent simultaneous x and y axis locking

Post by phil »

OK, As I said, pretty sure this is not currently possible... I would have to add tags to toggle between X/Y lock.
Not difficult, but I have a massive list of things to do in XMBC and I havn't really found any time for it in the last year and a half and I don't see that changing soon as life is in the way too much! (although I will have wasted $80 for the signing certificate if I don't make a release in a few months so you never know!)

I'll add the ability to toggle between locked axis to the simkey tags.
--[ 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)
sbuttons
New User
Posts: 5
Joined: Thu Jan 06, 2022 4:17 pm

Re: Prevent simultaneous x and y axis locking

Post by sbuttons »

No worries. Thanks for the reply.
User avatar
phil
Site Admin
Posts: 7627
Joined: Sun Apr 06, 2003 11:12 pm

Re: Prevent simultaneous x and y axis locking

Post by phil »

Just a thought... Are you locking using the "Lock axis" in the dropdown or in simulated keystrokes?
Because in simulated keystrokes, you should be able to {UNLOCKXY} prior to {LOCKX} or {LOCKY} and that should ensure that both axis are not locked together. You cant do that in the mouse button dropdown(s), only in simulated keystrokes.

The next version will, if you select "Lock X Axis" in the drop down, unlock Y before locking X (if Y is locked) so this will become irrelevant.
The next version will also include (in simkeys) a tag {LOCKC} to cycle the locked axis (X -> Y -> None) so one button can cycle the state.

Regards,
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)
sbuttons
New User
Posts: 5
Joined: Thu Jan 06, 2022 4:17 pm

Re: Prevent simultaneous x and y axis locking

Post by sbuttons »

That should do it, but it does not seem to recognize any of the UNLOCK commands. I tried {UNLOCKY}, {UNLOCKX}, and {UNLOCKXY}. I also tested each of those commands by themselves but still no dice. It is possible that I'm missing a setting someplace, but I can wait for the next release.
User avatar
phil
Site Admin
Posts: 7627
Joined: Sun Apr 06, 2003 11:12 pm

Re: Prevent simultaneous x and y axis locking

Post by phil »

The unlock commands may be new (as in after 2.19.2). Im about to publish a beta of 2.20 which definitely has these (and the above mentioned changes) in it.

Probably wont be today (I'm running out of time) but hopefully I will get around to it this week - quite a few other changes and fixes so I need to give it a bit of a run out here first :)
--[ 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)
sbuttons
New User
Posts: 5
Joined: Thu Jan 06, 2022 4:17 pm

Re: Prevent simultaneous x and y axis locking

Post by sbuttons »

All good. I really appreciate the support. The next round is on me. :cheers:
Post Reply