mirror of
https://github.com/PixlOne/logiops.git
synced 2025-07-14 13:22:33 +08:00
Make HiresScroll and ThumbWheel IPC consistent
Features should be at device node.
This commit is contained in:
parent
0b515feb17
commit
7a4a7f0573
@ -70,7 +70,7 @@ HiresScroll::HiresScroll(Device* dev) :
|
|||||||
|
|
||||||
_last_scroll = std::chrono::system_clock::now();
|
_last_scroll = std::chrono::system_clock::now();
|
||||||
|
|
||||||
_ipc_interface = _node->make_interface<IPC>(this);
|
_ipc_interface = dev->ipcNode()->make_interface<IPC>(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
HiresScroll::~HiresScroll() noexcept {
|
HiresScroll::~HiresScroll() noexcept {
|
||||||
|
@ -105,7 +105,7 @@ ThumbWheel::ThumbWheel(Device* dev) : DeviceFeature(dev), _wheel_info(),
|
|||||||
_fixGesture(_right_gesture);
|
_fixGesture(_right_gesture);
|
||||||
}
|
}
|
||||||
|
|
||||||
_ipc_interface = _node->make_interface<IPC>(this);
|
_ipc_interface = dev->ipcNode()->make_interface<IPC>(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
ThumbWheel::~ThumbWheel() noexcept {
|
ThumbWheel::~ThumbWheel() noexcept {
|
||||||
|
Loading…
Reference in New Issue
Block a user