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: IPAC Programming special chars.  (Read 1440 times)

0 Members and 1 Guest are viewing this topic.

billf1

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 21
  • Last login:January 28, 2019, 12:00:49 pm
  • I want to build my own arcade controls!
IPAC Programming special chars.
« on: April 26, 2014, 02:37:57 pm »
Is there a way to program special chars that are linked to shift inputs (ex. !@#$%^&*()_)?

When I try to enter them, it takes my shift press, not the special char.  My next project will be four player, and I need to get in some of these keys to avoid dupes, and avoid the possibility of ctrl, alt, shift etc, exiting or otherwise breaking things and many of the normal special chars are already used in MAME, and I would either lose control (of something I would like to have as shift functions), or run out of unique keys, so obviously may have a button do something I did not intend.

Thanks,
Bill

AndyWarne

  • Trade Count: (+18)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1938
  • Last login:April 11, 2021, 03:37:09 am
    • Ultimarc
Re: IPAC Programming special chars.
« Reply #1 on: April 26, 2014, 05:04:47 pm »
You can program upper case keys as macros.

But I dont think you want to do this. I think there is a fundamental misunderstanding here. A lower case and upper case key on a keyboard sends exactly the same keycode. The OS works out whether you wanted a lower or upper case character (or the top row of characters on the top row of keys) by checking if it received a shift key code.

This is not relevant in Mame. You can only use each key in Mame not each symbol marked on each key.

DeLuSioNal29

  • Global Moderator
  • Trade Count: (+6)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4779
  • Last login:July 11, 2025, 09:17:44 am
  • Build the impossible -"There is no Spoon"
    • DeLuSioNaL's YouTube Videos
Re: IPAC Programming special chars.
« Reply #2 on: April 26, 2014, 05:54:42 pm »
I use the following additional keys which work for me on my 4-player panel:
\
/
[
]
'
0
-
=
,
.

D
Stop by my Youtube channel and leave a comment:

billf1

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 21
  • Last login:January 28, 2019, 12:00:49 pm
  • I want to build my own arcade controls!
Re: IPAC Programming special chars.
« Reply #3 on: April 26, 2014, 06:40:19 pm »
You can program upper case keys as macros.

But I dont think you want to do this. I think there is a fundamental misunderstanding here. A lower case and upper case key on a keyboard sends exactly the same keycode. The OS works out whether you wanted a lower or upper case character (or the top row of characters on the top row of keys) by checking if it received a shift key code.

This is not relevant in Mame. You can only use each key in Mame not each symbol marked on each key.

ohh, that sucks.  I knew that i could not type a "$" for example in MAME, but I thought it was because MAME recognizes L-Shift or R-Shift as a key stroke and "4" as a separate keystroke,... So i thought that if I bound "$" to a a button in iPAC, then used a button bound as they key it would work to program "$" as a command, because i was accessing it with one keystroke still.

Upper/Lower I knew was not an option already.  But I thought that was due to the fact MAME thought that people would hit caps lock and "break" their games and not know why it had happened.

Thanks Andy

Bill
« Last Edit: April 26, 2014, 06:46:33 pm by billf1 »

billf1

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 21
  • Last login:January 28, 2019, 12:00:49 pm
  • I want to build my own arcade controls!
Re: IPAC Programming special chars.
« Reply #4 on: April 26, 2014, 06:45:14 pm »
I use the following additional keys which work for me on my 4-player panel:
\
/
[
]
'
0
-
=
,
.

D

I was planning on a couple, but I was thinking I would still be one key short.  ohh well, not the end of the world, just not ideal.  I think my other option is to double up P1 buttons 5, 6, 7 with P3 2, 3, 4, and same for P2 and P4, as the 5, 6, 7 buttons would not be used anyway on any 4 player games.  although then it would be up to P1 & P2, to not be an ass and screw up P3 and P4.

AndyWarne

  • Trade Count: (+18)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1938
  • Last login:April 11, 2021, 03:37:09 am
    • Ultimarc
Re: IPAC Programming special chars.
« Reply #5 on: April 27, 2014, 09:05:00 am »
I use the following additional keys which work for me on my 4-player panel:
\
/
[
]
'
0
-
=
,
.

D

All of those will work because you can assign any key to any input. But it is any KEY rather than any character as its a keyboard device. So for example $ and 4 are both the same KEY.

AndyWarne

  • Trade Count: (+18)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1938
  • Last login:April 11, 2021, 03:37:09 am
    • Ultimarc
Re: IPAC Programming special chars.
« Reply #6 on: April 27, 2014, 09:07:25 am »

I was planning on a couple, but I was thinking I would still be one key short.  ohh well, not the end of the world, just not ideal.  I think my other option is to double up P1 buttons 5, 6, 7 with P3 2, 3, 4, and same for P2 and P4, as the 5, 6, 7 buttons would not be used anyway on any 4 player games.  although then it would be up to P1 & P2, to not be an ass and screw up P3 and P4.

I am not fully clear on what you need to do. There are approx 100 different keys available for selection, is this not sufficient?

billf1

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 21
  • Last login:January 28, 2019, 12:00:49 pm
  • I want to build my own arcade controls!
Re: IPAC Programming special chars.
« Reply #7 on: April 27, 2014, 11:33:53 am »
My keyboard isn't full-size, so I do not have 100 keys that I can press, I can scrounge up an old keyboard though, not a big deal.  Or I should be fine if I use function keys, but several are programmed to other emulators I use and cannot be changed, so I was trying to avoid them, but I guess I could use them for P3 and P4, as they wont be used for other emu's anyway.

AndyWarne

  • Trade Count: (+18)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1938
  • Last login:April 11, 2021, 03:37:09 am
    • Ultimarc
Re: IPAC Programming special chars.
« Reply #8 on: April 29, 2014, 04:37:58 am »
I was going to suggest using the Windows on-screen keyboard but I tried this and MS seem to have removed all the function and num keypad keys from this.

But there are probably other third-party on-screen keyboards out there which have all keys available.