-
-
Notifications
You must be signed in to change notification settings - Fork 125
Layout overhaul and initial splashscreen support #58
base: main
Are you sure you want to change the base?
Conversation
Renamed drawArcadeStick and BUTTON_LAYOUT_ARCADESTICK to drawUDLR and BUTTON_LAYOUT_UDLR. Replace ArcadeStick with a stick animation. Initial work on splitting left and right sides of the display to avoid code reuse and allow additional button layouts.
Fixed a few things, added Capcom layout, broke button overlap.
Added Sega2p, fixed Vewlix, added Capcom6, renamed original layout to Noir8
framework for a splash screen has been added. I'm actually not really happy with this code, but a prototype is a prototype
Swapped out GFX for sprite, was reinventing the wheel, Added a second boot logo-mode. You need to switch it on line 358 for now,
Added new (but not complete) layouts: Mixbox (WASD, but keys on an angle), MAME (WASD, but keys plus numpad style buttons), and DDR layout (for a future project of mine.) Need to do a custom obd style function to finish Mixbox. Some out of git work is incoming as well to cleanup all the byte arrays that are stuck in display.cpp
Finished MixBox Renamed DDR to Dancepad Switched layouts to be A and B instead of L and R when names overlap
Finished right side of MAME layout. Applied lessons learned from Dancepad layout to left side of MAME layout.
Brought back in the old button layouts. I misidentified them and they are unique.
Added splash modes: STATICIMAGE CLOSEIN CLOSEINCUSTOM NOSPLASH Added bitmaps.h for bitmaps
Pulled dancepad related code - it requires it's own fork. Some small code cleanup. Made sure sane defines are set and code compiles one last time.
Just adding a few things I forgot to put in the PR post.
The above issues are really cosmetic and do not affect the function of this PR. The second issue needs to be corrected before I can test against smaller and larger screens. Any testing on the PR as is would be appreciated as my setup doesn't reflect most GP2040 users. |
Hi @UntrustedRoot, We are looking to keep the GP2040 project alive over on the Community Edition of GP2040: https://github.com/OpenStickFoundation/GP2040-CE I tried to compile your changes but am getting an error on Would love to chat further about this as your changes are fantastic! |
Update - Got it compiled. For those that might be looking at this there is no included Example: #define SPLASH_MODE CLOSEINCUSTOM |
Hey @TheTrainGoes, I have a few issues with my PR I'd like to discuss, it's a lack of experience issue and I don't want to be a bother. I also have something else I'd like to talk to you about that I cannot put here (it's a secret. shhhhh....) Do you mind if I PM you on Discord to discuss? I don't like just showing up in your PMs unannounced. |
Hey @UntrustedRoot , please do! |
Hey @UntrustedRoot not sure if you sent anything but I have not gotten a request on Discord. I am listed there as TheTrain#6755 |
I will be porting/rebuilding this PR for GP2040-CE over here: https://github.com/FBUFS/GP2040-CE/tree/oled-CE |
This PR add several new layouts and includes initial support for a splash screen.
This was originally planned as a smaller PR that spiralled out of control.
Let me know about anything you need changed, scrapped, or added. I could use a little bit of help testing these changes against different setups.
Problems with this PR
Layouts changes
Layouts can be set using BUTTON_LAYOUT and BUTTON_LAYOUT_RIGHT in BoardConfig.h, check enums.h
Splash screen addition
Splash modes can be set using SPLASH_MODE in BoardConfig.h.