public function keyDown($key) { $keyCode = $this->matchKey($key); if ($keyCode > -1) { $this->core->joyPadEvent($keyCode, true); } }