With a Rasbperry Pi Pico I make a mouse. I need the usb_hid library but can't find it:
from machine import Pin
import usb_hid  <----
import time as t
from adafruit_hid.mouse import Mouse
pulsador_uno = Pin(3, Pin.IN, Pin.PULL_UP) #declaramos la ubicacion del pin del pulsador uno pulsador_dos = Pin(7, Pin.IN, Pin.PULL_UP)
#declaramos la ubicacion del pin del pulsador dos pulsador_tres = Pin(11, Pin.IN, Pin.PULL_UP) #declaramos la ubicacion del pin del pulsador tres
LEFT_BUTTON= 1 m = Mouse(usb_hid.devices) #creamos un objeto de mouse, para luego utilizarlo en el main()
def main():
    if not pulsador_uno.value() or not pulsador_dos.value() or not pulsador_tres.value():
        print('Button pressed!')
        m.click(Mouse.LEFT_BUTTON)
    else:
        print('Button not pressed!')
        t.sleep(3)
while True:
    main()
Result:
ImportError: no module named 'usb_hid'
 
                        
you can try this library, usb_hid is the core module of it: https://circuitpython.readthedocs.io/en/latest/shared-bindings/usb_hid/index.html#