Giter Site home page Giter Site logo

hidapi.pas's People

Contributors

prof7bit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

hidapi.pas's Issues

Windows support

I am struggling to access a HID device with Freepascal on Windows. It looks like this is pretty close to what could possibly solve the problem for me. I saw the notes in the readme that it doesn't work under windows yet, but I'm hoping it can be made to work under windows. I don't know anything about USB, or HID, or C and I'm lost when you say that wchar_t == 4 is not so in windows.. I don't know what in the world a wchar_t is or how to do something to make it == 4, so I'm hoping you can help me get this to work under windows.

I have a sample code (written in Python for Linux) that accesses this device, it uses similar functions to what you show here, open, close, write, read, sendfeaturereport, etc... so it seems like maybe if I could just get this to work under windows, it would be a solution for me.

I would be very grateful for any help getting this to work on Windows, and I'm happy to do whatever testing is needed. I also have no idea where to get HIDAPI.DLL, I'm hoping you could give me an idea of where I might get that as well.

HID Connection status.

Hi. This is more a question. How do you check the connection status of the HID Device using the HId API? Let say you loose connection and want to reconnect or somebody pulls out the USB cable. How do you recover from a connection failure?

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.