expose pressKey and releaseKey methods