This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:examples:input:mouse_input [2022/12/06 13:40 (3 years ago)] – iarwain | en:examples:input:mouse_input [2025/08/18 17:54 (3 weeks ago)] (current) – [Config] iarwain | ||
---|---|---|---|
Line 14: | Line 14: | ||
void orxFASTCALL Update(const orxCLOCK_INFO *_pstClockInfo, | void orxFASTCALL Update(const orxCLOCK_INFO *_pstClockInfo, | ||
{ | { | ||
+ | orxInput_PushSet(" | ||
+ | | ||
if (orxInput_IsActive(" | if (orxInput_IsActive(" | ||
orxLOG(" | orxLOG(" | ||
Line 29: | Line 31: | ||
orxLOG(" | orxLOG(" | ||
} | } | ||
+ | |||
+ | orxInput_PopSet(); | ||
} | } | ||
... | ... | ||
Line 37: | Line 41: | ||
< | < | ||
- | [KeysForInput] | + | [MenuInputSet] |
KEY_ESCAPE | KEY_ESCAPE | ||
MOUSE_LEFT = LeftClick | MOUSE_LEFT = LeftClick |