Hi all,
Sorry if this has been asked before or if it's something very simple todo and I'm just overthinking it,
The project I'm trying to make is to have a linux laptop send keyboard and mouse commands to to windows 10pc, i'm still trying to learn coding, but I have made a very simple python tkinter GUI with some buttons, when I press a button I want to send a command to the windows 10 PC via a USB to serial port adapter to serial1 on the Teensy 4.1 then usb cable to windows, commands i would like to use such as move mouse to X100 y100 click mouse or to simulate simple keyboard presses.
I could do this locally on the windows 10pc pretty easy with python, but I would like to automate it all from the laptop so no additional software is put on the win 10 pc, I'm just unsure what code/setup I should use on the teensy to act as a serial > HID, I have looked at the example code but I don't see how it can act as a keyboard and mouse, i guess tool>usb type adds additional code/setting i'm not seeing but even the example code I not sure what I really need.
I would appreciate any help.
Thanks,
Greg
Sorry if this has been asked before or if it's something very simple todo and I'm just overthinking it,
The project I'm trying to make is to have a linux laptop send keyboard and mouse commands to to windows 10pc, i'm still trying to learn coding, but I have made a very simple python tkinter GUI with some buttons, when I press a button I want to send a command to the windows 10 PC via a USB to serial port adapter to serial1 on the Teensy 4.1 then usb cable to windows, commands i would like to use such as move mouse to X100 y100 click mouse or to simulate simple keyboard presses.
I could do this locally on the windows 10pc pretty easy with python, but I would like to automate it all from the laptop so no additional software is put on the win 10 pc, I'm just unsure what code/setup I should use on the teensy to act as a serial > HID, I have looked at the example code but I don't see how it can act as a keyboard and mouse, i guess tool>usb type adds additional code/setting i'm not seeing but even the example code I not sure what I really need.
I would appreciate any help.
Thanks,
Greg