Simultaneous custom 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.
Post Reply
stevebirenbaum1
New User
Posts: 6
Joined: Fri Oct 21, 2022 3:26 pm

Simultaneous custom keys

Post by stevebirenbaum1 »

Please fill in this template when posting!
XMBC Version:
Installed or Portable version: installed
Windows Version: windows 11
Mouse Information (brand/model): E-YOOSO / X-11 gaming mouse (got brand name by reading the box, so could be zeros and a five instead of letters "O" "S")
Relevant Computer Information (CPU, RAM etc):
Did the problem occur after an upgrade of XMBC? (If so, from what version?): no
Did the problem occur after a Windows update/upgrade? (If so, from what version?): no
How long have you used XMBC?: new -- trying to program buttons
What language and keyboard layout do you use in Windows?: English qwerty

Clear description of the problem - try and include as much information as possible, including what button and mappings you are having problems with (if applicable).:
My application, "Zoom Text," uses CAPSLOCK as the modifying key with other keys hit simultaneously.
For example:
CAPSLOCK + ENTER toggles the magnification on and off.
CAPSLOCK + Ctrl + up arrow increases the zoom magnification.
How can I program these functions into my mouse buttons?
Thanks, Steve
User avatar
phil
Site Admin
Posts: 7670
Joined: Sun Apr 06, 2003 11:12 pm

Re: Simultaneous custom keys

Post by phil »

Does caps lock have to be held down, or just turned on?

Have you already tried Simulated keystrokes with:
{CAPSLOCK}{ENTER} (Method 3 During)
{CAPSLOCK}{CTRL}{UP} (Method 3 During)

If not, then that's the first thing to try. If you have already tried this, then you may need more advanced scripts such as:
{CAPSLOCKON}{CTRL}{UP}{CAPSLOCKOFF} (With send method 1, 2 or maybe 3!)

However, I suspect if CAPLOCK needs to be held down, the you will have to use method 3 (during) otherwise it will be released before the CTRL/UP etc.
--[ 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)
stevebirenbaum1
New User
Posts: 6
Joined: Fri Oct 21, 2022 3:26 pm

Re: Simultaneous custom keys

Post by stevebirenbaum1 »

Thanks Phil
I should have been more precise in the definitions.

CapsLock needs to be held down for all the ensuing keys to work properly - Just like Ctl, Alt etc.

I don't know what you are referring to with Methods ... I just started so I guess I have a lot to learn.

Thanks again
stevebirenbaum1
New User
Posts: 6
Joined: Fri Oct 21, 2022 3:26 pm

Re: Simultaneous custom keys

Post by stevebirenbaum1 »

hello again ...

If by methods you mean the manner of clicking the mouse button I tried 1-3 with no luck.

Still don't know how to make the keys simultaneous.
User avatar
phil
Site Admin
Posts: 7670
Joined: Sun Apr 06, 2003 11:12 pm

Re: Simultaneous custom keys

Post by phil »

Methods to send the simulated key strokes - a drop down selection on the top right of the simkeys dialog

And I also have to apologise (in advance) as I’m actuallly in Florida right now on vacation (just landed) so I’m going to be a little slow in my responses until I get home!
--[ 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)
stevebirenbaum1
New User
Posts: 6
Joined: Fri Oct 21, 2022 3:26 pm

Re: Simultaneous custom keys

Post by stevebirenbaum1 »

I still haven't solved this and seems I am missing something obvious. any help greatly appreciated.
User avatar
Dolmatov
Committed
Posts: 149
Joined: Tue Sep 19, 2017 9:19 pm

Re: Simultaneous custom keys

Post by Dolmatov »

Looks like you should use {PRESS} {RELEASE}. Method 1,2.

Code: Select all

{PRESS}{CAPSLOCK}{RETURN}{RELEASE}{CAPSLOCK}
"KeyboardTestUtility" shows that the keystroke occurs according to the given scenario. If it doesn't work, try adding hold timers (wait, waitms to hold capslock after the tag name; PRESStoRELEASE or HOLD for RETURN) individually or together.
stevebirenbaum1
New User
Posts: 6
Joined: Fri Oct 21, 2022 3:26 pm

Re: Simultaneous custom keys

Post by stevebirenbaum1 »

I don't know this scripting language so can you give me an example of what the command line would look like to perform a hold or wait on the Capslock Return sequence?
User avatar
Dolmatov
Committed
Posts: 149
Joined: Tue Sep 19, 2017 9:19 pm

Re: Simultaneous custom keys

Post by Dolmatov »

An example is given above. In the middle there is only one additional command to press enter ({RETURN}).

The program has command descriptions and examples. The site has the user manual.
User avatar
phil
Site Admin
Posts: 7670
Joined: Sun Apr 06, 2003 11:12 pm

Re: Simultaneous custom keys

Post by phil »

Still away on vacation :D , Should be back on Sunday (but very jet lagged!). Maybe on Monday I will be able to get on this but don't count on it as I suspect I will be sleeping for a few days haha!
--[ 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