Changes

Jump to navigation Jump to search
Line 1,325: Line 1,325:     
NOTE: the name of the class should be identical to that of the file name. This is a common pitfall when developing new drivers.
 
NOTE: the name of the class should be identical to that of the file name. This is a common pitfall when developing new drivers.
 +
 +
dev_ids is a list of identifiers that the driver will match. You can find this by looking at the name of the device in the MIDI Input view in zynthian. If you bold press tge corresponding input to see its options menu, the "Rename port" otpion shows its USB port / MIDI input name. Use the MIDI input name for your dev_ids list, e.g. Rename port 'USB:2.2/Launchkey Mini MK3 In 2' would provide the device id: "Launchkey Mini MK3 In 2".
    
You can check the full code here:
 
You can check the full code here:
578

edits

Navigation menu