Does JUCE have support for input devices, like, for example, a midi keyboard?

A quick scroll of the categories under the documentation suggests it doesn’t?

Of course it does. Check out the midi_io section under juce_audio_devices:

Cool, thanks

Note that since you mentioned “for example”, that might imply you would also want support for things like joysticks and gamepads. Unfortunately Juce does not have support for those itself. But you might be able to use operating system native APIs together with Juce code to get support for those.

1 Like

I had some moderate success integrating libgamepad into a JUCE project:

Edit, see also gainput, which is not maintained any more, but may be useful:

Edit2, would be interesting to try out OIS and see how well it can be integrated into a JUCE project:

If anyone does this, please let us know your findings ..

2 Likes