My Clean Remote #57
Californian
started this conversation in
Show and tell
Replies: 1 comment 5 replies
-
I love this toggle to switch between touchpad and d-pad. Unfortunately, the program is way over my head. Anyway you can break it down for me? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi friends,
I spent way too much time on this a little while back, so I figured I'd share. It's not super well-generalized/DRY so it's a bit tedious to edit, but I hope it's of use to someone else here!
Note that you'll have to get the images for the logos manually (white circle and white background svgs are below) and put them in
/www/images
, as well as create aninput_boolean
for the D-pad toggle. I actually made a separate toggle for each user and copied a bunch of yaml, but there are cleaner ways (I was in a hurry by the end of this). You'll obviously need to change the IDs to match your setup as well.The multi-touch volume and seek were added just now without testing fyi.
I tried to put as many of the controls on the bottom as possible so on mobile it would be easier to reach, but unfortunately the tabs were too annoying so I left them at the top.
If I had spent more time on this, I would have changed the backgrounds to black in dark mode. I also would have fixed some of the padding and rounding.
I'm happy to clean this up/remove the unrelated parts and add it to the examples in the readme if that's desired, but I'll let the maintainers decide on that before putting in the effort.
I also want to send a huge thanks to the maintainers and contributors (and those of the previous projects on which this is based); this project (especially gesture controls) has made my TV viewing experience much much nicer, and I rarely reach for the physical remote now because I don't even need to look down for most of what I need to do.
Happy remote controlling 😄
white-background.svg
white-circle.svg
Beta Was this translation helpful? Give feedback.
All reactions