Skip to content

Commit

Permalink
add ps/2 support on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
theyareonit committed Sep 15, 2024
1 parent 7640d1e commit 2508f47
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Binary file modified resources/linux-input.exe.so
Binary file not shown.
4 changes: 3 additions & 1 deletion src/linux/linux-input.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ int main() {
continue;
}

if (libevdev_get_id_bustype(dev) == BUS_USB || libevdev_get_id_bustype(dev) == BUS_BLUETOOTH) {

int bus = libevdev_get_id_bustype(dev);
if (bus == BUS_USB || bus == BUS_BLUETOOTH || bus == BUS_I8042) {
devices.push_back(dev);

epoll_event ev;
Expand Down

0 comments on commit 2508f47

Please sign in to comment.