PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/src/event_out.h

http://bdremote-ng.googlecode.com/
C++ Header | 50 lines | 7 code | 9 blank | 34 comment | 0 complexity | 0684f02605a84af0b363422b390f7f10 MD5 | raw file
 1/*
 2 *  bdremoteng - helper daemon for Sony(R) BD Remote Control
 3 *  Based on bdremoted, written by Anton Starikov <antst@mail.ru>.
 4 *
 5 *  Copyright (C) 2009 Paul Bender <pebender@gmail.com>
 6 *
 7 *  This program is free software; you can redistribute it and/or modify
 8 *  it under the terms of the GNU General Public License as published by
 9 *  the Free Software Foundation; either version 2 of the License, or
10 *  (at your option) any later version.
11 *
12 *  This program is distributed in the hope that it will be useful,
13 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
14 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 *  GNU General Public License for more details.
16 *
17 *  You should have received a copy of the GNU General Public License
18 *  along with this program; if not, write to the Free Software
19 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
20 *
21 */
22
23/** @defgroup uinput Uinput Support
24 * 
25 *  Output keypresses using event device using the Linux uinput
26 *  driver.
27 * 
28 *  @{
29 */
30
31/*! \file event_out.h
32  \brief uinput support.
33*/
34
35#ifndef EVENT_OUT_H
36#define EVENT_OUT_H
37
38#include "bdrcfg.h"
39
40/** Send event. */
41void event_out_send(int _code, int _value);
42
43/** Initialize. */
44void event_out_init(void);
45
46/** Close sockets etc.. */
47void event_out_destroy(void);
48
49
50#endif