Keyboard button

This topic contains 1 reply, has 2 voices, and was last updated by  dgu 3 years, 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #31690

    aicha11
    Member

    what is the keyboard button that matches the PVRShellKeyNameACTION1?

    #38682

    dgu
    Member

    left –>PVRShellKeyNameACTION1
    right –>PVRShellKeyNameACTION2
    if (m_vec2PointerLocationEnd[0] <= 0.3f) // Left half of the screen
    KeyPressed(PVRShellKeyNameACTION1);
    else if (m_vec2PointerLocationEnd[0] >= 0.7f) // Right half of the screen
    KeyPressed(PVRShellKeyNameACTION2);

    you can do as well
    if (PVRShellIsKeyPressed(PVRShellKeyNameLEFT)) {
    }

Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.