Difference between revisions of "ISKernel:DIMouse (Command)"

From Lavish Software Wiki
Jump to navigation Jump to search
 
(4 intermediate revisions by one other user not shown)
Line 4: Line 4:
  
 
== Forms ==
 
== Forms ==
 +
'''DIMouse''' is only effective for games that use DirectInput for mouse control, in exclusive mode.
 +
 +
*DIMouse -on - forces the game to capture the mouse
 +
*DIMouse -off - forces the game to release the mouse
 +
*DIMouse -toggle
 +
*-lock is used to prevent the game from changing your choice
  
 
== Examples ==
 
== Examples ==
 +
===Force a DirectInput game to release the mouse===
 +
*DIMouse -lock -off
 +
===Force a DirectInput game to capture the mouse===
 +
*DIMouse -lock on
  
 
== See Also ==
 
== See Also ==
 
*[[LavishScript:Commands|LavishScript Commands]]
 
*[[LavishScript:Commands|LavishScript Commands]]
 +
*[[IS:Kernel#Commands|Kernel Commands]]
 
*[[IS:Session#Commands|Inner Space Session Commands]]
 
*[[IS:Session#Commands|Inner Space Session Commands]]
  
 
{{Command-Stub}}
 
{{Command-Stub}}
 
[[Category:Inner Space]]
 
[[Category:Inner Space]]
[[Category:Inner Space Session]]
+
[[Category:Inner Space Kernel]]
[[Category:Inner Space Session Commands]]
+
[[Category:Inner Space Kernel Commands]]

Latest revision as of 17:18, 12 September 2006

Syntax

Command Difficulty Rating
DIMouse
Usage Intermediate
Level of Understanding Beginner
Computer Savvy Intermediate
Logic Intermediate

DIMouse [-lock] <on|off|toggle>

Forms

DIMouse is only effective for games that use DirectInput for mouse control, in exclusive mode.

  • DIMouse -on - forces the game to capture the mouse
  • DIMouse -off - forces the game to release the mouse
  • DIMouse -toggle
  • -lock is used to prevent the game from changing your choice

Examples

Force a DirectInput game to release the mouse

  • DIMouse -lock -off

Force a DirectInput game to capture the mouse

  • DIMouse -lock on

See Also