home *** CD-ROM | disk | FTP | other *** search
/ MACD 4 / MACD4.iso / Emulatory / v2600 / source.lha / source / keyboard.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-01-27  |  944 b   |  53 lines

  1. /*****************************************************************************
  2.  
  3.    This file is part of x2600, the Atari 2600 Emulator
  4.    ===================================================
  5.    
  6.    Copyright 1996 Alex Hornby. For contributions see the file CREDITS.
  7.  
  8.    This software is distributed under the terms of the GNU General Public
  9.    License. This is free software with ABSOLUTELY NO WARRANTY.
  10.    
  11.    See the file COPYING for details.
  12.    
  13.    $Id: keyboard.h,v 1.4 1996/08/26 15:05:03 ahornby Exp $
  14. ******************************************************************************/
  15.  
  16. /*
  17.   Keyboard prototypes.
  18.   */
  19.  
  20. #ifndef KEYBOARD_H
  21. #define KEYBOARD_H
  22.  
  23. enum control {STICK, PADDLE, KEYPAD};
  24.  
  25. int
  26. mouse_position(void);
  27.  
  28. int
  29. mouse_button(void);
  30.  
  31. void
  32. read_trigger(void);
  33.  
  34. void
  35. read_stick(void);
  36.  
  37. void 
  38. read_keypad(int pad);
  39.  
  40. void
  41. read_console(void);
  42.  
  43. void
  44. init_keyboard(void);
  45.  
  46. void
  47. close_keyboard(void);
  48.  
  49. void
  50. read_keyboard(void);
  51.  
  52. #endif
  53.