From 7a689b9474cd0ca771c4af23f772773c6e0ae2f0 Mon Sep 17 00:00:00 2001 From: Luiz Henrique Laurini Date: Sat, 20 Feb 2021 21:04:10 -0300 Subject: [PATCH] Fix mistake when renaming things --- .../src/main/java/com/genymobile/scrcpy/GameController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/main/java/com/genymobile/scrcpy/GameController.java b/server/src/main/java/com/genymobile/scrcpy/GameController.java index aef4f286..dc139e17 100644 --- a/server/src/main/java/com/genymobile/scrcpy/GameController.java +++ b/server/src/main/java/com/genymobile/scrcpy/GameController.java @@ -129,8 +129,8 @@ public final class GameController { private static final int UI_ABS_SETUP = iow(UINPUT_IOCTL_BASE, 4, new UinputAbsSetup().size()); private static final int UI_DEV_SETUP = iow(UINPUT_IOCTL_BASE, 3, new UinputSetup().size()); - private static final int UI_DEV_CREATE = iow(UINPUT_IOCTL_BASE, 1, 0); - private static final int UI_DEV_DESTROY = iow(UINPUT_IOCTL_BASE, 2, 0); + private static final int UI_DEV_CREATE = io(UINPUT_IOCTL_BASE, 1, 0); + private static final int UI_DEV_DESTROY = io(UINPUT_IOCTL_BASE, 2, 0); private static final short EV_SYN = 0x00; private static final short EV_KEY = 0x01;