mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-24 02:05:47 +00:00
core: hid: Signal color updates
This commit is contained in:
parent
940618a64d
commit
f07484bc64
5 changed files with 42 additions and 16 deletions
|
@ -14,11 +14,15 @@ namespace Ui {
|
|||
class ConfigureInputAdvanced;
|
||||
}
|
||||
|
||||
namespace Core::HID {
|
||||
class HIDCore;
|
||||
} // namespace Core::HID
|
||||
|
||||
class ConfigureInputAdvanced : public QWidget {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit ConfigureInputAdvanced(QWidget* parent = nullptr);
|
||||
explicit ConfigureInputAdvanced(Core::HID::HIDCore& hid_core_, QWidget* parent = nullptr);
|
||||
~ConfigureInputAdvanced() override;
|
||||
|
||||
void ApplyConfiguration();
|
||||
|
@ -44,4 +48,6 @@ private:
|
|||
|
||||
std::array<std::array<QColor, 4>, 8> controllers_colors;
|
||||
std::array<std::array<QPushButton*, 4>, 8> controllers_color_buttons;
|
||||
|
||||
Core::HID::HIDCore& hid_core;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue