Author Topic: Mapping of FF7INPUT.CFG Contents  (Read 1792 times)

unab0mb

  • 7th Heaven Crew
  • *
  • Posts: 405
    • View Profile
    • 7th Heaven Web Site
Mapping of FF7INPUT.CFG Contents
« on: 2020-07-18 20:13:40 »
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.
TYPEOFFSETVALUES
Normal or Custom000 or 1 (Always use 1 for custom controls)

Below are where the offsets can be found for the keyboard and gamepad.
CONTROLKB OFFSETGAMEPAD OFFSET
CAMERA0165
TARGET0569
PAGEUP096D
PAGEDOWN0D71
MENU1175
OK1579
CANCEL197D
SWITCH1D81
ASSIST2185
START2D91
UP3195
RIGHT3599
DOWN399D
LEFT3DA1

Below are the gamepad buttons and their corresponding values.
BUTTONVAL
MOUSE_B1223
MOUSE_B2224
MOUSE_B3225
UP227
DOWN228
LEFT229
RIGHT230
BUTTON1235
BUTTON2236
BUTTON3237
BUTTON4238
BUTTON5239
BUTTON6240
BUTTON7241
BUTTON8242
BUTTON9243
BUTTON10244

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 KEYVAL
ESC001
1002
2003
3004
4005
5006
6007
7008
8009
9010
0011
MINUS012
EQUALS013
BACKSPACE014
TAB015
Q016
W017
E018
R019
T020
Y021
U022
I023
O024
P025
LEFTBRACKET026
RIGHTBRACKET027
RETURN028
LEFTCTRL029
A030
S031
D032
F033
G034
H035
J036
K037
L038
SEMICOLON039
APOSTROPHE040
BACKQUOTE "GRAVE"041
LEFTSHIFT042
BACKSLASH043
Z044
X045
C046
V047
B048
N049
M050
COMMA051
PERIOD052
SLASH (FORWARD)053
RIGHTSHIFT054
NUMPADMULTIPLY055
LEFTALT056
SPACE057
CAPS058
F1059
F2060
F3061
F4062
F5063
F6064
F7065
F8066
F9067
F10068
NUMLOCK069
SCROLLOCK070
NUMPAD7071
NUMPAD8072
NUMPAD9073
NUMPADSUBTRACT074
NUMPAD4075
NUMPAD5076
NUMPAD6077
NUMPADADD078
NUMPAD1079
NUMPAD2080
NUMPAD3081
NUMPAD0082
NUMPADDECIMAL083
F11087
F12088
F13100
F14101
F15102
KANA112
Convert121
NoConvert123
Yen125
NUMPADEQUALS141
Circumflex144
AT145
COLON146
UNDERLINE147
KANJI148
STOP149
AX150
UNLABELED151
NUMPADENTER156
RIGHTCTRL157
NUMPADDIVIDE181
PRTSCN183
RIGHTALT184
PAUSEBREAK197
HOME199
UP200
PAGEUP201
LEFT203
RIGHT205
END207
DOWN208
PAGEDOWN209
INSERT210
DELETE211
LEFTWINKEY219
RIGHTWINKEY220
APPS (CONTEXT MENU)221