Imagination PowerVR SDK Blog

Keyboard button


#1

what is the keyboard button that matches the PVRShellKeyNameACTION1?


#2

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)) {

}