For some reason, when the GamePad is created from frozen code, the get_pressed method would always return 0. This fixes it, and makes it work properly no matter how the object was created. |
||
|---|---|---|
| .. | ||
| __init__.c | ||
| GamePad.c | ||
| GamePad.h | ||
For some reason, when the GamePad is created from frozen code, the get_pressed method would always return 0. This fixes it, and makes it work properly no matter how the object was created. |
||
|---|---|---|
| .. | ||
| __init__.c | ||
| GamePad.c | ||
| GamePad.h | ||