Udev/Daphne Joystick Query?
FlashPC last edited by
Hi guys, this is only a hypothetical question. Is it possible to reset the order of the joysticks on the raspberry pi from the command line without rebooting.
As far as I know udev takes care of the js ordering. Yet emulators like Daphne only uses js0.
So can it be done where the script takes a snapshot of the udev js order, then asks you which usb device to use, then organise the list to have your desired device use the js0 slot and disable the rest. Then on the emulator exit return the udev js order to what it was.