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: Setting Up Alt+F4 to Ipac 2 shifted keys very confusing. please help.  (Read 414 times)

0 Members and 1 Guest are viewing this topic.

Donellhd

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 1
  • Last login:September 29, 2024, 10:29:08 pm
  • I Love emulation!
Hi everyone. Im trying to figure out how to make an alt+f4 for my shifted keys on my ipac 2. I set the 1 key shifted to L Alt and the V key to F4. i checked the boxes and once i set them and held them and they didnt work. i just want to make this work and its confusing. would appreciate any assistance anyone could give me.

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Online Online
  • Posts: 9545
  • Last login:Today at 02:14:56 am
  • Designated spam hunter
Re: Setting Up Alt+F4 to Ipac 2 shifted keys very confusing. please help.
« Reply #1 on: September 30, 2024, 02:31:19 am »
Hi everyone. Im trying to figure out how to make an alt+f4 for my shifted keys on my ipac 2. I set the 1 key shifted to L Alt and the V key to F4. i checked the boxes and once i set them and held them and they didnt work. i just want to make this work and its confusing. would appreciate any assistance anyone could give me.
AFAIK you can't get the IPac to send two keystrokes as one shifted function output.

There are two ways to approach this -- software or hardware.
-------------
For the software approach, use an AHK script to change one keystroke from the IPac into the desired two keystroke combo.
- A simplified variation on the script here should do the trick.
https://forum.arcadecontrols.com/index.php/topic,168858.msg1774017.html#msg1774017
-------------
For the hardware approach, you'll need a dedicated "alt+f4" button.

If you have two unused IPac inputs, wire the microswitch to both inputs.
- When you press the button, both inputs are grounded so both keystrokes are sent.

           Microswitch
                            ____ Input 1
Ground ____/____|____ Input 2

If you don't have two unused IPac inputs, you'll need to use blocking diodes or the "backwards" wiring trick.

Blocking diodes:
If you have two tab microswitches like Ultimarc Goldleafs, use this approach.
- Any 5v diode will work.  The 1N4001 is common and inexpensive.   ;D
- In this example, the top switch triggers only the top input (Left-Ctrl), the bottom switch triggers only the bottom input (A), and the middle switch triggers both inputs.



"Backwards" wiring trick:
Only works with three tab microswitches -- Normally Open (NO), Normally Closed (NC), and Common (COM).




Scott
« Last Edit: September 30, 2024, 02:39:04 am by PL1 »