Anonymousdog / displaycameras

System for displaying RTSP feeds from IP cameras on the Raspberry Pi
Apache License 2.0
566 stars 113 forks source link

Touchscreen / keyboard support #49

Closed nicolake closed 3 years ago

nicolake commented 4 years ago

Hi, I'm using this solution on my raspberry pi 3 + 7inch touchscreen and works very well. I think it would be great to add support to the touchscreen and keyboard to navigate through the different cameras. e.g.

I did some research and found 'evtest', that is a tool that log the input of any device, but I don't know if it is the best solution for this task.

Thanks!!

Anonymousdog commented 4 years ago

RpiSurv may do some of those things all of which are well outside the targeted use case for this project. This project is for unattended viewing (with no operator/viewer/user interaction with the displays); it is intended as an improvement that adds proper service registrations and use, a repair function, separation of data from code, and modularity to an older shell script. To employ interactive viewing, it would have to be rewritten in an object-oriented manner and language.

Sorry, Andy

On Wed, Apr 29, 2020 at 9:27 PM Nicolas Chichi notifications@github.com wrote:

Hi, I'm using this solution on my raspberry pi 3 + 7inch touchscreen and works very well. I think it would be great to add support to the touchscreen and keyboard to navigate through the different cameras. e.g.

-

When is on grid mode, touching a camera stream should open on full screen. A second touch on the screen brings back the grid view.

(nice to have) If rotation is active, when swipe to the left or right change the screen.

I did some research and found 'evtest', that is a tool that log the input of any device, but I don't know if it is the best solution for this task.

Thanks!!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Anonymousdog/displaycameras/issues/49, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHIYIKM5K6SJHXA4D42VESDRPDHZTANCNFSM4MVCIS6A .

SvenVD commented 4 years ago

For reference: the touchscreen code for basic rotation control is now included in v2.1.8 of rpisurv. https://github.com/SvenVD/rpisurv/releases/tag/v2.1.8

Thanks to @nicolake.