#skins-layouts for saved remotes

50 messages · Page 1 of 1 (latest)

unkempt current
#

This is an idea which has been rolling in my head for a while: Custom button layouts for the saved remotes. It would function as an additional file like <mytv>.ir.layout which the application would detect and replace the default layout with the one described in the file.

bleak sentinel
#

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

brave frigate
#

Ayy that's still pretty useful

bleak sentinel
#

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

unkempt current
#

That's cool

bleak sentinel
#

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

coral jolt
#

This is pretty sick

sand kettle
#

I would totally use that

bleak sentinel
#

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

bleak sentinel
#

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)

coral jolt
#

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?)

bleak sentinel
#

If it doesnt end up getting into the main firmware it’s actually a part of a fork i made

bleak sentinel
#

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

bleak sentinel
#

Another update

#

Gotta redo the numbers at the bottom

brave frigate
#

It's beautiful

bleak sentinel
#

And now its also functional

sand kettle
#

This is sick

bleak sentinel
#

All i gotta do is iron out some kinks, fix some bugs, then write documentation on how to actually map buttons

sand kettle
#

Do you have a spreadsheet where all the buttons are displayed? Or how do you’ve got them working

bleak sentinel
#

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

sand kettle
#

Ah easy

#

Because I was thinking about designing uniform buttons

#

For this project

bleak sentinel
#

Yeah i think im gonna change some of the prefixes to match IRDB

#

Since everything in the repo uses this scheme

tropic sigil
#

Good job on this so far.

bleak sentinel
#

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

sand kettle
#

Awesome

bleak sentinel
#

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

true harbor
#

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?👍

bleak sentinel
#

Atm ive been taking a break from dev stuff

#

But i could commit what i have right now to my github if you want

wild whale
#

@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.)

bleak sentinel