mirror of
https://github.com/izzy2lost/2ship2harkinian-Android.git
synced 2026-06-19 01:20:08 -07:00
Fix control stick inputs getting maximized (#217)
This commit is contained in:
@@ -354,13 +354,13 @@ void PadMgr_AdjustInput(Input* input) {
|
||||
s8 curX = input->cur.stick_x;
|
||||
s8 curY = input->cur.stick_y;
|
||||
|
||||
// BENTODO
|
||||
// if (CHECK_BTN_ANY(input->press.button, BTN_RESET) || (input->press.stick_x == 0)) {
|
||||
// input->press.stick_x = 61;
|
||||
// input->press.err_no = -61;
|
||||
// input->press.stick_y = 63;
|
||||
// input->rel.err_no = -63;
|
||||
//}
|
||||
// BENTODO: Do we need controller reset logic?
|
||||
if (/* CHECK_BTN_ANY(input->press.button, BTN_RESET) || */ (input->press.stick_x == 0)) {
|
||||
input->press.stick_x = 61;
|
||||
input->press.err_no = -61;
|
||||
input->press.stick_y = 63;
|
||||
input->rel.err_no = -63;
|
||||
}
|
||||
pressX = input->press.stick_x;
|
||||
pressX2 = (s8)input->press.err_no;
|
||||
pressY = input->press.stick_y;
|
||||
|
||||
Reference in New Issue
Block a user