FML/Script/Features/KeyAction.php
public function setKeyName($keyName)
    {
        $this->keyName     = (string)$keyName;
        $this->keyCode     = null;
        $this->charPressed = null;
        return $this;
    }
public function setKeyName($keyName)
    {
        $this->keyName     = (string)$keyName;
        $this->keyCode     = null;
        $this->charPressed = null;
        return $this;
    }
public function setKeyName ( $ keyName ) { $ this -> keyName = ( string ) $ keyName ; $ this -> keyCode = null ; $ this -> charPressed = null ; return $ this ; }
Set the key name for triggering the action

@api
@param string $keyName Key Name
@return static
Set the key name for triggering the action