-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Imagine: Use the mold linker on Linux builds * EmuFramework: Add support for keys with toggle behavior * EmuFramework: Add generic turbo and toggle options to ButtonElementConfigView * EmuFramework: Color toggle virtual buttons green and turbo+toggle ones yellow * EmuFramework: Draw all virtual control bounding boxes and then buttons for less render state changes * EmuFramework: Fix fast/slow mode virtual control color issue from last update * EmuFramework: Store the set of disabled keys in VController to update button states when added/changed * EmuFramework: Fix missing deadzone in d-pad bounding image when first initialized * Update files to new logger API
- Loading branch information
Robert Broglia
committed
Aug 14, 2023
1 parent
bc90499
commit 3dbac69
Showing
20 changed files
with
379 additions
and
203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#pragma once | ||
|
||
/* This file is part of EmuFramework. | ||
Imagine is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
Imagine is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with EmuFramework. If not, see <http://www.gnu.org/licenses/> */ | ||
|
||
#include <emuframework/inputDefs.hh> | ||
#include <imagine/util/container/ArrayList.hh> | ||
|
||
namespace EmuEx | ||
{ | ||
|
||
class EmuApp; | ||
|
||
struct ToggleInput | ||
{ | ||
StaticArrayList<KeyInfo, 5> keys; | ||
|
||
constexpr ToggleInput() = default; | ||
void updateEvent(EmuApp &, KeyInfo, Input::Action); | ||
}; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.