From: Peter Hutterer Date: Tue, 4 Jul 2017 07:41:46 +0000 (+1000) Subject: udev: move the KEY_* defines to missing.h (#6278) X-Git-Tag: chiark/234.4-1+devuan1.1+iwj1~81 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=16b913dec453b60d78efc10d1949d614b8268e42;p=elogind.git udev: move the KEY_* defines to missing.h (#6278) --- diff --git a/src/basic/missing.h b/src/basic/missing.h index a923de5e5..24c6d820b 100644 --- a/src/basic/missing.h +++ b/src/basic/missing.h @@ -1080,6 +1080,15 @@ struct input_mask { #ifndef INPUT_PROP_ACCELEROMETER #define INPUT_PROP_ACCELEROMETER 0x06 #endif + +#ifndef BTN_DPAD_UP +#define BTN_DPAD_UP 0x220 +#define BTN_DPAD_RIGHT 0x223 +#endif + +#ifndef KEY_ALS_TOGGLE +#define KEY_ALS_TOGGLE 0x230 +#endif #endif // 0 #ifndef HAVE_KEY_SERIAL_T