-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add text scrolling and font changing #4
Comments
I forgot a problem that I don't know if you are aware of regarding the display, the display can support a maximum of 18 characters but for some reason from the second line onwards it is moved by one character by removing the eighteenth character as you see in the photo (look at the last character the "R") and therefore it is not aligned, do you know why? Or this : Also if you run that command again but with a different text the text is written from above the other text, the only way is to do a "clear" and then it works as expected. Instead if I add the commands to center the text (ggoled text "TEST HELLO" -C -x c -y c -a c) everything works fine, deleting everything from the display and putting the new text |
Nice repository and thank you for the bug report! I will look into it when I have time (hopefully later this week) 😃 |
Hello again! Compare
and
Try again without spaces and see if that solves it for you. |
As for the other things, you mentioned Apex Pro and more text options. I suspect the keyboard uses the protocol differently and I would not be able to implement it myself without actually having the keyboard. For text options, I'm fully up for implementing them but I would need to figure out how make the interface good. It might make sense to have scroll options for images too, for example. Should text be scrolling all the time, or only if it covers more than the screen? Should it scroll back and forth, or scroll of screen and appear at the other side, or some other variant? I don't personally require these text options right now so if you could assist with these decisions that would be great :) |
Hi, sorry I didn't answer you. For text scrolling, it would be better if: Text.scrolling.1.mp4As for my scripts, have you had a chance to test them? |
Hello again! No problem, and thanks for the example. I'll try out your scripts later, and give text scrolling a try after I've figured out how it should be implemented. I'd be interested to know more about gamesense-essentials and if there are things ggoled could do to become better :) |
gamesense-essentials is program created by mtricht, that works for all steelseries devices that have a screen, you can find it on github : |
Tried your scripts and they work for me with Spotify :) Will keep the scripts in mind when implementing text scrolling and such. It will be a big refactor since it will require |
Hello Very basic scrolling has been added. This uses the As example, here's your Time.ps1 script running in stdin mode (meaning it only starts & {
while ($true) {
$currentTime = (Get-Date -Format "HH:mm:ss")
"Time : $currentTime
@"
Start-Sleep -Seconds 1
}
} | ggoled text -d "@" This unfortunately requires PowerShell 7 because PowerShell 5 is bugged with pipes. You can still run it like you did before by just calling I will likely improve on the text features in the future but this should be an improvement for now. |
Hi, thanks again for what you created, thanks to you I created some scripts that allow me to view the time and music playing on Spotify on the GameDac.
I created my own repository with these scripts if you want to take a look to test them I would be happy.
On the script I made sure that if the text is too long it divides it into parts, so as to bypass the text scrolling (in case it is difficult for you to add it)
I also tried to add the hardware code of the keyboard so as to add more supported devices to this program also changing the resolution but I did not succeed, do you have any idea why? (I'm talking about Apex Pro)
As for the new features I saw the TODO you added and I would like you to add the ability to change the text font and the text scrolling.
The text was updated successfully, but these errors were encountered: