more than one window

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.
Post Reply
Yekun
New User
Posts: 2
Joined: Sun Oct 21, 2018 9:19 pm

more than one window

Post by Yekun » Sun Oct 21, 2018 9:32 pm

I play a game called Lineage2 and use x-mouse normally. The game runs in window, and I keep 4 or 5 windows of this game open at the same time, but the x-mou runs in only one window at a time. Is there any configuration that allows me to run the x-mouse with different commands and simultaneously in each separate and minimized "vitual mouse" window of my game? If not, is it possible to add this in new versions? thanks allot

User avatar
phil
Site Admin
Posts: 5550
Joined: Sun Apr 06, 2003 11:12 pm

Re: more than one window

Post by phil » Sun Oct 21, 2018 9:52 pm

Sorry, I don't really understand the questions.

I presume you are talking about sending actions.keystrokes to the game window? In terms of simulated keystrokes, XMBC works with the active window - the one that has keyboard focus. That is because when sending simulated keys, they are stuffed into the keyboard input buffer - so they go to whatever window has keyboard focus. XMBC cant do anything about that, other than changing focus by activating the window under the cursor (which you can do by adding a {LMB} ot {ACTIVATE} tag before your keys.

So no, there is not a lot that I can do in this area in future versions that is not already available. But you might get some mileage with the {activate} tags to activate the window so that it has keyboard focus before sending any actions???

Thanks,
Phil
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9, Logitech MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, Intel i5-6600k, Asus 170-A, 16GB DDR4,
nVidia GeForce GTX 970, 2xEvo 850 (RAID 0), 2x2TB WD Black (RAID1)

Yekun
New User
Posts: 2
Joined: Sun Oct 21, 2018 9:19 pm

Re: more than one window

Post by Yekun » Mon Oct 22, 2018 3:54 pm

Thanks for your response.
I need commands in the open window (today it works normally) and also in the minimized window simultaneously even if it is necessary, perhaps, to open two x-mouse, or emulate some "virtual mouse".
I will wait for new versions, thanks

User avatar
phil
Site Admin
Posts: 5550
Joined: Sun Apr 06, 2003 11:12 pm

Re: more than one window

Post by phil » Mon Oct 22, 2018 4:23 pm

I'm sorry to disappoint but that is not possible. You can wait for new versions for as long as you want, but I simply cant do it so no new version will be able to do it.

XMBC uses Micrsoft's SendInput API to send keystrokes etc. This API stuffs data into the Windows keyboard buffer. Windows then distributes that buffer TO THE ACTIVE window ONLY. If you had two xmbc open (even if that were possible which is isn't as XMBC is global anyway) it wouldn't matter, because they still would both only be able to send input to the same buffer in Windows. Windows does not allow you to send simulated input to anything BUT the active window using Microsoft's SendInput API (which is the only reliable way of sending input).
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9, Logitech MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, Intel i5-6600k, Asus 170-A, 16GB DDR4,
nVidia GeForce GTX 970, 2xEvo 850 (RAID 0), 2x2TB WD Black (RAID1)

Post Reply