Code Monkey home page Code Monkey logo

Comments (6)

michaelhatPIengineering avatar michaelhatPIengineering commented on July 25, 2024

This is the first we have heard of. The output report has stayed the same.
It may be trying to write to the wrong end point.
The X-keys is several "devices" to the OS as it is a compound USB device.
Be sure to check the write length is longer than 20 or HID usage page 0xc (12 dec
)

Writing to device "0" for example does not always work if the OS enumerates them in a different order.

from xkeys.

Julusian avatar Julusian commented on July 25, 2024

This was pretty easy to reproduce, and I could see that when approving the device it returns 3 different objects where we were always taking the first of this list.

Filtering this to only return and accept ones with usagePage 12 has made the issue go away for me

from xkeys.

KhangxLi avatar KhangxLi commented on July 25, 2024

Correction: Issue might have been present on earlier Chrome version (115) and was exposed by a combination of Windows upgrade and Chrome update.

from xkeys.

michaelhatPIengineering avatar michaelhatPIengineering commented on July 25, 2024

I reviewed with our firmware engineer; she recommends:
filter only on:
VID
PID
Usage page 12
write length > 20
to get the "device" supported by this lib.
other things are redundant or not consistent over all OSs

from xkeys.

KhangxLi avatar KhangxLi commented on July 25, 2024

thanks guys, I'm able to fix it locally since I can access these fields.

Will update my package once #93 is merged since it seems to also take care of an uncaught promise rejection.

Won't close this issue myself until above is merged

from xkeys.

nytamin avatar nytamin commented on July 25, 2024

This is now fixed in version v3.0.1, thanks for contributing!

from xkeys.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.