Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. My bare hosting costs are currently not met so please consider donating by either clicking this text or the Patreon link on the right.

Patreon

Recommended Posts

Posted

I'm trying to map pushbuttons on a homebuilt control pad, this is how I understand how to do it:

1) From scancodes.txt you find the function (ex: VolumeUp=) and paste that word into custominput.ini on a new line.

<<Snippet from custominput.ini>>

Home=6

<<added>>VolumeUp=

(Obviously the <<added>> is not physically there)

2) In scancodes.txt you find the keyboard key which you are trying like to associate it with (ex: i) and put the associated number next to it (ex: which would be 23) into your new line in custominput.ini

<<Snippet from scancodes.txt>>

20 T

21 Y

22 U

23 I <-- see how I equals 23

3) So for Volume up it would be:

VolumeUp=23

However it doesn't work. What am I doing wrong?

EDIT- Or is custominput just for additional functions, not to reprogram current ones? Then would I have to make changes to scancodes?

Thanks in advance.

-Matt

Posted

If you want to use "I" for volume up, then that should be correct. However, make sure that you have enabled "Use custom controls" in the "INPUT" part of GameEx configuration. Otherwise, the custom_input.ini file will be ignored by GameEx.

Emph

Posted

As far as I understood you cannot add any entries to custominput.ini (like your "volumeup") but only modify the existing ones.

Lets assume you want to change the keystroke for "up": For me it's associated with scancode 72. Looking at the scancode.txt 72 corresponds to "NumPad8". If I'd like to change it to "F8" (stupid I know but anyway) I look up the scancode for "F8" which is 66 for me. Knowing this I modify my custominput.ini with:

"up=66" instead of "up=72"

nullus

Posted
As far as I understood you cannot add any entries to custominput.ini (like your "volumeup") but only modify the existing ones.

Lets assume you want to change the keystroke for "up": For me it's associated with scancode 72. Looking at the scancode.txt 72 corresponds to "NumPad8". If I'd like to change it to "F8" (stupid I know but anyway) I look up the scancode for "F8" which is 66 for me. Knowing this I modify my custominput.ini with:

"up=66" instead of "up=72"

nullus

You could always use a program like AutoHotKey that lets you remap keys to the MCE volume up command. Example if "p" was the key that you wanted to be volume up you could right a simple script below in AutoHotKey.

p::{Volumn_Up}

q::{Volumn_Down}

But be aware if you do this p will be volumn up and not p, even in notepad! To fix this you could set game ex to run the script upon opening

Posted
You could always use a program like AutoHotKey that lets you remap keys to the MCE volume up command. Example if "p" was the key that you wanted to be volume up you could right a simple script below in AutoHotKey.

p::{Volumn_Up}

q::{Volumn_Down}

But be aware if you do this p will be volumn up and not p, even in notepad! To fix this you could set game ex to run the script upon opening

Interesting, thanks for that I'll give it a shot.

Guest
This topic is now closed to further replies.
×
×
  • Create New...