Rev 113 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
112 | chrv | 1 | #ifndef __JOYSTICK_H__ |
2 | #define __JOYSTICK_H__ |
||
3 | |||
4 | /** |
||
5 | * @file |
||
6 | * @brief Kempstone joystick support. |
||
7 | * @author http://www.nedopc.com |
||
8 | * |
||
9 | * Kempston joystick support for ZX Evolution. |
||
10 | * |
||
11 | * Kempston joystick port bits (if bit set - button pressed): |
||
127 | chrv | 12 | * - 0: right; |
13 | * - 1: left; |
||
14 | * - 2: down; |
||
15 | * - 3: up; |
||
16 | * - 4: fire; |
||
17 | * - 5-7: 0. |
||
112 | chrv | 18 | */ |
19 | |||
20 | /** Kempstone joystick task. */ |
||
21 | void joystick_task(void); |
||
22 | |||
23 | #endif //__JOYSTICK_H__ |