void HVSTInput::CkeyboardTrigger::pollKeys(){ for (int i = 0; i < 128; i++) { _keyboard->setKeyState(); }}
First there's this, which runs from 0 to 127, checking 128 different "keys."
void HVSTInput::CKey::setKeyState(){ _previousState = _currentState; _currentState = GetKeyState(_key);}
Then this just sets the state of the key using GetKeyState, where _key == i from the loop in pollKeys() method. Now I've looked on MSDN which says to use the ascii value for letters and numbers, which is what I thought I was doing here. Yet, only the keys that I mentioned above are actually triggering.