I dug into the ff7input.cfg file in order to add support for editing your in-game controls directly from within 7th Heaven v2.2. In case anyone is interested, I wanted to share those results with the community in case you want to design/integrate your own custom mapping tool.
First offset is to select either normal or custom controls.
TYPE | OFFSET | VALUES |
Normal or Custom | 00 | 0 or 1 (Always use 1 for custom controls) |
Below are where the offsets can be found for the keyboard and gamepad.
CONTROL | KB OFFSET | GAMEPAD OFFSET |
CAMERA | 01 | 65 |
TARGET | 05 | 69 |
PAGEUP | 09 | 6D |
PAGEDOWN | 0D | 71 |
MENU | 11 | 75 |
OK | 15 | 79 |
CANCEL | 19 | 7D |
SWITCH | 1D | 81 |
ASSIST | 21 | 85 |
START | 2D | 91 |
UP | 31 | 95 |
RIGHT | 35 | 99 |
DOWN | 39 | 9D |
LEFT | 3D | A1 |
Below are the gamepad buttons and their corresponding values.
BUTTON | VAL |
MOUSE_B1 | 223 |
MOUSE_B2 | 224 |
MOUSE_B3 | 225 |
UP | 227 |
DOWN | 228 |
LEFT | 229 |
RIGHT | 230 |
BUTTON1 | 235 |
BUTTON2 | 236 |
BUTTON3 | 237 |
BUTTON4 | 238 |
BUTTON5 | 239 |
BUTTON6 | 240 |
BUTTON7 | 241 |
BUTTON8 | 242 |
BUTTON9 | 243 |
BUTTON10 | 244 |
Below are the keyboard keys and their corresponding values. Obviously some of these are specific to Japanese keyboards only. Some of them not even in popular use in modern times.
KEYBOARD KEY | VAL |
ESC | 001 |
1 | 002 |
2 | 003 |
3 | 004 |
4 | 005 |
5 | 006 |
6 | 007 |
7 | 008 |
8 | 009 |
9 | 010 |
0 | 011 |
MINUS | 012 |
EQUALS | 013 |
BACKSPACE | 014 |
TAB | 015 |
Q | 016 |
W | 017 |
E | 018 |
R | 019 |
T | 020 |
Y | 021 |
U | 022 |
I | 023 |
O | 024 |
P | 025 |
LEFTBRACKET | 026 |
RIGHTBRACKET | 027 |
RETURN | 028 |
LEFTCTRL | 029 |
A | 030 |
S | 031 |
D | 032 |
F | 033 |
G | 034 |
H | 035 |
J | 036 |
K | 037 |
L | 038 |
SEMICOLON | 039 |
APOSTROPHE | 040 |
BACKQUOTE "GRAVE" | 041 |
LEFTSHIFT | 042 |
BACKSLASH | 043 |
Z | 044 |
X | 045 |
C | 046 |
V | 047 |
B | 048 |
N | 049 |
M | 050 |
COMMA | 051 |
PERIOD | 052 |
SLASH (FORWARD) | 053 |
RIGHTSHIFT | 054 |
NUMPADMULTIPLY | 055 |
LEFTALT | 056 |
SPACE | 057 |
CAPS | 058 |
F1 | 059 |
F2 | 060 |
F3 | 061 |
F4 | 062 |
F5 | 063 |
F6 | 064 |
F7 | 065 |
F8 | 066 |
F9 | 067 |
F10 | 068 |
NUMLOCK | 069 |
SCROLLOCK | 070 |
NUMPAD7 | 071 |
NUMPAD8 | 072 |
NUMPAD9 | 073 |
NUMPADSUBTRACT | 074 |
NUMPAD4 | 075 |
NUMPAD5 | 076 |
NUMPAD6 | 077 |
NUMPADADD | 078 |
NUMPAD1 | 079 |
NUMPAD2 | 080 |
NUMPAD3 | 081 |
NUMPAD0 | 082 |
NUMPADDECIMAL | 083 |
F11 | 087 |
F12 | 088 |
F13 | 100 |
F14 | 101 |
F15 | 102 |
KANA | 112 |
Convert | 121 |
NoConvert | 123 |
Yen | 125 |
NUMPADEQUALS | 141 |
Circumflex | 144 |
AT | 145 |
COLON | 146 |
UNDERLINE | 147 |
KANJI | 148 |
STOP | 149 |
AX | 150 |
UNLABELED | 151 |
NUMPADENTER | 156 |
RIGHTCTRL | 157 |
NUMPADDIVIDE | 181 |
PRTSCN | 183 |
RIGHTALT | 184 |
PAUSEBREAK | 197 |
HOME | 199 |
UP | 200 |
PAGEUP | 201 |
LEFT | 203 |
RIGHT | 205 |
END | 207 |
DOWN | 208 |
PAGEDOWN | 209 |
INSERT | 210 |
DELETE | 211 |
LEFTWINKEY | 219 |
RIGHTWINKEY | 220 |
APPS (CONTEXT MENU) | 221 |