Page 1 of 1

XMouse doesn't work with Russian keyboard?

Posted: Thu Jun 10, 2021 4:20 pm
by Alexdive
XMBC Version: v2.19.2
Windows Version: 10

XMouse works with assigned commands to a key only when English is enabled on the keyboard, it does not work when switching to Russian.

Re: XMouse doesn't work with Russian keyboard?

Posted: Thu Jun 10, 2021 5:22 pm
by phil
Are you saying that you want to send English keys/characters when your language is Russian? Or Russian characters when your language is English?

XMBC sends the scancodes of the keys, so if you type in the keys in one language, and then switch languages, I can see that being a problem (as the scan code may result in a different character). You may be able to force XMBC to send the virtual key code instead of the scancode which may help (but only if that key exists in your current language). It has to exist because all XMBC does is send to the keyboard buffer, and let Windows work with it from there - so the key must exist on your current keyboard layout. You can force specific virtual keycodes (and scancodes) using the tags:
{VKC:n} Sends the specified virtual key code.
{EXT:n} Sends the specified extended virtual key code.
{CLEAR} Clears any modifier tags {CTRL},{ALT} etc.
{SC:n} Sends the specified keyboard scan code.
{SCE:n} Sends the specified extended keyboard scan code.

Also, what is the checkbox "Load US English keyboard if no equivalent is available" set to in advanced settings? And does it make any difference if you change it?

Re: XMouse doesn't work with Russian keyboard?

Posted: Fri Jun 11, 2021 4:39 pm
by Alexdive
Thanks for the answer! the checkbox "English keyboard" does not help in any way to solve the problem, I tried both

Re: XMouse doesn't work with Russian keyboard?

Posted: Fri Jun 11, 2021 4:41 pm
by Alexdive
Please, in more detail about the virtual key, where to find or make it

Re: XMouse doesn't work with Russian keyboard?

Posted: Fri Jun 11, 2021 4:47 pm
by Alexdive
I only need two commands

1) CTRL+D
2) CTRL+R

Tell me how to make them

Re: XMouse doesn't work with Russian keyboard?

Posted: Fri Jun 11, 2021 5:01 pm
by phil
Virtual key codes: https://docs.microsoft.com/en-us/window ... -key-codes
But to be honest, I don't know if it will work, its been over 15 years since I last tried - let me know if it does!

Try:
{CTRL}{VKC:67} (for ctrl+d)
{CTRL}{VKC:82} (for ctrl+r)

Sorry for the short answer, I'm away this weekend and not at my main computer.

Re: XMouse doesn't work with Russian keyboard?

Posted: Sat Jun 12, 2021 6:22 pm
by Alexdive
Many thanks! It worked!

Re: XMouse doesn't work with Russian keyboard?

Posted: Fri Jul 09, 2021 10:28 am
by myrath
phil wrote: Fri Jun 11, 2021 5:01 pm Virtual key codes: https://docs.microsoft.com/en-us/window ... -key-codes
But to be honest, I don't know if it will work, its been over 15 years since I last tried - let me know if it does!

Try:
{CTRL}{VKC:67} (for ctrl+d)
{CTRL}{VKC:82} (for ctrl+r)

Sorry for the short answer, I'm away this weekend and not at my main computer.
Hi Phil,

This software is so great, that I couldn't even wait for guidance and figure out the combinations by intuition (I don't speak English very well).
A being 64 and it runs from there.

Just wanted to mentioned that :)

Thanks!