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

Thread: Teensyduino USB Mouse Only profile

  1. #1
    Junior Member
    Join Date
    Aug 2015
    Posts
    4

    Teensyduino USB Mouse Only profile

    Hello,

    My first post here. I'm just experimenting with some example projects and so far everything is working fine.

    Now for my little project, I'm using only the mouse part of the USB HID.

    So when I connect my Teensy, Windows detects a Keyboard, Mouse and joystick.

    Does a Mouse Only profile exists?

    Thank you.
    Pitou!

  2. #2
    Junior Member
    Join Date
    Aug 2015
    Posts
    4
    I ended up doing it.

    Here it is if anyone interested.

    You can follow this link to add the profile. Basically one has to modify those files: (Thanks Les!)

    So in the ‘arduino install folder\hardware\teensy\cores\teensy’ folder we need to edit the following files.

    ‘core_id.h’, ‘usb.c’, ‘usb_api.cpp’, ‘usb_api.h’ & ‘usb_private.h’
    http://www.planetpointy.co.uk/custom...-2-0-joystick/

    And add the attchment in this folder:

    <Arduino install folder>/hardware/teensy/avr/cores/

    Pitou!
    Attached Files Attached Files

  3. #3
    Hi Pitou,

    I tried your code with Teensy 3.1,but it is not showing Mouse Only Profile.
    I need your help to do this.

    Thanks & Regards
    SrivaS.

  4. #4
    Junior Member
    Join Date
    Aug 2015
    Posts
    4
    Did you follow the link in the post?

    It explains how to add the profile to the boards.txt file

    Pitou!

Posting Permissions

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