13 if (touch->py >= row.topY && touch->py <= row.bottomY)
15 char c = row.checkRow(touch->px);
19 return static_cast<char>(
int evaluateInput(touchPosition *touch)
Checks a touch input against the keyboard positions and returns pressed charcater.
void reset()
Resets all internal variables to their defaults.
Acts as an onscreen keyboard and converts touch inputs into characters.
@ CAPSLOCK
Zero is reserved for not touching the keyboard.
Stores a row of keys on a keyboard and their associated y boundaries.