mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-09-06 09:35:44 +00:00
Nit
Co-Authored-By: Paris Oplopoios <parisoplop@gmail.com>
This commit is contained in:
parent
2d0b22761e
commit
6b3e91f9e7
1 changed files with 1 additions and 2 deletions
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <cctype>
|
#include <cctype>
|
||||||
#include <map>
|
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
|
|
||||||
#include "ipc.hpp"
|
#include "ipc.hpp"
|
||||||
|
@ -250,7 +249,7 @@ void HIDService::updateInputs(u64 currentTick) {
|
||||||
// Key serialization helpers
|
// Key serialization helpers
|
||||||
namespace HID::Keys {
|
namespace HID::Keys {
|
||||||
const char* keyToName(u32 key) {
|
const char* keyToName(u32 key) {
|
||||||
static std::map<u32, const char*> keyMap = {
|
static std::unordered_map<u32, const char*> keyMap = {
|
||||||
{A, "A"},
|
{A, "A"},
|
||||||
{B, "B"},
|
{B, "B"},
|
||||||
{Select, "Select"},
|
{Select, "Select"},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue