Custom USB on Teensy

Sysprogs forums Forums VisualGDB Custom USB on Teensy

This topic contains 3 replies, has 2 voices, and was last updated by  support 2 weeks, 1 day ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #28781

    matstumpf
    Participant

    Hi!

    I’m using a TeensyLC, and I can select the pre-defined types of USB in Project Properties>USB Type, and it works.

    But now I want to develop my own HID (game controller), with my own game controller name and number of buttons, axis, etc.

    How can I do that?

    #28782

    support
    Keymaster

    Hi,

    This looks like a Teensy-specific question rather than VisualGDB-specific one. Please consider asking on the Teensy forum instead.

    #28783

    matstumpf
    Participant

    I asked here because I have my firmware working on Arduino IDE, it recognizes as a game controller, and then I moved the project to VisualGDB, and it compiles, program ok, but the Game Controller is not detected on Windows.

    Looks like the VisualGDB config of ‘USB Type’ is above the defined in my code.

    #28784

    support
    Keymaster

    No problem, we can help you narrow it down. Please try following this tutorial to compare the build command lines used by VisualGDB vs. the Arduino IDE. You can also modify the command lines manually to see what exact parts of them triggers the different behavior.

    Once you find a specific flag or option that causes the VisualGDB-based project to work differently, we can help you find the setting that allows changing it.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.