Teensyduino USB Mouse Only profile

Status
Not open for further replies.

Pitou

New member
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!
 
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-teensy-2-0-joystick/

And add the attchment in this folder:

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

Pitou!
 

Attachments

  • usb_mouse.zip
    8.3 KB · Views: 139
Did you follow the link in the post?

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

Pitou!
 
Status
Not open for further replies.
Back
Top