CAPSLOCK

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
kagyosunu
New User
Posts: 9
Joined: Tue Nov 19, 2024 2:48 pm

CAPSLOCK

Post by kagyosunu »

Please fill in this template when posting!
XMBC Version: 2.20.5 (64bit)
Installed or Portable version: Portable
Windows Version: Windows10
Mouse Information (brand/model):Logicool M705
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?: 3 days
What language and keyboard layout do you use in Windows?: Japanese

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).:

Is there a way to simulate pressing the CAPSLOCK key alone (rather than pressing it together with the SHIFT key)?
User avatar
phil
Site Admin
Posts: 7875
Joined: Sun Apr 06, 2003 11:12 pm

Re: CAPSLOCK

Post by phil »

Yes... {CAPSLOCK}...
Untitled.png
Is that so hard to find?
You do not have the required permissions to view the files attached to this post.
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 11 x64 24H2, AMD Ryzen 9950x3D, MSI x870E Tomahawk, 64GB DDR%,
nVidia RTX 2070s (still lol)
kagyosunu
New User
Posts: 9
Joined: Tue Nov 19, 2024 2:48 pm

Re: CAPSLOCK

Post by kagyosunu »

Thank you for your answer.
And thank you for letting me use your useful software.

{CAPSLOCK} seems to be the equivalent of "Shift+CAPSLOCK" on a keyboard, so I'd like to know if there is an equivalent to "CAPSLOCK only" on a keyboard.
User avatar
phil
Site Admin
Posts: 7875
Joined: Sun Apr 06, 2003 11:12 pm

Re: CAPSLOCK

Post by phil »

SHIFT+CAPSLOCK and CAPSLOCK (without shift) are identical on my keyboard...
What's the difference between the two on yours? Must be a language/layout specific thing?
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 11 x64 24H2, AMD Ryzen 9950x3D, MSI x870E Tomahawk, 64GB DDR%,
nVidia RTX 2070s (still lol)
kagyosunu
New User
Posts: 9
Joined: Tue Nov 19, 2024 2:48 pm

Re: CAPSLOCK

Post by kagyosunu »

Thank you for your reply.

I have assigned the play/pause function of the music player to the "CAPSLOCK key only" (not the Shift+CAPSLOCK key), so I thought it would be convenient if I could control it with the mouse as well.
User avatar
phil
Site Admin
Posts: 7875
Joined: Sun Apr 06, 2003 11:12 pm

Re: CAPSLOCK

Post by phil »

But I don't understand shift+capslock ....
On my keyboard, pressing capslock and shift+capslock makes no difference. And {CAPSLOCK} is XMBC should not be pressing SHIFT at the same time.
More to the point, using a keyboard tester (like https://en.key-test.ru/) shows that XMBC {CAPSLOCK} is not sending SHIFT+CAPSLOCK, but just CAPSLOCK....

Im confused.
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 11 x64 24H2, AMD Ryzen 9950x3D, MSI x870E Tomahawk, 64GB DDR%,
nVidia RTX 2070s (still lol)
kagyosunu
New User
Posts: 9
Joined: Tue Nov 19, 2024 2:48 pm

Re: CAPSLOCK

Post by kagyosunu »

I wonder if this is because I'm using Japanese Windows or a Japanese keyboard.

In my environment, "CAPSLOCK" only responds when I press "Shift+CAPSLOCK" on that site.

(On that site, if I press "CAPSLOCK only", nothing happens.)
User avatar
phil
Site Admin
Posts: 7875
Joined: Sun Apr 06, 2003 11:12 pm

Re: CAPSLOCK

Post by phil »

Oh OK it must be something specific to the Japanese keyboard layout then - that's going to be tricky to figure out. XMBC sends the scancode for CAPSLOCK (which I guess is in your case meaning shift+capslock, I'm not sure how I can make that any different right now!

I will have to try and setup a Japanese windows to see if I can reproduce it, then work out how to change it.
That's going to take some time so I cant make any promises as to when I will get around to that (no free weekends coming up for a while!)
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 11 x64 24H2, AMD Ryzen 9950x3D, MSI x870E Tomahawk, 64GB DDR%,
nVidia RTX 2070s (still lol)
kagyosunu
New User
Posts: 9
Joined: Tue Nov 19, 2024 2:48 pm

Re: CAPSLOCK

Post by kagyosunu »

I would be happy if that were possible, but it doesn't seem like anyone else is having any trouble, so treasure your weekend.
kagyosunu
New User
Posts: 9
Joined: Tue Nov 19, 2024 2:48 pm

Re: CAPSLOCK

Post by kagyosunu »

After doing some research, I found that the "Caps Lock" key on a Japanese keyboard is "vkF0sc03A", but is it possible to use this to assign it to XMBC?
(I tried all of the "Key Simulation" "{VKC:F0}", "{EXT:F0}", "{SC:03A}", and "{SCE:03A}", but nothing happened. Am I doing it wrong?)
kagyosunu
New User
Posts: 9
Joined: Tue Nov 19, 2024 2:48 pm

Re: CAPSLOCK

Post by kagyosunu »

After that I wrote it in decimal instead of hex and it worked!!!
User avatar
phil
Site Admin
Posts: 7875
Joined: Sun Apr 06, 2003 11:12 pm

Re: CAPSLOCK

Post by phil »

Glad to hear it - good research!
I *think* XMBC will accept it in HEX so long as it is prefixed with 0x so 0xF0 (but I'm not 100% sure).
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 11 x64 24H2, AMD Ryzen 9950x3D, MSI x870E Tomahawk, 64GB DDR%,
nVidia RTX 2070s (still lol)
kagyosunu
New User
Posts: 9
Joined: Tue Nov 19, 2024 2:48 pm

Re: CAPSLOCK

Post by kagyosunu »

Does "0x" mean that it's a hexadecimal number?

By the way, what I typed was {VKC:240}.
Apparently, this key alone without the Shift key is called the "alphanumeric key" rather than the Caps Lock key.
User avatar
phil
Site Admin
Posts: 7875
Joined: Sun Apr 06, 2003 11:12 pm

Re: CAPSLOCK

Post by phil »

Yes generally (at least in C++) HEX numbers are prefixed by 0x to indicate it is HEX. IF XMBC works with hex in these tags (I cant remember for sure) then it will be using the same convention (if it does not it probably should!!).
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 11 x64 24H2, AMD Ryzen 9950x3D, MSI x870E Tomahawk, 64GB DDR%,
nVidia RTX 2070s (still lol)
kagyosunu
New User
Posts: 9
Joined: Tue Nov 19, 2024 2:48 pm

Re: CAPSLOCK

Post by kagyosunu »

Thank you for teaching me!!!
Post Reply