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 --- Bug Reports --- Site News

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

  

Author Topic: one button control both ipac2 and usb trackball possible?  (Read 470 times)

0 Members and 1 Guest are viewing this topic.

avdwal

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
  • Last login:March 08, 2019, 11:40:47 am
  • I want to build my own arcade controls!
one button control both ipac2 and usb trackball possible?
« on: January 02, 2019, 07:28:47 am »
hi there, finally I have added a USB Trackball to my control panel. It works very nice but I have a question.
I play visual pinball al lot. For this I have added 4 buttons sidesways, left flipper, left nudge, right flipper, right nudge. This also works well.

Now I want to combine the usage of the top left flipper for visual pinball with the usage of the left mouse button. Because this makes sense. I do not prefer extra mouse buttons on my control panel.

Q: can I just combine both ipac2 and usb wires to another? I understand that this way on every key press both a left flipper and a left mouse click are generated, but I do not know an alternative way.

If this is not possible, I might consider additional buttons sideways, 3: left mouse and 4: right mouse. But this would not be ideal.
Any suggestions more than welcome.
Koenigs.dk arcade cabinet, increased height 
- MDF 15mm; control panel 18mm
- HP I5 SSD / Geforce 745
- 21 inch NEC 4:3 1600x1200 IPS wide angle
- Pioneer car speaker, car amplifier, JBL subwoofer
- Frontend: Maximus Arcade
- Self designed volume control
- Self designed marquee & control panel
- Joystick construction without screws
- T-molding afterwards :(

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7214
  • Last login:Today at 07:57:14 am
  • Designated spam hunter
Re: one button control both ipac2 and usb trackball possible?
« Reply #1 on: January 02, 2019, 01:33:25 pm »
It is possible, but is it actually necessary?

How do you intend to use the left mouse button, gameplay or configuration/admin?

If you only need it for system configuration and admin tasks, a wireless keyboard with trackpad and mouse buttons is a better option.


Scott

avdwal

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
  • Last login:March 08, 2019, 11:40:47 am
  • I want to build my own arcade controls!
Re: one button control both ipac2 and usb trackball possible?
« Reply #2 on: January 02, 2019, 01:50:02 pm »
hi Scott, yes, I already have a drawer with keyboard and mouse. However, I need the trackball mouse buttons for Spotify for instance.
Koenigs.dk arcade cabinet, increased height 
- MDF 15mm; control panel 18mm
- HP I5 SSD / Geforce 745
- 21 inch NEC 4:3 1600x1200 IPS wide angle
- Pioneer car speaker, car amplifier, JBL subwoofer
- Frontend: Maximus Arcade
- Self designed volume control
- Self designed marquee & control panel
- Joystick construction without screws
- T-molding afterwards :(

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7214
  • Last login:Today at 07:57:14 am
  • Designated spam hunter
Re: one button control both ipac2 and usb trackball possible?
« Reply #3 on: January 02, 2019, 02:49:46 pm »
I think you can assign one of the IPac buttons to left mouse click and remap the button in VP.

    or

You can make a Y-splitter and connect both the IPac button input and the trackball mouse button input to the microswitch NC tab.  When you press the button, ground is applied from the COM tab to both inputs.

Verify that the trackball is an "active low" device by touching the trackball mouse button input QD to an IPac ground QD -- you should get a mouse click.

Keep in mind that having both mouse and IPac inputs trigger at the same time may cause unexpected results depending on the context and the keystroke sent by the IPac.   :dunno


Scott

avdwal

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
  • Last login:March 08, 2019, 11:40:47 am
  • I want to build my own arcade controls!
Re: one button control both ipac2 and usb trackball possible?
« Reply #4 on: January 02, 2019, 05:49:28 pm »
I think you can assign one of the IPac buttons to left mouse click and remap the button in VP.

Scott

that is it of course! i must just ignore the usb trackball mousekeys and simulate within ipac2. stupid of me. txs!
Koenigs.dk arcade cabinet, increased height 
- MDF 15mm; control panel 18mm
- HP I5 SSD / Geforce 745
- 21 inch NEC 4:3 1600x1200 IPS wide angle
- Pioneer car speaker, car amplifier, JBL subwoofer
- Frontend: Maximus Arcade
- Self designed volume control
- Self designed marquee & control panel
- Joystick construction without screws
- T-molding afterwards :(

avdwal

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
  • Last login:March 08, 2019, 11:40:47 am
  • I want to build my own arcade controls!
Re: one button control both ipac2 and usb trackball possible?
« Reply #5 on: January 04, 2019, 05:55:41 am »
Unfortunately I cannot assign the mouse buttons to the VP keys. Maybe I should consider extra buttons on the side anyway.
Koenigs.dk arcade cabinet, increased height 
- MDF 15mm; control panel 18mm
- HP I5 SSD / Geforce 745
- 21 inch NEC 4:3 1600x1200 IPS wide angle
- Pioneer car speaker, car amplifier, JBL subwoofer
- Frontend: Maximus Arcade
- Self designed volume control
- Self designed marquee & control panel
- Joystick construction without screws
- T-molding afterwards :(