Giter Club home page Giter Club logo

Comments (3)

gary-rowe avatar gary-rowe commented on September 4, 2024

Interesting. Your device is declaring itself as a Consumer Audio Control (usage page 0x0C, usage ID 0x01) which is opened by Windows for System use. Here's an article about it.

However the access mode from the system is Shared indicating that it should be possible to open it yourself. Unfortunately, given that it's listed there means that it may not be possible to use hidapi.dll (the underlying HID API that hid4java wraps) and you may need to explore the more direct usb4java alternative.

from hid4java.

NathanSweet avatar NathanSweet commented on September 4, 2024

Thanks for the help. Man, what a pain this has been! usb4java was a failure, it just didn't work right. Eventually I switched to LibUsbJava and finished my project:
https://github.com/EsotericSoftware/powermate
Here is where the magic happens:
https://github.com/EsotericSoftware/powermate/blob/master/src/powermate/PowerMate.java#L28
Cheers!

from hid4java.

gary-rowe avatar gary-rowe commented on September 4, 2024

That's good to know and I'm glad you were able to resolve the issue. LibUsbJava is quite an old project (2008 was last release) but at least it worked so no complaints there.

from hid4java.

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.