Merge pull request #4282 from leoetlino/quartz-formatting

InputCommon: Fix formatting issues in Quartz
This commit is contained in:
Mat M
2016-10-03 13:22:06 -04:00
committed by GitHub
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -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"},