diff options
author | David Chiu <dchiu@synaptics.com> | 2022-01-27 16:41:58 +0800 |
---|---|---|
committer | Vincent Huang <vincenthsw@gmail.com> | 2022-02-07 10:40:38 +0800 |
commit | 8452c46fe27aae8150e32a52df811c545bdec82b (patch) | |
tree | 091446ce75053843e670fd86ea10294ec70f186e | |
parent | 19496e9ad1e9fcd7302e7fa26943fd103d69de3f (diff) | |
download | rmi4utils-8452c46fe27aae8150e32a52df811c545bdec82b.tar.gz |
Disable this feature until we can make sure device has this feature already.
-rwxr-xr-x | rmidevice/hiddevice.cpp | 4 |
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; |