company logo

KeyInput :: ctrl - Control modifier

The property is true, when the Ctrl key has been pressed together with the key, and false otherwise.

Return value:  State of function return ( bool  )

A State true indicates, that the function was executed successfully. Otherwise state is false.

Implementation overview

Implementation details

  1. Get ctrl modifier
    bool KeyInput  :: ctrl (  )
  2. to list
  3. Set ctrl modifier
    bool KeyInput  :: ctrl ( bool bState )

    The function sets the ctrl modifier to the value passed in bState.

    • bState - State of function return

      A State true indicates, that the function was executed successfully. Otherwise state is false.

  4. to list