Posts: 51
Threads: 16
Joined: Nov 2020
Reputation:
0
I agree that there's something hardware specific about the problem I'm having, which means that if I'm trying to detect the problem by working with the js code, I need to run it on the Pi with the Waveshare.
If I build on my desktop based on changed code in jquery.touchSwipe.js, I assume that only one or two files will have changed. Is this correct?
If so, are they hardware/OS independent and can I simply replace the Pi files to test the changes?
If so, would you be able to identify the files that will have changed?
Michael
RPi4 —> HiFiBerry DAC+ —> Rotel RA01 —> Celestion DL8
Posts: 51
Threads: 16
Joined: Nov 2020
Reputation:
0
Thanks, both of you. Kent, you're right on two counts. You probably need to be American to get the ad reference - and I'm a Canadian! Also, it's extremely easy to get a gulp environment up and running. My issue was being able to identify the minified files to move to the Pi, and Tim's answer not only educates me a little about how gulp is used, it lets me figure the answer out for myself!
As I've already said a couple of times, thanks for your patience and for taking the time to answer newb questions.
Michael
RPi4 —> HiFiBerry DAC+ —> Rotel RA01 —> Celestion DL8
Posts: 51
Threads: 16
Joined: Nov 2020
Reputation:
0
Can you tell me where the gobal UI.mobile is set? I think you might be right about the screen not supporting swipes, but I want to see what will happen if I prevent it from being detected as a mobile device...
Michael
RPi4 —> HiFiBerry DAC+ —> Rotel RA01 —> Celestion DL8
Posts: 51
Threads: 16
Joined: Nov 2020
Reputation:
0
No solution - just an update in case it triggers an idea from someone.
With the Waveshare screen, I can swipe left and right, and I'm getting a blue and white left or right arrow which appears to tell Chromium to go to the previous or the next webpage. I think that means that the swipe is working, but the touchscreen code isn't picking it up somehow, but that's just a wild-assed guess.
I'm leaving this open because it isn't fixed, but I'm just going to move on and live without a perfect system.
Michael
RPi4 —> HiFiBerry DAC+ —> Rotel RA01 —> Celestion DL8
Posts: 51
Threads: 16
Joined: Nov 2020
Reputation:
0
(12-03-2024, 05:03 PM)Nutul Wrote: (12-03-2024, 03:01 AM)MJR42 Wrote: I can swipe left and right, and I'm getting a blue and white left or right arrow which appears to tell Chromium to go to the previous or the next webpage. I think that means that the swipe is working (...)
To me this means that Chrome is catching the swipe _before_ moOde can have a chance to see it...
That sounds right. Do you have enough experience with this that you could help debug this problem?
Michael
RPi4 —> HiFiBerry DAC+ —> Rotel RA01 —> Celestion DL8