Is there anyway to detect input from an external keyboard such as a Targus Stowaway when using the GAPI? I ask because my math program SpaceTime is done using the GAPI.
Thanks in advance.
Thanks in advance.
A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.
LRESULT CALLBACK WndProc (HWND hwnd, UINT iMsg, WPARAM wParam, LPARAM lParam)
{
switch (iMsg)
{
case WM_KEYUP:
{
if(wParam == 'A')
{
//'A' Key pressed...
return 0;
}
}
}
return DefWindowProc (hwnd, iMsg, wParam, lParam);
}gamefreaks wrote:
As far as I am aware, GAPI will only detect the hardware buttons actually on the device.
gamefreaks wrote:
Why not use the 'WM_KEYUP' Windows message?