Skip to content

Instantly share code, notes, and snippets.

@hisacat
Last active July 25, 2022 11:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hisacat/612a47466cc6ab66f87bc7a677c5cfb7 to your computer and use it in GitHub Desktop.
Save hisacat/612a47466cc6ab66f87bc7a677c5cfb7 to your computer and use it in GitHub Desktop.
RF5Input.Key description
//Key List
public enum Key : uint
{
A = 1,
B = 2,
Y = 4,
X = 8,
L = 16, // 0x00000010
R = 32, // 0x00000020
ZL = 64, // 0x00000040
ZR = 128, // 0x00000080
JU = 256, // 0x00000100
JR = 512, // 0x00000200
JD = 1024, // 0x00000400
JL = 2048, // 0x00000800
MS = 4096, // 0x00001000
PS = 8192, // 0x00002000
AL = 16384, // 0x00004000
AR = 32768, // 0x00008000
ARU = 65536, // 0x00010000
ARR = 131072, // 0x00020000
ARD = 262144, // 0x00040000
ARL = 524288, // 0x00080000
ALU = 16777216, // 0x01000000
ALR = 33554432, // 0x02000000
ALD = 67108864, // 0x04000000
ALL = 134217728, // 0x08000000
CK1 = 1048576, // 0x00100000
CK2 = 2097152, // 0x00200000
CK3 = 4194304, // 0x00400000
CK4 = 8388608, // 0x00800000
CK5 = 268435456, // 0x10000000
CK6 = 536870912, // 0x20000000
CK7 = 1073741824, // 0x40000000
CK8 = 2147483648, // 0x80000000
ANYKEY = CK8 | CK7 | CK6 | CK5 | CK4 | CK3 | CK2 | CK1 | AR | AL | PS | MS | JL | JD | JR | JU | ZR | ZL | R | L | X | Y | B | A, // 0xF0F0FFFF
ALLKEY = ANYKEY | ALL | ALD | ALR | ALU | ARL | ARD | ARR | ARU, // 0xFFFFFFFF
}
――――――――――――――――――――――――――――――――――――――――
//Key Bindings
Examine Button / 조사 버튼
A | CK3
Action Button / 액션 버튼
B | CK2
RA/Magic Button 1 / RA/마법 버튼 1
Y
RA/Magic Button 2 / RA/마법 버튼 2
X
Pocket Button / 포켓 버튼
L
Dash Button / 회피 버튼
R
Spell Seal Button / 서클 버튼
ZL
Mini-Map Button / 미니맵 버튼
ZR
Map Menu Button / 맵 메뉴 버튼
MS
Camp Menu Button / 캠프 메뉴 버튼
PS
Link Attack Button / 연계기 버튼
AL
Lock-on Button / 록 온 버튼
AR
Select Button (Up) / 선택 (위) 버튼
JU
Select Button (Down) / 선택 (아래) 버튼
JD
Swap Gear Button 1 / 장비 전환 버튼 1
JL
Swap Gear Button 2장비 전환 버튼 2
JR
Camera Control Button (Up) / 카메라 조작 버튼 (상)
ARU
Camera Control Button (Down) / 카메라 조작 버튼 (하)
ARD
Camera Control Button (Left) / 카메라 조작 버튼 (좌)
ARL
Camera Control Button (Right) / 카메라 조작 버튼 (우)
ARR
Movement Button (Forward) / 이동 버튼 (전)
ALU
Movement Button (Backward) / 이동 버튼 (후)
ALD
Movement Button (Left) / 이동 버튼 (좌)
ALL
Movement Button (Right) / 이동 버튼 (우)
ALR
RA/Magic Button 3 / RA/마법 버튼 3
CK4
RA/Magic Button 4 / RA/마법 버튼 4
CK5
Cursor Display Button / 커서 표시 버튼
CK8
――――――――――――――――――――――――――――――――――――――――
//Windows default key bindings
Space = RF5Input.Key.ZL,
Z = RF5Input.Key.ZR,
Q = RF5Input.Key.L,
MouseRightClick = RF5Input.Key.R,
LeftShift = RF5Input.Key.AL,
W = RF5Input.Key.ALU,
D = RF5Input.Key.ALR,
S = RF5Input.Key.ALD,
A = RF5Input.Key.ALL,
MouseWheelClick = RF5Input.Key.AR,
I = RF5Input.Key.ARU,
L = RF5Input.Key.ARR,
K = RF5Input.Key.ARD,
J = RF5Input.Key.ARL,
G = RF5Input.Key.X,
F = RF5Input.Key.B | RF5Input.Key.CK2,
E = RF5Input.Key.A | RF5Input.Key.CK3,
R = RF5Input.Key.Y,
Escape = RF5Input.Key.CK2,
Enter = RF5Input.Key.CK3,
UpArrow = RF5Input.Key.JU,
RightArrow = RF5Input.Key.JR,
DownArrow = RF5Input.Key.JD,
LeftArrow = RF5Input.Key.JL,
M = RF5Input.Key.MS,
Tab = RF5Input.Key.PS,
MouseLeftClick = RF5Input.Key.CK1,
T = RF5Input.Key.CK8,
F1 = RF5Input.Key.CK4,
F2 = RF5Input.Key.CK5,
――――――――――――――――――――――――――――――――――――――――
//XBox controller key bindings
LT = RF5Input.Key.ZL,
RT = RF5Input.Key.ZR,
LB = RF5Input.Key.L,
RB = RF5Input.Key.R,
LS = RF5Input.Key.AL,
LSUp = RF5Input.Key.ALU,
LSRight = RF5Input.Key.ALR,
LSDown = RF5Input.Key.ALD,
LSLeft = RF5Input.Key.ALL,
RS = RF5Input.Key.AR,
RSUp = RF5Input.Key.ARU,
RSRight = RF5Input.Key.ARR,
RSDown = RF5Input.Key.ARD,
RSLeft = RF5Input.Key.ARL,
Y = RF5Input.Key.X,
B = RF5Input.Key.B | RF5Input.Key.CK2,
A = RF5Input.Key.A | RF5Input.Key.CK3,
X = RF5Input.Key.Y,
DPadUp = RF5Input.Key.JU,
DPadRight = RF5Input.Key.JR,
DPadDown = RF5Input.Key.JD,
DPadLeft = RF5Input.Key.JL,
Select = RF5Input.Key.MS,
Start = RF5Input.Key.PS,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment