Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 2 of 2

Thread: Analog Output over HID

  1. #1
    Junior Member
    Join Date
    May 2018
    Posts
    1

    Analog Output over HID

    I'm researching to use the Teensy as a standard HID device (using the standard windows HID functionality, without writing or installing an additional driver).

    Reading in analog and digital values seems to be straightforward with selecting 'USB Type: Keyboard + Mouse + Joystick'.

    I'm having an harder time confirming that sending a analog or digital output from the PC to the Teensy is straightforward with the standard HID protocol. Some joystick or other HID devices provide force feedback, but maybe this can only be done over a custom windows driver and not over the standard HID protocol.

    Anyone experience with this subject? Using a virtual serial driver could be an alternative.

    Thxs,

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    19,942
    It depends if you're willing to create non-driver software on the PC side. If so, use RawHID.

    If not, I'm afraid most of the pre-defined HID types like Keyboard, Mouse, Joystick, Touch Screen are all about getting data from users into the PC. Some people have used the keyboard LEDs, but that's quite kludgey.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •