mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 15:19:09 +00:00
Merge pull request #4282 from leoetlino/quartz-formatting
InputCommon: Fix formatting issues in Quartz
This commit is contained in:
commit
e0bf9a1858
2 changed files with 2 additions and 3 deletions
|
@ -12,7 +12,6 @@ namespace ciface
|
||||||
{
|
{
|
||||||
namespace Quartz
|
namespace Quartz
|
||||||
{
|
{
|
||||||
|
|
||||||
std::string KeycodeToName(const CGKeyCode keycode);
|
std::string KeycodeToName(const CGKeyCode keycode);
|
||||||
|
|
||||||
class KeyboardAndMouse : public Core::Device
|
class KeyboardAndMouse : public Core::Device
|
||||||
|
|
|
@ -11,8 +11,8 @@ namespace ciface
|
||||||
{
|
{
|
||||||
namespace Quartz
|
namespace Quartz
|
||||||
{
|
{
|
||||||
|
std::string KeycodeToName(const CGKeyCode keycode)
|
||||||
std::string KeycodeToName(const CGKeyCode keycode) {
|
{
|
||||||
static const std::map<CGKeyCode, std::string> named_keys = {
|
static const std::map<CGKeyCode, std::string> named_keys = {
|
||||||
{kVK_ANSI_A, "A"},
|
{kVK_ANSI_A, "A"},
|
||||||
{kVK_ANSI_B, "B"},
|
{kVK_ANSI_B, "B"},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue