Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
42 lines (36 sloc) 1.47 KB
* SNESDev - User-space driver for the RetroPie GPIO Adapter for the Raspberry Pi.
* (c) Copyright 2012-2013 Florian Müller (
* SNESDev homepage:
* Permission to use, copy, modify and distribute SNESDev in both binary and
* source form, for non-commercial purposes, is hereby granted without fee,
* providing that this license information and copyright notice appear with
* all copies and any derived work.
* This software is provided 'as-is', without any express or implied
* warranty. In no event shall the authors be held liable for any damages
* arising from the use of this software.
* SNESDev is freeware for PERSONAL USE only. Commercial users should
* seek permission of the copyright holders first. Commercial use includes
* charging money for SNESDev or software derived from SNESDev.
* The copyright holders request that bug fixes and improvements to the code
* should be forwarded to them so everyone can benefit from the modifications
* in future versions.
* Raspberry Pi is a trademark of the Raspberry Pi Foundation.
#ifndef UINPUT_KBD_H_
#define UINPUT_KBD_H_
#include <stdint.h>
typedef struct {
int16_t fd;
int16_t uinput_kbd_open (UINP_KBD_DEV* const kbd);
int16_t uinput_kbd_close (UINP_KBD_DEV* const kbd);
int16_t uinput_kbd_write (UINP_KBD_DEV* const kbd, unsigned int keycode, int keyvalue, unsigned int evtype);
#endif /* UINPUT_KBD_H_ */