rowan-m / joyride

A simple Chrome extension that maps button presses from the Gamepad API to KeyboardEvents.
https://chrome.google.com/webstore/detail/joyride/hejncbodigbbhdfhkapkfdhhjflafdff
Apache License 2.0
37 stars 5 forks source link

JoyCon ID is different #1

Open Mamboleoo opened 6 years ago

Mamboleoo commented 6 years ago

Hey, First thanks for your extension, it's super useful for me ! I wanted to let you know that the ID of the JoyCon is not the same on my computer. From your code I see you have Joy-Con (R) (Vendor: 057e Product: 2007) but on my side it's Wireless Gamepad (Vendor: 057e Product: 2007).

Do you have an idea where this difference may come ?

I'll try to do a pull request to support top / bottom keys when I find some time :) Cheers, Louis

rowan-m commented 5 years ago

Sorry for not noticing this earlier! I'm going to do some work on this, so will clean up the device detection. Looks like I should just use the Vendor: 057e Product: 2007 substring.