aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/emulatemb.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/emulatemb.cxx')
-rw-r--r--tests/unit/emulatemb.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/emulatemb.cxx b/tests/unit/emulatemb.cxx
index ae022c06..6db8ea38 100644
--- a/tests/unit/emulatemb.cxx
+++ b/tests/unit/emulatemb.cxx
@@ -42,14 +42,14 @@ rfb::BoolParameter emulateMiddleButton("dummy_name", "dummy_desc", true);
class TestClass : public EmulateMB
{
public:
- void sendPointerEvent(const rfb::Point& pos, uint8_t buttonMask) override;
+ void sendPointerEvent(const rfb::Point& pos, uint16_t buttonMask) override;
- struct PointerEventParams {rfb::Point pos; uint8_t mask; };
+ struct PointerEventParams {rfb::Point pos; uint16_t mask; };
std::vector<PointerEventParams> results;
};
-void TestClass::sendPointerEvent(const rfb::Point& pos, uint8_t buttonMask)
+void TestClass::sendPointerEvent(const rfb::Point& pos, uint16_t buttonMask)
{
PointerEventParams params;
params.pos = pos;