Only enable if external mouse is connected

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 or images until they have at least 4 posts.
Post Reply
Daniel15
New User
Posts: 2
Joined: Mon Aug 28, 2017 7:29 pm

Only enable if external mouse is connected

Post by Daniel15 » Mon Aug 28, 2017 7:35 pm

Is there a way to only enable XBMC if an external mouse is connected? I know the FAQ says that the behaviour can't differ based on which mouse is being used, but my ask is much simpler: Enable when mouse is connected, disable when mouse is disconnected. Currently I do this manually. I suspect it could be done by hooking into some system even that occurs when hardware is added or removed, and enumerating the currently connected USB devices.

Thanks.

User avatar
sukemaru
Committed
Posts: 124
Joined: Tue Oct 18, 2016 7:21 pm

Re: Only enable if external mouse is connected

Post by sukemaru » Mon Aug 28, 2017 9:27 pm

Probably there is no way to change from tray icon menu or by switching "Enable / Disable XMBC" with global hotkey setting, - unfortunately now. -
And if you use multiple mice with different number of buttons, you only need to set the optimized layers (switch with hotkey) or load XMBCP profile file for each one's on the main window.
Logitech AnywhereMX (7 Btn), M555b (5 Btn) w/ SetPoint v6.32
Microsoft WirelessLaserMouse8000 (5 Btn), WLM5000 (5 Btn) w/ IntelliPoint v6.30
XMBC: now Latest BETA as Portable (since v1.48, 2009)
OS: WinXP SP3 (32bit) / Locale: JPN

Daniel15
New User
Posts: 2
Joined: Mon Aug 28, 2017 7:29 pm

Re: Only enable if external mouse is connected

Post by Daniel15 » Thu Aug 31, 2017 5:59 pm

> if you use multiple mice with different number of buttons

I only use one type of mouse so that's not an issue for me :)

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

Re: Only enable if external mouse is connected

Post by phil » Thu Aug 31, 2017 6:24 pm

It might be possible to register in Windows for device installation notifications. I'll have a look but I cant make any promises at this stage.

Thanks,
Phil
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9, Logitech MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, Intel i5-9600k, Asus Z390-ROG, 16GB DDR4,
nVidia GeForce GTX 970, Evo 970 500Gb NVME, 2x2TB WD Black (RAID1)

Post Reply