Skip to content

Commit

Permalink
add Touch Bar to ignored devices
Browse files Browse the repository at this point in the history
  • Loading branch information
tekezo committed Nov 25, 2016
1 parent 71020a0 commit 3c04eb4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/core/grabber/include/device_grabber.hpp
Expand Up @@ -423,6 +423,15 @@ class device_grabber final {
return true;
}

if (auto vendor_id = device.get_vendor_id()) {
if (auto product_id = device.get_product_id()) {
// Touch Bar on MacBook Pro 2016
if (*vendor_id == krbn::vendor_id(0x05ac) && *product_id == krbn::product_id(0x8600)) {
return true;
}
}
}

return false;
}

Expand Down

0 comments on commit 3c04eb4

Please sign in to comment.