Author Topic: Key Remapper  (Read 85667 times)

Mefidex

Key Remapper
« on: April 27, 2009, 02:30:24 AM »
I noticed a few people asking about remapping keys in Touhou games, so I decided to script one up.  Now usable for MB:AC as well.

If you're lazy, just get the latest version.
Available versions (updated 2009/08/23)
1.04 (latest)
1.03
1.02
1.01

MF Folder here

If you want to have a (slightly) smaller program and an ini file with fewer keys that you won't use, grab the lowest version that suits your needs.  Minimums are: 1.01 for Touhou shooters, 1.02 for PlatineDispositif/Suguri types, 1.03 for MB:AC. Any higher version can be used without issue though.

Extract it, edit the values in Remap_Keys.ini to whatever you want, then run Remap.exe.

While this program is running, it will remap the keys for your whole computer, hence why there are quick enable/disable keys.

Extra controls:
Caps Lock + Q  Enable/Disable hotkeys
Caps Lock + W  Close script
Caps Lock + R  Reload hotkeys

The following require hotkeys to be enabled
Caps Lock + 0  Activate Default keys
Caps Lock + 1  Activate Hotkey Set 1
Caps Lock + 2  Activate Hotkey Set 2
Caps Lock + 3  Activate Hotkey Set 3

You can also right click the keyboard/S icon in the tray for some options.

I tested the script in Touhou 6/7/8/9/9.5/10, it works fine in those with no lag as far as I can tell.

This is still a work in progress, and I may add a GUI later, but it should work well enough for now.  Feedback is appreciated.

This will not work on Windows 95/98/ME.

Also, here's a useful program called Keyscan to test out which keys you should map to. It will show which keys the computer sees as being held down, so you can quickly find a set that works for you, then remap your keys there.  (Keyscan originally from http://www.digitalgenesis.com/ )

Version 1.01
-Changed hotkeys to Capslock+ instead of Ctrl+Shift+
-Added support for multiple sets of hotkeys and switching between them

Version 1.02
-Added support for V,A,S,D,F for use in other games

Version 1.03
-Added support for B,N,M,,,.,G,H,J,K,L,T for use in MB:AC ver B.

Version 1.04
-Added support for Q,W,E,R,Y,U,I,O,P,Space added command line switch capability to all versions
« Last Edit: August 23, 2009, 08:22:02 PM by Mefidex »

Letty Whiterock

Re: Key Remapper
« Reply #1 on: April 27, 2009, 02:32:50 AM »
Why would you want to change the keys?

hs08

  • Exhale Sign "Puffball Flare"
Re: Key Remapper
« Reply #2 on: April 27, 2009, 02:42:57 AM »
Some keys don't respond when you're holding other keys.

Letty Whiterock

Re: Key Remapper
« Reply #3 on: April 27, 2009, 03:14:55 AM »
Some keys don't respond when you're holding other keys.
Oh ha ha. That usually means that you should get a better keyboard.

Sodium

  • pew pew lasers
Re: Key Remapper
« Reply #4 on: April 27, 2009, 03:16:58 AM »
Oh ha ha. That usually means that you should get a better keyboard.
Laptops.

Also, some people might just want a different layout.

AntKiller

Re: Key Remapper
« Reply #5 on: April 27, 2009, 08:13:54 AM »
Laptops.

my brother uses a laptop with an external keyboard XD

Vile Lasagna

  • Due to boredom
  • I'm mostly banned
Re: Key Remapper
« Reply #6 on: April 27, 2009, 10:14:40 PM »
This is how I roll
(Don't mind the picture quality, it could hardly be worse)
rofl bye

AntKiller

Re: Key Remapper
« Reply #7 on: April 27, 2009, 10:23:58 PM »
srsly, shame on you Lasagna...
that's his pc with a better quality...

Mefidex

Re: Key Remapper
« Reply #8 on: April 27, 2009, 11:11:41 PM »
1. There are plenty of people that have a perfectly workable keyboard provided you move the keys a little. (also laptop scissor-switch keys are nice for gaming, ignoring longevity issues)

2. PoFV player vs player default controls are a pain in the ass, with the 2468 instead of 4568.

3. Having more [optional] options is generally better than not having them.

4. I made this a long time ago, I'm just reposting it from the old forum because people will inevitably ask, and having it around is useful.

Gpop

Re: Key Remapper
« Reply #9 on: April 27, 2009, 11:12:10 PM »
Both of my laptops works perfectly with multiple key registers.

Go Toshiba, I guess?

Alice

  • 英雄不怕太陽高
Re: Key Remapper
« Reply #10 on: May 04, 2009, 05:19:48 PM »
My Acer also works fine with multiple key pressed.

math4origami

Re: Key Remapper
« Reply #11 on: May 09, 2009, 06:54:10 AM »
Hey, I've got a problem when using this sometimes.  If I press two opposite directions at the same, like if I was switching from up to down really quickly, then sometimes it stays stuck in one of the two directions when I let go of both keys.  Is there a fix for this behavior?

MadCatMk2

Re: Key Remapper
« Reply #12 on: August 03, 2009, 12:01:42 PM »
Hey, this sounds great as the arrow keys in my father's laptop are tiny. However the links appear to be dead, could you reupload them Mefidex?

Thanks :)

Zengar Zombolt

  • Space-Time Tuning Circle - Wd/Fr
  • Green-Red Divine Clock
Re: Key Remapper
« Reply #13 on: August 03, 2009, 12:06:14 PM »
Hey, this sounds great as the arrow keys in my father's laptop are tiny. However the links appear to be dead, could you reupload them Mefidex?

Thanks :)
BaitySM uploaded it here.

Re: Key Remapper
« Reply #14 on: November 18, 2014, 10:28:35 AM »
Keyscan link is broken

After running Remap.exe it just says this:

Error at line 24.

Line Text: Capslock & q::
Error: Invalid hotkey.

The program will exit.

Jirachi

  • Wish Maker
  • yawn...
Re: Key Remapper
« Reply #15 on: November 18, 2014, 02:15:58 PM »
Keyscan link is broken

After running Remap.exe it just says this:

Error at line 24.

Line Text: Capslock & q::
Error: Invalid hotkey.

The program will exit.

KeyScan official download page is here: ftp://ftp.digitalgenesis.com/pub/keyscan/

And that version of AutoHotkey is really old. Try newer ones here.

Re: Key Remapper
« Reply #16 on: November 19, 2014, 08:19:35 PM »
It was AutoHotkey?
Huh...