Input: Bind F and K to left thumb and right thumb, respectively.
This commit is contained in:
parent
2cf0b39bf5
commit
fdef1e098d
|
@ -127,6 +127,11 @@ X_RESULT WinKeyInputDriver::GetState(uint32_t user_index,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (IS_KEY_DOWN(0x46)) {
|
||||||
|
// F
|
||||||
|
buttons |= 0x0040; // XINPUT_GAMEPAD_LEFT_THUMB
|
||||||
|
}
|
||||||
|
|
||||||
// Right stick
|
// Right stick
|
||||||
if (IS_KEY_DOWN(0x26)) {
|
if (IS_KEY_DOWN(0x26)) {
|
||||||
// Up
|
// Up
|
||||||
|
@ -162,6 +167,11 @@ X_RESULT WinKeyInputDriver::GetState(uint32_t user_index,
|
||||||
buttons |= 0x8000; // XINPUT_GAMEPAD_Y
|
buttons |= 0x8000; // XINPUT_GAMEPAD_Y
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (IS_KEY_DOWN(0x4B)) {
|
||||||
|
// K
|
||||||
|
buttons |= 0x0080; // XINPUT_GAMEPAD_RIGHT_THUMB
|
||||||
|
}
|
||||||
|
|
||||||
if (IS_KEY_DOWN(0x51) || IS_KEY_DOWN(0x49)) {
|
if (IS_KEY_DOWN(0x51) || IS_KEY_DOWN(0x49)) {
|
||||||
// Q / I
|
// Q / I
|
||||||
left_trigger = 0xFF;
|
left_trigger = 0xFF;
|
||||||
|
|
Loading…
Reference in New Issue