I have tried with the mouse plugged in, or via VNC but it’s erratic too.
Even if I manage to highlight the needed item, the onclik action always activate the first item in the list (eg: New layer and not admin menu, ZY instrument and not LinuxSampler, Arpeggio and not bass, Arpeggio1 and not arpeggio6 …)
I’ve tried pretty much every mechanism I can think of (mouse,keyboard,arduino encoder, stylus, mouse wheel) but the selected item returns to the top of the list at the first opportunity and will select it if any press is detected.
There are a lot of things going on within the Zynthian software with various classes, inheritance, etc. It relies heavily on its shell environment. Cherry-picking individual parts of the code to run, although possible is rather challenging and I doubt the effort in working out what can / can’t / should / shouldn’t be done is worth our time investigating. What might be more useful is being able to run Zynthian normally and triggering navigation via remote commands. This is partially implemented via CUIA:
As you can see, not all screens are implemented and not the calibration that you wanted. You could submit a feature request to add more screens or maybe implement something more generic, e.g. SHOW_SCREEN .
For this particular use-case we might want to consider a mechanism for accessing the calibration screen when other controls are absent. I still favour use of VNC to do a one-time configuration. As requesting above (and maybe needs to be requested in other thread) I haven’t seen the behaviour that has triggered this request so maybe a bug report detailing that would be useful to facilitate investigation.
I worry that we may be trying to fix the wrong thing here. Accessing screens via ssh may have other benefits but I am not sure if the benefit warrants the effort to implement.
Thanks again,
It’s mostly for learning&debugging purpose here…
I’m still discovering python
Regarding the touch screen calibration tool modal: it’s a nice feature to be able to launch it via the web interface or via the command line when everything is a big mess on touch screen.
I will consider opening a [NFR] but I would be much more satisfied if I learn how to code it by myself
I tend to do both. Raise a request / bug so the detail is recorded then I may assign to myself if I am working on a solution (or make a note in the ticket). The process of reporting it focuses the mind and draws out detail. It also ensures the issue is recorded.
but it’s not updated to the last, specially if you are using the testing branch. In this case, you will find the updated list of CUIA in the source code: