@okyeron, hereās some code that attempts to demonstrate scrolling text for long device names and long midi types:
Forked code
https://github.com/jaseknighter/midi-monitor/blob/master/midi-monitor.lua
Device name scrolling is only apllied to the first item in the list of midi events. Also, long midi type strings below the first item in the list are truncated.
The variables that determine when to scroll/truncate text strings are:
- scr_max_length_device_name
- scr_max_length_col4
Please feel free to reuse the code as you see fit.