×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jun 2003
    Posts
    23

    How to detect center navi key is pressed with Edit key not hold.

    I have a need to detect center navigation key presss while the Edit key (Left Shift) is not hold.

    I've tried this

    if (aEventType == EEventKy &&
    aKeyEvent.iCode == 63557 &&
    aKeyEvent.iScanCode == 157 &&
    aKeyEvent.iModifiers & EModifierLeftShift == 0)

    but the last line seems to be incorrect.

    Can anyone help?

  2. #2
    Registered User
    Join Date
    Jun 2003
    Posts
    23
    if (aEventType == EEventKy &&
    aKeyEvent.iCode == 63557 &&
    aKeyEvent.iScanCode == 157 &&
    (aKeyEvent.iModifiers & EModifierLeftShift) == 0)

    works

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×