mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-06 08:30:42 -07:00
Initial commit for GitHub migration based on spice2x-25-03-03
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
#pragma once
|
||||
|
||||
#include "overlay/window.h"
|
||||
#include "overlay/windows/iopanel.h"
|
||||
#include "cfg/button.h"
|
||||
|
||||
namespace overlay::windows {
|
||||
|
||||
class DDRIOPanel : public IOPanel {
|
||||
public:
|
||||
DDRIOPanel(SpiceOverlay *overlay);
|
||||
|
||||
protected:
|
||||
void build_io_panel() override;
|
||||
|
||||
private:
|
||||
void find_ddr_buttons();
|
||||
void draw_buttons(const int player);
|
||||
|
||||
Button *start[2];
|
||||
Button *up[2];
|
||||
Button *down[2];
|
||||
Button *left[2];
|
||||
Button *right[2];
|
||||
Light *start_light[2];
|
||||
Light *updown_light[2];
|
||||
Light *leftright_light[2];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user