liberis
pad.h
Go to the documentation of this file.
00001 /*
00002         liberis -- A set of libraries for controlling the NEC PC-FX
00003 
00004 Copyright (C) 2011              Alex Marshall "trap15" <trap15@raidenii.net>
00005 
00006 # This code is licensed to you under the terms of the MIT license;
00007 # see file LICENSE or http://www.opensource.org/licenses/mit-license.php
00008 */
00009 
00014 #ifndef _LIBERIS_PAD_H_
00015 #define _LIBERIS_PAD_H_
00016 
00017 #include <eris/types.h>
00018 
00019 typedef enum {
00020         PAD_TYPE_NONE = 0,
00021         PAD_TYPE_MOUSE = 13,
00022         PAD_TYPE_MULTITAP = 14,
00023         PAD_TYPE_FXPAD = 15
00024 } pad_type;
00029 void eris_pad_init(int pad);
00035 u32 eris_pad_read(int pad);
00041 pad_type eris_pad_type(int pad);
00047 int eris_pad_connected(int pad);
00048 
00049 #endif
00050 
 All Files Functions Typedefs Enumerations Enumerator Defines