Using usb keyoard and mouse inside addon docker container

How I can using usb keyboard and mouse inside addon docker container?

I try to add as device and usb according to documentation, but not working:

devices:
  - /dev/input/event0
usb: true