summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2008-07-02 04:23:23 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2008-07-02 04:23:23 +0000
commit39f2f733ad674bcec48d0e0590eb64af27c1d9b7 (patch)
tree15bba640f5f328ecc42205e4d581e22dc3521b22 /sys
parent8c880ef399b36a350952a96aae3dc34f81bfaaf9 (diff)
defines for output devices' events.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/acpi/acpivideo.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/dev/acpi/acpivideo.c b/sys/dev/acpi/acpivideo.c
index 7659182a296..1689de48d57 100644
--- a/sys/dev/acpi/acpivideo.c
+++ b/sys/dev/acpi/acpivideo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpivideo.c,v 1.1 2008/07/02 03:14:54 fgsch Exp $ */
+/* $OpenBSD: acpivideo.c,v 1.2 2008/07/02 04:23:22 fgsch Exp $ */
/*
* Copyright (c) 2008 Federico G. Schwindt <fgsch@openbsd.org>
*
@@ -47,6 +47,13 @@
#define NOTIFY_OUTPUT_NEXT_KEY 0x83
#define NOTIFY_OUTPUT_PREV_KEY 0x84
+/* Notifications for Output Devices */
+#define NOTIFY_BRIGHTNESS_CYCLE 0x85
+#define NOTIFY_BRIGHTNESS_UP 0x86
+#define NOTIFY_BRIGHTNESS_DOWN 0x87
+#define NOTIFY_BRIGHTNESS_ZERO 0x88
+#define NOTIFY_DISPLAY_OFF 0x89
+
struct acpivideo_softc {
struct device sc_dev;