class: ewol::key::Special
Description:
This class consider generic special keyborad key (insert, control, shift ...)
Constructor and Destructor:
+ Special ();
Synopsis:
+ bool getCapsLock () const;
+ void setCapsLock (bool _value);
+ bool getShift () const;
+ void setShift (bool _value);
+ bool getCtrl () const;
+ void setCtrl (bool _value);
+ bool getMeta () const;
+ void setMeta (bool _value);
+ bool getAlt () const;
+ void setAlt (bool _value);
+ bool getAltGr () const;
+ void setAltGr (bool _value);
+ bool getNumLock () const;
+ void setNumLock (bool _value);
+ bool getInsert () const;
+ void setInsert (bool _value);
+ void update (enum ewol::key::keyboard _move,
bool _isDown);
Detail:
Special
+ Special ();
Main constructor
getCapsLock
+ bool getCapsLock () 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 () 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 () 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 () 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 () 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 () 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 () 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 () 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 |
update
+ void update (enum ewol::key::keyboard _move,
bool _isDown);
Update the internal value with the input moving key.