openAVproductions / openAV-Ctlra

A plain C library to program with hardware controllers.
BSD 3-Clause "New" or "Revised" License
78 stars 16 forks source link

Screen support for NI S4 Mk3 #111

Open acolombier opened 1 year ago

acolombier commented 1 year ago

This PR adds partial support for the NI S4 Mk3.

By default, it only connects to the vendor specific class and use the endpoint to drive the screen, which allow usage while another software (like Mixxx in my case) holds the HID class.

If you want to also bind the HID class, make sure to unset USE_SCREEN_ONLY.

I have added a small example that allows to display any arbitrary image on both screen, but this is likely applicable to other devices with a minimum effort.

This partially addresses #110

https://user-images.githubusercontent.com/7086688/220162111-d8dd41ec-fe9e-4ce0-adb6-7157445750de.mp4