comparison blastem.h @ 418:dbf4e1c86f3c

Implement basic joystick support
author Mike Pavone <pavone@retrodev.com>
date Sun, 23 Jun 2013 22:27:12 -0700
parents c26e48a93fa3
children d0cacb4ade0b
comparison
equal deleted inserted replaced
417:acdd6c5240fe 418:dbf4e1c86f3c
43 void io_adjust_cycles(io_port * pad, uint32_t current_cycle, uint32_t deduction); 43 void io_adjust_cycles(io_port * pad, uint32_t current_cycle, uint32_t deduction);
44 uint16_t read_dma_value(uint32_t address); 44 uint16_t read_dma_value(uint32_t address);
45 m68k_context * debugger(m68k_context * context, uint32_t address); 45 m68k_context * debugger(m68k_context * context, uint32_t address);
46 void handle_keydown(int keycode); 46 void handle_keydown(int keycode);
47 void handle_keyup(int keycode); 47 void handle_keyup(int keycode);
48 void handle_joydown(int joystick, int button);
49 void handle_joyup(int joystick, int button);
50 void handle_joy_dpad(int joystick, int dpad, uint8_t state);
48 51
49 #endif //BLASTEM_H_ 52 #endif //BLASTEM_H_
50 53