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

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


  

Author Topic: Issue with IPAC Shift Keys and Macros  (Read 214 times)

0 Members and 1 Guest are viewing this topic.

TheDotEater

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • I did build my own arcade controls!
Issue with IPAC Shift Keys and Macros
« on: April 05, 2017, 02:52:44 am »
In experimenting with a new control setup I ran into an issue/limitation with the IPAC. I always assumed the IPAC allowed for at least 2 separate shift keys as some of the documentation I've read seemed to suggest this. However, in my testing I've found this isn't the case. The reason this is important is particular to my setup.

Let's say this is my current 7 button layout for players 1 and 2:

Code: [Select]
    1  2  3            1  2  3
    4  5  6            4  5  6
7                   7

Now, let's add in the buttons I want to be shifted with the shifted button input in brackets:

Code: [Select]
    1  2  3 [8]        1  2  3 [8]
    4  5  6 [9]        4  5  6 [9]
7                   7

The idea is I could use button '7' to shift buttons '3' and '6' to '8' and '9' for player 1 and similarly for player 2. However, since the IPAC doesn't allow for multiple shift keys this could prove a serious issue as player 1 holding down the button '7' could cause player 2's button '3' to be shifted causing unwanted input.

With only a single shift key available I turned to macros hoping I could create a macro for button '7' that would wait for input for switches '3' or '6' and and fire off the key commands that would have been associated with the nonexistent buttons '8' and '9'

Sadly, it seems the WinIPAC utility is severely limited in terms of the kinds of macros you can create. It seems it's only capable of sending multiple keystrokes at a time and not capable of using custom logic.

So with only a single shift key available and no way of using macros as a substitute I don't really see any way around this issue. I was hoping someone had experienced this issue before and found a workaround.

TheDotEater

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • I did build my own arcade controls!
Re: Issue with IPAC Shift Keys and Macros
« Reply #1 on: April 11, 2017, 03:10:04 pm »
Alright, so as an exercise in over-engineering I may have come up with a solution. However, this solution is so overtly complex it's probably not even worth it. That said here's the solution I came up with.

First, I should note a couple of things left out of my initial post. In addition to my IPAC2 I also have an IPAC4 which apparently does support two separate shift keys (one shift key for P1 and P2 and another for P3 and P4). I'm also looking to use the PACLink adapter from Ultimarc for XInput while also having default behavior of sending keystrokes to PC. The PACLink is supposed to only work with the high speed expansion interface of the IPAC2 through use of a 5-pin connector. However, in this example I will be trying to make it work with the IPAC4 which provides two independent shift keys.

To make this work I'll also need some more components:

6-pin PS/2 Male to USB Female adapter
http://cdn2.bigcommerce.com/server3300/hhh6t/products/282/images/1665/4xusbfps2m__31055.1380219421.300.300.jpg?c=2

USB Male to two USB Female splitter
http://www.usbfirewire.com/images/Product/large/298.jpg?1491715059

5-pin Male to USB Male adapter
https://images-na.ssl-images-amazon.com/images/I/21NdH39vtTL.jpg

Standard USB Male to USB Male cable
http://www.uniprolaptimer.com/images/usb_to_usb_cable-p.png


Now, with this mess of wires and adapters I could theoretically piece it all together as such:

Code: [Select]

IPAC4 -> 6-pin M to USB F -> USB M to two USB Female Split -> PATH1/PATH2

PATH 1: (Note: this path is actually doubled with the use of another splitter to support two PACLinks)
USB M to 5-pin M -> PACLink -> PC

PATH 2:
USB M to USB M Cable -> PC


Well, that's a pretty nasty looking but hopefully you get the idea.

With this setup, I should be able to route my P2 controls to the P3 switches on the IPAC4 thus getting me the separate shift key I so desperately need. After that headache it should just be configuration hell setting up all new .ipc profiles bearing in mind at all times that my P2 is really P3 as far as the IPAC is concerned.

I know it's nasty looking, which is why I may not go through with this option but I am curious if this would work out or if there is something I haven't taken into consideration.

Any thoughts?

  
 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31