Is it possible to add a vid,pid filter for the mouse?

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
euzen
New User
Posts: 1
Joined: Wed Apr 10, 2024 2:01 am

Is it possible to add a vid,pid filter for the mouse?

Post by euzen »

Some software would like to enable left and right hand mouse, but current software can't configure different layer for different mouse, so it would be great if there was a way to enable assigning different layer to mouse that are plug at the same time.
User avatar
phil
Site Admin
Posts: 7671
Joined: Sun Apr 06, 2003 11:12 pm

Re: Is it possible to add a vid,pid filter for the mouse?

Post by phil »

No sorry, as explained in the FAQ, XMBC uses mouse hooks which do not give ANY indication of which device the message came from.
The only way you could distinguish that would be to use Raw/Direct input (which you can not modify or block - so that's pretty useless) or create a device/filter driver that could intercept at a *much* lower level but that's a completely different ball game and not really possible for a hobby developer as you need to get a driver signing certificate (which is expensive and only available to legally registered companies, I couldn't get one even if I had the cash!)
--[ 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