company logo

KeyInput :: shift - Shift modifier

The property is true, when the shift key has been pressed together with the key, and false otherwise. The property is also true, when shift lock has been activated before.

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 shift modifier
    bool KeyInput  :: shift (  )
  2. to list
  3. Set shift modifier
    bool KeyInput  :: shift ( bool bState )

    The function sets the shift 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