mirror of
https://github.com/Oibaf66/uae-wii.git
synced 2024-06-03 00:58:47 +02:00
25 lines
612 B
C
25 lines
612 B
C
/*********************************************************************
|
|
*
|
|
* Copyright (C) 2009, Simon Kagstrom
|
|
*
|
|
* Filename: VirtualKeyboard.c
|
|
* Author: Simon Kagstrom <simon.kagstrom@gmail.com>
|
|
* Description: A virtual keyboard
|
|
*
|
|
* $Id$
|
|
*
|
|
********************************************************************/
|
|
#include <SDL.h>
|
|
#include <SDL_ttf.h>
|
|
|
|
typedef struct virtkey
|
|
{
|
|
const char *name;
|
|
const char *ev_name;
|
|
int sdl_code;
|
|
int is_done;
|
|
} virtkey_t;
|
|
|
|
extern void virtkbd_init(SDL_Surface *surf, TTF_Font *fnt);
|
|
extern struct virtkey *virtkbd_get_key(void);
|