Xemu [doxygen]  hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
Data Structures | Functions
input_devices.c File Reference
#include "xemu/emutools.h"
#include "xemu/emutools_hid.h"
#include "input_devices.h"
#include "commander_x16.h"
#include <string.h>
Include dependency graph for input_devices.c:

Go to the source code of this file.

Data Structures

struct  ps2_keymap_st
 

Functions

void clear_emu_events (void)
 
int read_ps2_port (void)
 
int emu_callback_key (int pos, SDL_Scancode key, int pressed, int handled)
 

Function Documentation

◆ clear_emu_events()

void clear_emu_events ( void  )

Definition at line 57 of file input_devices.c.

Here is the call graph for this function:

◆ emu_callback_key()

int emu_callback_key ( int  pos,
SDL_Scancode  key,
int  pressed,
int  handled 
)

Definition at line 138 of file input_devices.c.

◆ read_ps2_port()

int read_ps2_port ( void  )

Definition at line 71 of file input_devices.c.