Checking connected MIDI devices using python

In the MIDI device mapper you have the ability to press “Check MIDI Devices“. Is it possible to do this with python?

Thanks

Found it!

mod(‘/sys/devices/midi/initDevice’).onStart()

2 Likes