Skip to content

Commit

Permalink
Fixed #2
Browse files Browse the repository at this point in the history
  • Loading branch information
raleighlittles committed Oct 31, 2022
1 parent bdb8e56 commit 7779f5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/uinput_helper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ void registerKeyboardEvents(int fileDescriptor)

// These are all of the following key types that the Tourbox will be able to produce using this driver

for (const auto keyType : keyMap)
for (const auto& keyType : keyMap)
{
ioctl(fileDescriptor, UI_SET_KEYBIT, keyType.second);
}
Expand Down

0 comments on commit 7779f5a

Please sign in to comment.