User Tools

Site Tools


en:examples:input:mouse_input

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:examples:input:mouse_input [2022/12/06 13:40 (3 years ago)] iarwainen: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 *_pContext) void orxFASTCALL Update(const orxCLOCK_INFO *_pstClockInfo, void *_pContext)
 { {
 + orxInput_PushSet("MenuInputSet");
 +    
  if (orxInput_IsActive("MouseWheelUp") == orxTRUE){  if (orxInput_IsActive("MouseWheelUp") == orxTRUE){
  orxLOG("MouseWheelUp");  orxLOG("MouseWheelUp");
Line 29: Line 31:
  orxLOG("MiddleClick");  orxLOG("MiddleClick");
  }  }
 +
 + orxInput_PopSet();
 } }
 ... ...
Line 37: Line 41:
  
 <code=ini> <code=ini>
-[KeysForInput]+[MenuInputSet]
 KEY_ESCAPE       = Quit KEY_ESCAPE       = Quit
 MOUSE_LEFT = LeftClick MOUSE_LEFT = LeftClick
en/examples/input/mouse_input.1670362817.txt.gz · Last modified: 2022/12/06 13:40 (3 years ago) by iarwain