diff options
Diffstat (limited to 'app-laptop/pbbuttonsd/files/pbbuttonsd-0.5.11-compat.patch')
-rw-r--r-- | app-laptop/pbbuttonsd/files/pbbuttonsd-0.5.11-compat.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/app-laptop/pbbuttonsd/files/pbbuttonsd-0.5.11-compat.patch b/app-laptop/pbbuttonsd/files/pbbuttonsd-0.5.11-compat.patch new file mode 100644 index 000000000000..baf1e3b3b844 --- /dev/null +++ b/app-laptop/pbbuttonsd/files/pbbuttonsd-0.5.11-compat.patch @@ -0,0 +1,24 @@ +diff -ruN pbbuttonsd-0.5.11.orig/libpbbipc/pbbtags.h pbbuttonsd-0.5.11/libpbbipc/pbbtags.h +--- pbbuttonsd-0.5.11.orig/libpbbipc/pbbtags.h 2004-04-22 11:51:28.864160008 +0200 ++++ pbbuttonsd-0.5.11/libpbbipc/pbbtags.h 2004-04-22 11:53:31.577504744 +0200 +@@ -92,6 +92,20 @@ + #define TAG_BLANKFRAMEBUFFER MOD_DISPLAY | 9 + #define TAG_DIMFULLYDARK MOD_DISPLAY | 11 + ++/* Compatibility tags, needed by kmilo and possibly other programs */ ++#define TAG_BRIGHTNESSUPKEY MOD_DISPLAY | 1 ++#define TAG_BRIGHTNESSUPMOD MOD_DISPLAY | 2 ++#define TAG_BRIGHTNESSDOWNKEY MOD_DISPLAY | 3 ++#define TAG_BRIGHTNESSDOWNMOD MOD_DISPLAY | 4 ++#define TAG_BRIGHTNESS MOD_DISPLAY | 5 ++#define TAG_BRIGHTNESSOP MOD_DISPLAY | FLG_PRIVATE | 6 ++#define TAG_BRIGHTNESSMAX MOD_DISPLAY | 7 ++#define TAG_FRAMEBUFFERDEVICE MOD_DISPLAY | FLG_STRING | 8 ++#define TAG_BLANKFRAMEBUFFER MOD_DISPLAY | 9 ++#define TAG_FADINGSPEED MOD_DISPLAY | 10 ++#define TAG_DIMFULLYDARK MOD_DISPLAY | 11 ++ ++ + #define MOD_MIXER 5 << 16 + #define TAG_MIXERDEVICE MOD_MIXER | FLG_STRING | 1 + #define TAG_VOLUMEUPKEY MOD_MIXER | 2 |