Logo Search packages:      
Sourcecode: pbbuttonsd version File versions

pbbinput.h

#ifndef INCLUDE_PBBINPUT_H
#define INCLUDE_PBBINPUT_H
/* ----------------------------------------------------------------------------
 * pbbinput.h
 * This includefile adds support for the brightnes keys
 * to the kernel input.h if they wasn't already supported.
 * This allows to compile pbbuttonsd on kernels before
 * 2.4.18-rc2-benh.
 *
 * Copyright 2002 Matthias Grimm
 *
 * This program 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 Foundation; either version
 * 2 of the License, or (at your option) any later version.
 * ----------------------------------------------------------------------------*/

#include <linux/input.h>

#ifndef KEY_BRIGHTNESSUP
#define KEY_BRIGHTNESSUP 225
#endif

#ifndef KEY_BRIGHTNESSDOWN
#define KEY_BRIGHTNESSDOWN 224
#endif

#endif    /* INCLUDE_PBBINPUT_H */

Generated by  Doxygen 1.6.0   Back to index