Skip to content

Commit

Permalink
Fix Trigger keys overlapping with buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
oneup03 committed Jun 12, 2024
1 parent 15868b2 commit 9ff3817
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vrto3d/src/key_mappings.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ static std::unordered_map<std::string, int> VirtualKeyMappings = {
{"VK_F24", VK_F24},
};
// XInput gamepad buttons
#define XINPUT_GAMEPAD_LEFT_TRIGGER 0xCAFE
#define XINPUT_GAMEPAD_RIGHT_TRIGGER 0xCAFF
#define XINPUT_GAMEPAD_LEFT_TRIGGER 0x10000
#define XINPUT_GAMEPAD_RIGHT_TRIGGER 0x20000
static std::unordered_map<std::string, int> XInputMappings = {
{"XINPUT_GAMEPAD_A", XINPUT_GAMEPAD_A},
{"XINPUT_GAMEPAD_B", XINPUT_GAMEPAD_B},
Expand Down

0 comments on commit 9ff3817

Please sign in to comment.