-
Hello, I was wondering if it was possible to make the tinypilot only forward mouse and look like a mouse device instead of keyboard/mouse combo? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
It's not possible natively, but you could rewrite your See this commit for an example of how I changed it to a keyboard-only device: tiny-pilot/ansible-role-tinypilot@dca65cf You'd have to take out the keyboard parts as opposed to the mouse parts. You might also have to find a different value for |
Beta Was this translation helpful? Give feedback.
-
This could be automated fairly easily, as well as adding in the mass storage item I just opened another discussion on. If there's desire, I could write up the automation for it while I am adding the mass storage item. Perhaps a select for enable / disable each component, along with the ability to upload / select disk images to mount? Would want some help with the UI portion, but I can do the rest. |
Beta Was this translation helpful? Give feedback.
It's not possible natively, but you could rewrite your
/opt/tinypilot-privileged/init-usb-gadget
file to make it act like a pure mouse rather than its current behavior (USB hub with mouse + keyboard inserted).See this commit for an example of how I changed it to a keyboard-only device:
tiny-pilot/ansible-role-tinypilot@dca65cf
You'd have to take out the keyboard parts as opposed to the mouse parts.
You might also have to find a different value for
idProduct
because0xa4ac
might be specifically for keyboard, but it's possible that it's for keyboard or mouse.