summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibC
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2022-04-29 17:56:24 +0300
committerAndreas Kling <kling@serenityos.org>2022-05-05 20:55:57 +0200
commitd9a2706079d314416353148cc9822e997c37b680 (patch)
treeab9c68b8bb9651fb27c9cf28c14d7a88ce00f8fb /Userland/Libraries/LibC
parente6ebf9e5c1e82a638ac2a0c40166da36ca1d5bd5 (diff)
downloadserenity-d9a2706079d314416353148cc9822e997c37b680.zip
DisplaySettings+WindowServer: Add support for display connector devices
Diffstat (limited to 'Userland/Libraries/LibC')
-rw-r--r--Userland/Libraries/LibC/sys/ioctl_numbers.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Userland/Libraries/LibC/sys/ioctl_numbers.h b/Userland/Libraries/LibC/sys/ioctl_numbers.h
index 95e8b74742..417afc3dea 100644
--- a/Userland/Libraries/LibC/sys/ioctl_numbers.h
+++ b/Userland/Libraries/LibC/sys/ioctl_numbers.h
@@ -26,6 +26,7 @@ struct FBProperties {
unsigned char refresh_rate_support;
};
+// FIXME: Remove this once framebuffer devices are removed.
struct FBHeadProperties {
int head_index;
@@ -52,6 +53,7 @@ struct FBHeadModeSetting {
int vertical_offset;
};
+// FIXME: Remove this once framebuffer devices are removed.
struct FBHeadResolution {
int head_index;
int pitch;
@@ -181,6 +183,9 @@ enum IOCtlNumber {
#define FB_IOCTL_GET_HEAD_VERTICAL_OFFSET_BUFFER FB_IOCTL_GET_HEAD_VERTICAL_OFFSET_BUFFER
#define FB_IOCTL_FLUSH_HEAD_BUFFERS FB_IOCTL_FLUSH_HEAD_BUFFERS
#define FB_IOCTL_FLUSH_HEAD FB_IOCTL_FLUSH_HEAD
+#define FB_IOCTL_SET_HEAD_MODE_SETTING FB_IOCTL_SET_HEAD_MODE_SETTING
+#define FB_IOCTL_GET_HEAD_MODE_SETTING FB_IOCTL_GET_HEAD_MODE_SETTING
+#define FB_IOCTL_SET_SAFE_HEAD_MODE_SETTING FB_IOCTL_SET_SAFE_HEAD_MODE_SETTING
#define KEYBOARD_IOCTL_GET_NUM_LOCK KEYBOARD_IOCTL_GET_NUM_LOCK
#define KEYBOARD_IOCTL_SET_NUM_LOCK KEYBOARD_IOCTL_SET_NUM_LOCK
#define KEYBOARD_IOCTL_GET_CAPS_LOCK KEYBOARD_IOCTL_GET_CAPS_LOCK