Skip to content
This repository
Browse code

[IPLUG] IGraphicsCarbon key up/down fixed

  • Loading branch information...
commit 4b394e551692ff00a00ad909f3c32b5a707bea63 1 parent 77a8bc5
Oli Larkin authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 WDL/IPlug/IGraphicsCarbon.cpp
4 WDL/IPlug/IGraphicsCarbon.cpp
@@ -51,8 +51,8 @@ pascal OSStatus IGraphicsCarbon::CarbonEventHandler(EventHandlerCallRef pHandler
51 51 GetEventParameter(pEvent, kEventParamKeyMacCharCodes, typeChar, NULL, sizeof(char), NULL, &c);
52 52
53 53 if (k == 49) key = KEY_SPACE;
54   - else if (k == 125) key = KEY_UPARROW;
55   - else if (k == 126) key = KEY_DOWNARROW;
  54 + else if (k == 125) key = KEY_DOWNARROW;
  55 + else if (k == 126) key = KEY_UPARROW;
56 56 else if (k == 123) key = KEY_LEFTARROW;
57 57 else if (k == 124) key = KEY_RIGHTARROW;
58 58 else if (c >= '0' && c <= '9') key = KEY_DIGIT_0+c-'0';

0 comments on commit 4b394e5

Please sign in to comment.
Something went wrong with that request. Please try again.