mirror of
https://github.com/yuzu-mirror/yuzu
synced 2024-11-24 03:53:06 +00:00
Merge pull request #4827 from lioncash/trunc
controller: Convert led_patterns integer literals to bool literals
This commit is contained in:
commit
2f6ba54483
1 changed files with 9 additions and 9 deletions
|
@ -18,15 +18,15 @@
|
|||
|
||||
namespace {
|
||||
|
||||
constexpr std::array<std::array<bool, 4>, 8> led_patterns = {{
|
||||
{1, 0, 0, 0},
|
||||
{1, 1, 0, 0},
|
||||
{1, 1, 1, 0},
|
||||
{1, 1, 1, 1},
|
||||
{1, 0, 0, 1},
|
||||
{1, 0, 1, 0},
|
||||
{1, 0, 1, 1},
|
||||
{0, 1, 1, 0},
|
||||
constexpr std::array<std::array<bool, 4>, 8> led_patterns{{
|
||||
{true, false, false, false},
|
||||
{true, true, false, false},
|
||||
{true, true, true, false},
|
||||
{true, true, true, true},
|
||||
{true, false, false, true},
|
||||
{true, false, true, false},
|
||||
{true, false, true, true},
|
||||
{false, true, true, false},
|
||||
}};
|
||||
|
||||
void UpdateController(Settings::ControllerType controller_type, std::size_t npad_index,
|
||||
|
|
Loading…
Reference in a new issue