New feature: X-Y touch-controller

@jofemodo
Amazing! I just have finished building my own zynthian, fully by myself. I’m testing this feature with my 2.8 PiTFT Capacitive. Caused by “rotation=90” in webconfig, when I move in X-axis, the cross move in Y-axis, and vice versa. If I change rotation to 180, the movement works properly, but the screen obviously is seing bad. Any trick to resolve this? Thanks in advance, this project is gorgeous!!!

Hi @jordisilv!

You have to rotate the touch surface, but no the screen itself.

Take a look to the “/etc/X11/xorg.conf.d/99-calibration.conf”, but be warned that currently this file is overwritten by the config system. I’ve to improve it! :blush:

Please, when your system is working OK, son’t forget to send a little report, including photos and details about your specific configuration tweaks, so i can include it in the configuration tool.

Una abraçada!

P.D: Nano, ya estás mostrándome ese Zynthian valenciano!! Ganitas tengo de verlooooo!!! :wink:

1 Like

Also, take a look to this topic:

Regards!

1 Like

This is just the beginning! Muahahaha… No ho dubtes, dona’m unes setmanes que acabe a la universitat! :grin:

1 Like

Great! Dale caña a los estudios pues!!

Regards!

Hi @jofemodo

I tried this on my Disco-Zynthian. Due to the plexiglas front there is no problem with attaching the front panel. But (bold) pressing the two controllers I like to use in X/Y mode seems to make some strange things: from reboot to showing an empty X-screen.

Is this a feature of the newest update or do I have other problems? I have a PiTFT-2.8-resistive. I know that you made some magic with my other Zynthian and after that it worked…

Regards, Holger

Hi @C0d3man!

I’ve fixed a bug in XY-control screen. Now it’s working OK. Update and try again. If it doesn’t work, try to see the log messages …

Regards!

Many thanks at @jofemodo!!! Now I get the X/Y screen. But the touch does not work… have no idea why :sob:

Regards, Holger

2 posts were split to a new topic: Configuring PiTFT 2.8’ Capacitive Display

I am struggling to activate X-Y control screen. I have managed it once but when I press two buttons then one of them activates its normal operation, e.g. back, layer, etc. I have tried brief press, longer press, simultaneous, hold one then press the other, touching controls on the screen. How do I get this to work?

For me it’s working normally. You have to make a “more or less” simulatenous bold-push with 2 knobs. Then, they will turn green. Then you can move any controller from any “page” to change the pre-selection and finally, touch the display for going X-Y mode.

Regards,

Same here. Never can can get it to work.

The screen flashes then returns to control screen. It may be a timing thing. I will look at the code to see if I can diagnose the issue.

Can you explain your problem? You don’t reach to see the controllers changing to green?

Ah! I have it working. The first problem was that my colour scheme used green display so there wasn’t an obvious change in colour when the mode changed. The next issue was that I didn’t follow the process precisely enough. Maybe the space in the wiki page between start and end of instructions confused me. The process is:

  • Navigate to the engine control page
  • Bold press two knobs
  • Move the knobs associated with the two parameters to be modulated, advancing through pages with SELECT button as required
  • Touch the screen to enter X-Y mode

I now know how to do it and will have a play…

I may submit a feature request for the colours to be sympathetic to the current colour scheme. Also, it seems odd that two controls change colour and not the ones that you are adjusting. It would make more sense to me that the two controls being modulated were identified in this (or similar) way.

3 Likes

Hahahahaha.

I’m colorblind so I didn’t see the red turn to green.

But I see it now, when you say it.

1 Like

Flashing/blinking might be nice

A lot more complex too …
Anyway, create an issue on the issue tracker and let’s see if someday it gets implemented :wink:

1 Like

I don’t know if flashing is such a good idea. The UI should not distract and you can start a battle for attention with each feature becoming more intrusive as it says, “Look at me”!

I have raised a github feature request for change in colour configuration.

I have also raised github feature request requesting recall of previously configured X-Y controller.

1 Like

I think flashing has a useful meaning. i.e. Something needs doing things like allocating CC to a control and such like. @jofemodo says this is involved but assuming a case of a user appearing in front of a Zynth left in CC allocation mode for example would probably not realise that a question mark represents this state. Flashing would seem more informative, with a timeout that clears the state down after a preset length.

3 Likes