aboutsummaryrefslogtreecommitdiffstats
path: root/keyboard_layout.lua
diff options
context:
space:
mode:
Diffstat (limited to 'keyboard_layout.lua')
-rw-r--r--keyboard_layout.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboard_layout.lua b/keyboard_layout.lua
index a230f9b..34404b7 100644
--- a/keyboard_layout.lua
+++ b/keyboard_layout.lua
@@ -19,8 +19,8 @@
keyboard_usb_watcher = hs.usb.watcher.new(function(event)
if event['productName'] ~= 'iMate, USB To ADB Adaptor'
- and event['vendorID'] ~= 1917
- and event['productID'] ~= 1029
+ or event['vendorID'] ~= 1917
+ or event['productID'] ~= 1029
then
return
end