Blame input_layer.h

Packit a94d48
/*
Packit a94d48
 *  input_layer.h - Kernel ACPI Event Input Layer Interface
Packit a94d48
 *
Packit a94d48
 *  Handles the details of getting kernel ACPI events from the input
Packit a94d48
 *  layer (/dev/input/event*).
Packit a94d48
 *
Packit a94d48
 *  Copyright (C) 2008, Ted Felix (www.tedfelix.com)
Packit a94d48
 *
Packit a94d48
 *  This program is free software; you can redistribute it and/or modify
Packit a94d48
 *  it under the terms of the GNU General Public License as published by
Packit a94d48
 *  the Free Software Foundation; either version 2 of the License, or
Packit a94d48
 *  (at your option) any later version.
Packit a94d48
 *
Packit a94d48
 *  This program is distributed in the hope that it will be useful,
Packit a94d48
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit a94d48
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit a94d48
 *  GNU General Public License for more details.
Packit a94d48
 *
Packit a94d48
 *  You should have received a copy of the GNU General Public License
Packit a94d48
 *  along with this program; if not, write to the Free Software
Packit a94d48
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
Packit a94d48
 *
Packit a94d48
 *  (tabs at 4)
Packit a94d48
 */
Packit a94d48
Packit a94d48
#ifndef INPUT_LAYER_H__
Packit a94d48
#define INPUT_LAYER_H__
Packit a94d48
Packit a94d48
/* Open each of the appropriate /dev/input/event* files for input. */
Packit a94d48
extern void open_input(void);
Packit a94d48
Packit a94d48
/* Open a single input layer device file for input. */
Packit a94d48
extern int open_inputfile(const char *filename);
Packit a94d48
Packit a94d48
#endif /* INPUT_LAYER_H__ */