* Update the status of the TopRider input device. */
| 1993 | * Update the status of the TopRider input device. |
| 1994 | */ |
| 1995 | static void |
| 1996 | UpdateTopRider() |
| 1997 | { |
| 1998 | int x; |
| 1999 | TopRiderData = 0; |
| 2000 | for (x = 0; x < 8; x++) |
| 2001 | { |
| 2002 | if (DTestButton(&TopRiderButtons[x])) |
| 2003 | { |
| 2004 | TopRiderData |= (1 << x); |
| 2005 | } |
| 2006 | } |
| 2007 | } |
| 2008 | |
| 2009 | static ButtConfig FTrainerButtons[12] = { |
| 2010 | MK(SDLK_O), MK(SDLK_P), MK(SDLK_BRACKET_LEFT), |
no test coverage detected