Once you’ve set the default user, proceed to reboot your machine. You should probably do this in a separate thread and have some kind of producer-consumer mechanism or event model for communication with your main application. Using uinput driver in Linux- 2.6.x to send user input . You’ll listen on your /dev/usb/hiddev0 and then create […]