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

From Lavish Software Wiki
Jump to navigation Jump to search
 
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
== Syntax ==
 
== Syntax ==
 +
{{CMD-DR|DIMouse|Intermediate|Beginner|Intermediate|Intermediate}}
 +
DIMouse [-lock] <on|off|toggle>
  
== Description ==
+
== 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}}
 +
[[Category:Inner Space]]
 +
[[Category:Inner Space Kernel]]
 +
[[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