aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Chiu <dchiu@synaptics.com>2022-01-27 16:41:58 +0800
committerVincent Huang <vincenthsw@gmail.com>2022-02-07 10:40:38 +0800
commit8452c46fe27aae8150e32a52df811c545bdec82b (patch)
tree091446ce75053843e670fd86ea10294ec70f186e
parent19496e9ad1e9fcd7302e7fa26943fd103d69de3f (diff)
downloadrmi4utils-8452c46fe27aae8150e32a52df811c545bdec82b.tar.gz
Disable this feature until we can make sure device has this feature already.
-rwxr-xr-xrmidevice/hiddevice.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/rmidevice/hiddevice.cpp b/rmidevice/hiddevice.cpp
index 8074f1c..f55dc3a 100755
--- a/rmidevice/hiddevice.cpp
+++ b/rmidevice/hiddevice.cpp
@@ -437,6 +437,10 @@ int HIDDevice::ToggleInterruptMask(bool enable)
int rc;
char buf[2];
+ // Not use this feature temporarily. Need more implementation to check whether it
+ // exists this feature in device.
+ return 0;
+
if (GetDeviceType() != RMI_DEVICE_TYPE_TOUCHPAD) {
fprintf(stdout, "Not TP, skip toggle interrupts mask\n");
return 0;