2012-06-19 16:42:08 +00:00
|
|
|
/* RetroArch - A frontend for libretro.
|
|
|
|
* Copyright (C) 2010-2012 - Hans-Kristian Arntzen
|
|
|
|
* Copyright (C) 2012 - Michael Lelli
|
|
|
|
*
|
|
|
|
* RetroArch is free software: you can redistribute it and/or modify it under the terms
|
|
|
|
* of the GNU General Public License as published by the Free Software Found-
|
|
|
|
* ation, either version 3 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
|
|
|
|
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
|
|
* PURPOSE. See the GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License along with RetroArch.
|
|
|
|
* If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2012-06-22 17:16:53 +00:00
|
|
|
#ifndef LINUXRAW_INPUT_H__
|
|
|
|
#define LINUXRAW_INPUT_H__
|
2012-05-25 19:44:39 +00:00
|
|
|
|
2012-06-19 18:49:38 +00:00
|
|
|
#include "../general.h"
|
|
|
|
#include "rarch_sdl_input.h"
|
|
|
|
|
2012-05-25 19:44:39 +00:00
|
|
|
typedef struct linuxraw_input
|
|
|
|
{
|
2012-06-19 16:44:10 +00:00
|
|
|
sdl_input_t *sdl;
|
|
|
|
bool state[0x80];
|
2012-05-25 19:44:39 +00:00
|
|
|
} linuxraw_input_t;
|
|
|
|
|
|
|
|
#endif
|