class: ewol::key::Special
Description:
This class consider generic special keyborad key (insert, control, shift ...)
Constructor and Destructor:
+ Special (void );
Synopsis:
+ bool getCapsLock (void ) const;
+ void setCapsLock (bool _value);
+ bool getShift (void ) const;
+ void setShift (bool _value);
+ bool getCtrl (void ) const;
+ void setCtrl (bool _value);
+ bool getMeta (void ) const;
+ void setMeta (bool _value);
+ bool getAlt (void ) const;
+ void setAlt (bool _value);
+ bool getAltGr (void ) const;
+ void setAltGr (bool _value);
+ bool getNumLock (void ) const;
+ void setNumLock (bool _value);
+ bool getInsert (void ) const;
+ void setInsert (bool _value);
Detail:
Special
+ Special (void );
Main constructor
getCapsLock
+ bool getCapsLock (void ) const;
get the current CapLock Status
Return: | | The CapLock value |
setCapsLock
+ void setCapsLock (bool _value);
set the current CapLock Status
Parameter [input]: | _value | The new CapLock value |
getShift
+ bool getShift (void ) const;
Get the current Shift key status
setShift
+ void setShift (bool _value);
Set the current Shift key status
Parameter [input]: | _value | The new Shift value |
getCtrl
+ bool getCtrl (void ) const;
Get the Current Control key status
Return: | | The Control value |
setCtrl
+ void setCtrl (bool _value);
Set the Current Control key status
Parameter [input]: | _value | The new Control value |
getMeta
+ bool getMeta (void ) const;
Get the current Meta key status (also named windows or apple key)
Return: | | The Meta value (name Windows key, apple key, command key ...) |
setMeta
+ void setMeta (bool _value);
Set the current Meta key status (also named windows or apple key)
getAlt
+ bool getAlt (void ) const;
Get the current Alt key status
setAlt
+ void setAlt (bool _value);
Set the current Alt key status
Parameter [input]: | _value | The new Alt value |
getAltGr
+ bool getAltGr (void ) const;
Get the current Alt-Gr key status
Return: | | The Alt-gr value (does not exist on MacOs) |
setAltGr
+ void setAltGr (bool _value);
Set the current Alt-Gr key status
getNumLock
+ bool getNumLock (void ) const;
Get the current Ver-num key status
Return: | | The Numerical Lock value |
setNumLock
+ void setNumLock (bool _value);
Set the current Ver-num key status
getInsert
+ bool getInsert (void ) const;
Get the current Intert key status
setInsert
+ void setInsert (bool _value);
Set the current Intert key status
Parameter [input]: | _value | The new Insert value |