Skip to content

Commit

Permalink
Oh, hai, stupid typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
NiLuJe committed May 30, 2023
1 parent 0204dd6 commit c4d0521
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/input.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,8 @@ class Inputs {
int fd;
if (access(ELAN_BUS1_TOUCHPAD_EVDEV, F_OK) == 0) {
fd = open(ELAN_BUS1_TOUCHPAD_EVDEV, O_RDONLY | O_NONBLOCK | O_CLOEXEC);
} else if (access(ELAN_BUS1_TOUCHPAD_EVDEV, F_OK) == 0) {
fd = open(ELAN_BUS1_TOUCHPAD_EVDEV, O_RDONLY | O_NONBLOCK | O_CLOEXEC);
} else if (access(ELAN_BUS0_TOUCHPAD_EVDEV, F_OK) == 0) {
fd = open(ELAN_BUS0_TOUCHPAD_EVDEV, O_RDONLY | O_NONBLOCK | O_CLOEXEC);
} else {
fd = open(NXP_TOUCHPAD_EVDEV, O_RDONLY | O_NONBLOCK | O_CLOEXEC);
}
Expand Down

0 comments on commit c4d0521

Please sign in to comment.