AiCPlayer
Interface of aic vm - for rendering aspect, sensors, video records
Functions
sdl_translate.h File Reference

Convert sdl events to uinput codes. More...

#include <SDL2/SDL_keycode.h>
#include <SDL2/SDL_scancode.h>
Include dependency graph for sdl_translate.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int sdl_translate_event (SDL_Scancode scancode, SDL_Keycode keysym)
 Convert an SDL scancode to a value read by the virtual input daemon. More...
 

Detailed Description

Convert sdl events to uinput codes.

The uinput codes will be read by the input daemon on the virtual machine side.

Definition in file sdl_translate.h.

Function Documentation

int sdl_translate_event ( SDL_Scancode  scancode,
SDL_Keycode  keysym 
)

Convert an SDL scancode to a value read by the virtual input daemon.

Definition at line 105 of file sdl_translate.c.

Here is the caller graph for this function: