#skins-layouts for saved remotes
50 messages · Page 1 of 1 (latest)
I was actually looking into doing something like this
Cause im currently working on a system to “pin” remotes that way you can access the ones you use more frequently faster and pinned remotes would have a custom button layout
Atm its just submenu that leads you to a folder named pinned
Ayy that's still pretty useful
Fr, what im doing next is instead of it just loading a folder, im gonna have a button in the remote edit menu for pinning/unpinning and this will save the file path to a file, that way instead of just loading a folder, it’ll just list out all the remotes saved in the file
And then you’d be able to pin/unpin from your flipper instead of having to move files around
That's cool
Yeah for remote layouts my idea was to create them based on the button naming scheme since most remote files seem to follow a similar pattern like POWER, UP, DOWN, etc i dont think it’d be too hard to create a layout that changes based on the buttons present
This is pretty sick
I would totally use that
Yeah here’s the current progress for this, just got done adding the ability to pin remotes (although a bit buggy and i gotta put in some checks n stuff) im gonna mess around with the remote layout stuff now
Another progress update I managed to get changing how IR remotes are displayed working, atm its only 2 buttons cause its currently a static layout i used to make sure IR functionality is working (I had to make a lot of changes and create some new stuff)
So here's the fun part I wanna get it to look like this, which is gonna be f u n, then on the 2nd page will be a list of all the unmapped buttons + the button to create or edit the remote
And here's how button mapping is gonna work for now its based off the name so when you name your remote you want to prefix it with lets say LY1 for layout1 (LY1_roku_xxxx, LY1_LG_xxxx, etc) that way it knows which layout to assign, then when you name the buttons its basically following the naming scheme shown in the layout (POWER, UP1_up, LEFT_left, UTIL1_back, etc)
that’s so good, needs to be an option merged into the main repo once it’s done!
or at least into one of the modified firmwares, idk if flipper are adding stuff not made by then to their official firmware (I’d assume not?)
Yeah i plan on creating a pull request once its all finished
If it doesnt end up getting into the main firmware it’s actually a part of a fork i made
The +'s are currently placeholders but I figured out how to create the layouts, still a big WIP since I have to create all the icons n stuff the circles are also placeholders cause those are the util buttons
I think I should be able to finish this whole project by the end of the week
It's beautiful
And now its also functional
This is sick
All i gotta do is iron out some kinks, fix some bugs, then write documentation on how to actually map buttons
Do you have a spreadsheet where all the buttons are displayed? Or how do you’ve got them working
Yeah im gonna be creating something like that
Its really simple you just map the buttons to the remote using a prefix at the beginning of the name
So you basically just assign one of these names at the beginning of the remote button
And then it'll map it to the corresponding button
Yeah i think im gonna change some of the prefixes to match IRDB
Since everything in the repo uses this scheme
Good job on this so far.
Heres another progress update, i had to make a quite a few under the hood changes but its working now very unstable but it is working
And my button prefixing system is also working great now
I just gotta make it stable now cause theres quite a few fun errors and stuff
Awesome
Yeah now im real quickly adding support to automatically map IRDB remotes since IRDB follows a certain scheme
So when you load a new remote certain buttons like power, volume, temp, etc will be premapped
Im also gonna go through IRDB to check if theres any other patterns people follow
Great job. I had the same idea and while searching I found this post here. Only the code I could not find yet. Where can I find it?👍
Atm ive been taking a break from dev stuff
But i could commit what i have right now to my github if you want
@bleak sentinel I'm very interested in this project, I hope you're able to take the time you need if you're still committed. Is what you have so far user-accessible for the Flipper, or does it still need tinkering? (Speaking as a total neophyte when it comes to scripts and code.)
Its technically usable but theres a couple issues that still need to be resolved a couple null pointer dereferences that causes it to crash, also I need to rewrite the storage section of it since it’s currently loading the remote paths from memory, instead i want it to read it from favorites.txt which is gonna require some work