Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[IPLUG] IGraphicsCarbon key up/down fixed

  • Loading branch information...
commit 4b394e551692ff00a00ad909f3c32b5a707bea63 1 parent 77a8bc5
Oli Larkin authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 WDL/IPlug/IGraphicsCarbon.cpp
4 WDL/IPlug/IGraphicsCarbon.cpp
View
@@ -51,8 +51,8 @@ pascal OSStatus IGraphicsCarbon::CarbonEventHandler(EventHandlerCallRef pHandler
GetEventParameter(pEvent, kEventParamKeyMacCharCodes, typeChar, NULL, sizeof(char), NULL, &c);
if (k == 49) key = KEY_SPACE;
- else if (k == 125) key = KEY_UPARROW;
- else if (k == 126) key = KEY_DOWNARROW;
+ else if (k == 125) key = KEY_DOWNARROW;
+ else if (k == 126) key = KEY_UPARROW;
else if (k == 123) key = KEY_LEFTARROW;
else if (k == 124) key = KEY_RIGHTARROW;
else if (c >= '0' && c <= '9') key = KEY_DIGIT_0+c-'0';
Please sign in to comment.
Something went wrong with that request. Please try again.