mirror of
https://github.com/yawut/SDL.git
synced 2026-07-05 10:07:49 -05:00
Ludwig Nussel 2009-10-18 05:34:18 PDT src/joystick/linux/SDL_sysjoystick.c has some problems: - test_bit() might break with strict aliasing - test_bit() assumes array is Uint32 but its actually "unsigned long" on 64bit systems sizeof(long) != sizeof(Uint32). - the keybit array is too small - the arrays are unitialized so the number of detected buttons is quite random |
||
|---|---|---|
| .. | ||
| atomic | ||
| audio | ||
| cpuinfo | ||
| events | ||
| file | ||
| haptic | ||
| joystick | ||
| libm | ||
| loadso | ||
| main | ||
| power | ||
| stdlib | ||
| thread | ||
| timer | ||
| video | ||
| SDL_compat.c | ||
| SDL_error_c.h | ||
| SDL_error.c | ||
| SDL_fatal.c | ||
| SDL_fatal.h | ||
| SDL.c | ||