Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Disable Aimtraks when not in use?  (Read 1419 times)

0 Members and 1 Guest are viewing this topic.

epetti

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 344
  • Last login:September 14, 2023, 10:15:20 pm
  • I want to build my own arcade controls!
Disable Aimtraks when not in use?
« on: October 14, 2015, 08:27:17 pm »
I have my Aimtraks hanging on hooks on the side of my control panel when not in use. I've noticed that occasionally even though they're pointing at the floor they sometimes cause interference with the mouse pointer and when I'm using a trackball, especially in Windows, it pops to the upper left corner. I can imagine this could also potentially impact trackball or analog joystick games.

Is there a way to programatically disable and enable the aimtraks so that they're essentially turned off or ignored so that I can configure them to only be "on" for gun games?

MydknyteStyrm

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 331
  • Last login:March 20, 2024, 12:19:41 pm
  • Makeup FX Gamer
Re: Disable Aimtraks when not in use?
« Reply #1 on: October 19, 2015, 11:20:03 am »
I don't know if you can tell a USB to be off, but you could unplug them and plug them in when in use, provided that you have Dr Ventures ControllerRemap set up correctly to have Mame assign the guns correctly.


Sent from my iPhone using Tapatalk

slamminsam

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19
  • Last login:March 31, 2017, 03:46:36 pm
Re: Disable Aimtraks when not in use?
« Reply #2 on: October 19, 2015, 12:21:36 pm »
You might want to check out Devcon. It allows you to enable/disable devices via command line.

https://support.microsoft.com/en-us/kb/311272

epetti

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 344
  • Last login:September 14, 2023, 10:15:20 pm
  • I want to build my own arcade controls!
Re: Disable Aimtraks when not in use?
« Reply #3 on: October 19, 2015, 12:45:29 pm »
Ooh. That's basically what I was looking for. I tried repositioning the guns to try to reduce unintended signals, but if that doesn't work I may play around with this.

Thanks everyone for the suggestions.

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Yesterday at 02:45:49 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Disable Aimtraks when not in use?
« Reply #4 on: October 19, 2015, 03:25:48 pm »
Wouldn't this fix the enumeration issue people have been having as well?  If you disable all mice and then re-enable them one at a time it should put them in whatever desired order you want. 

stigzler

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 983
  • Last login:March 21, 2025, 06:36:05 am
  • It seemed like a good idea at the time....
    • Mago Arcade
Re: Disable Aimtraks when not in use?
« Reply #5 on: October 19, 2015, 05:54:08 pm »
Last release was 2003. And:

"You can use DevCon with Microsoft Windows 2000, Windows XP, and Windows Server 2003. You cannot use DevCon with Windows 95, Windows 98, or Windows Millennium Edition."

Not sure it'd work above XP!

Did like your thinking though Howard_Castro - could have solved a lot of enumeration issues in a lot of emus as long it is fast.

nexusmtz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 489
  • Last login:June 01, 2022, 03:14:22 am
Re: Disable Aimtraks when not in use?
« Reply #6 on: October 26, 2015, 03:16:35 am »
I use devcon in Windows 7 x64. I believe it comes in the Windows Device Driver Kit (WDDK). I use it to disable/enable my scanner when the computer doesn't react to the buttons.

I'm not sure it'll help with device order. Disabled or not, it still shows in device manager, right where it was.