diff options
author | Sergey Bugaev <bugaevc@serenityos.org> | 2020-02-03 19:29:40 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-02-04 19:11:52 +0100 |
commit | 0334656e45c6fd53f1d37e80d3ca360825368544 (patch) | |
tree | f977fc851572c9bfe7d2719b8f744333923c6caa /Kernel/MousePacket.h | |
parent | 6c9d66ed4b686dcfaa02f9c89fcc3812a0acedf8 (diff) | |
download | serenity-0334656e45c6fd53f1d37e80d3ca360825368544.zip |
Kernel: Stub absolute mouse positioning support
This is not the real kernel patch, @supercomputer7 is doing that :^)
Diffstat (limited to 'Kernel/MousePacket.h')
-rw-r--r-- | Kernel/MousePacket.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Kernel/MousePacket.h b/Kernel/MousePacket.h index ebb19d97e4..a6c93f151a 100644 --- a/Kernel/MousePacket.h +++ b/Kernel/MousePacket.h @@ -27,8 +27,9 @@ #pragma once struct MousePacket { - int dx { 0 }; - int dy { 0 }; - int dz { 0 }; + int x { 0 }; + int y { 0 }; + int z { 0 }; unsigned char buttons { 0 }; + bool is_relative { true }; }; |