| Both sides previous revision Previous revision | |||
|
hpl3:community:scripting:classes:ckeypress [2015/11/06 02:29] abion47 [Remarks] |
hpl3:community:scripting:classes:ckeypress [2015/11/06 02:34] (current) abion47 [Functions] |
||
|---|---|---|---|
| Line 8: | Line 8: | ||
| ^ Return Type ^ Function Name ^ Parameters ^ Description ^ | ^ Return Type ^ Function Name ^ Parameters ^ Description ^ | ||
| - | | [[eKey]] | GetKey | const | | | + | | [[eKey]] | GetKey | const | Returns an [[eKey]] value representing the pressed key. | |
| - | | int | GetUnicode | const | | | + | | int | GetUnicode | const | Returns an equivalent [[wp>Unicode]] value of the pressed key. | |
| - | | int | GetModifier | const | | | + | | int | GetModifier | const | Returns the [[eKeyModifier]] flags accompanying the pressed key. | |
| ====Remarks==== | ====Remarks==== | ||
| This class represents a key press associated with an event triggered by the pressing of a key. It will usually be generated either by way of a GUI action via [[cGuiMessageData]], or retrieved manually from an instance of [[iKeyboard]]. | This class represents a key press associated with an event triggered by the pressing of a key. It will usually be generated either by way of a GUI action via [[cGuiMessageData]], or retrieved manually from an instance of [[iKeyboard]]. | ||