mirror of
https://github.com/open-goal/jak-project
synced 2026-08-22 07:04:29 -04:00
default button pressure to 0 (#3938)
This should solve the issue where buttons are held down until you push them the same time. This would cause the cars in jak 3 to not move until you pushed square/circle and "released" the brake. Co-authored-by: water111 <awaterford1111445@gmail.com>
This commit is contained in:
@@ -96,7 +96,7 @@ struct PadData {
|
||||
|
||||
std::array<bool, 16> button_data = {false, false, false, false, false, false, false, false,
|
||||
false, false, false, false, false, false, false, false};
|
||||
std::array<u8, 12> pressure_data = {255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255};
|
||||
std::array<u8, 12> pressure_data = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
|
||||
|
||||
// Normal Buttons
|
||||
bool select() const { return button_data.at(static_cast<int>(ButtonIndex::SELECT)); };
|
||||
|
||||
Reference in New Issue
Block a user