version 1.1 | | version 1.2 |
---|
| | |
* Routines for joystick reading. | | * Routines for joystick reading. |
* | | * |
* $Log$ | | * $Log$ |
* Revision 1.1 1999/06/14 21:58:26 donut | | * Revision 1.2 2000/02/07 10:09:52 donut |
* Initial revision | | * dos pragma ifdefs |
| | * |
| | * Revision 1.1.1.1 1999/06/14 21:58:26 donut |
| | * Import of d1x 1.37 source. |
* | | * |
* Revision 1.37 1995/10/07 13:22:31 john | | * Revision 1.37 1995/10/07 13:22:31 john |
* Added new method of reading joystick that allows higher-priority | | * Added new method of reading joystick that allows higher-priority |
| | |
| | |
} | | } |
| | |
| | #ifndef __GNUC__ |
#pragma off (check_stack) | | #pragma off (check_stack) |
| | #endif |
| | |
void joy_handler(int ticks_this_time) { | | void joy_handler(int ticks_this_time) { |
ubyte value; | | ubyte value; |
| | |
void joy_handler_end() { // Dummy function to help calculate size of joystick handler function | | void joy_handler_end() { // Dummy function to help calculate size of joystick handler function |
} | | } |
| | |
| | #ifndef __GNUC__ |
#pragma off (check_stack) | | #pragma off (check_stack) |
| | #endif |
| | |
ubyte joy_read_raw_buttons() { | | ubyte joy_read_raw_buttons() { |
if ( joystick.slow_read & JOY_BIOS_READINGS ) | | if ( joystick.slow_read & JOY_BIOS_READINGS ) |