Comment 0 for bug 1622639

Revision history for this message
Marcin (mwoz123) wrote : Snap access to /dev/uinput? Possible?

I'm trying to create snap package for application that is "driver" for my joystick (remaps buttons, creates virtual joystick):
https://github.com/uglyDwarf/evdevshift

As I didn't find useful documentation (nor examples) for snap hardware access, so I'd like to ask here:
Can snap package have access to /dev/uinput?

I've already seen, but doesn't seem useful:
http://snapcraft.io/docs/reference/interfaces
http://snapcraft.io/#snapcraft_home_how-snaps-work_integration

I've seen something that might be usefull - Cgroups, but the info is too general:
https://developer.ubuntu.com/en/snappy/guides/security-whitepaper/

Can you answer question is such application can be build in snap (and be useful)?
Can snap have access to /dev/uinput?