InputCommon: Fix formatting issues in Quartz
This wasn't caught by the lint script because it was broken (by me) at some point :( If it had been rebased, it wouldn't have passed lint
This commit is contained in:
parent
cc66f0336f
commit
fad17246db
|
@ -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…
Reference in New Issue