# | Line 110 | Line 110 | static read_pad(SDL_Joystick *js, int nu | |
---|---|---|
110 | if (SDL_JoystickGetButton(js, i) == SDL_PRESSED) | |
111 | buttons |= (1 << button_map[i]); | |
112 | } | |
113 | + | #ifdef EPSXE |
114 | + | pad->buttonStatus = ~((buttons >> 8) | (buttons << 8)); |
115 | + | #else |
116 | pad->buttonStatus = ~buttons; | |
117 | + | #endif |
118 | ||
119 | if (num_axes >= 2) { | |
120 | pad->leftJoyX = SDL_JoystickGetAxis(js, 0) / 256 + 128; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |