Difference between revisions of "cock.setMouseFactor"
m |
m |
||
Line 15: | Line 15: | ||
*[[Common Organization of Controls Kit]] | *[[Common Organization of Controls Kit]] | ||
− | {{#set:Description=Sets mouse | + | {{#set:Description=Sets mouse factor.}} |
Revision as of 17:16, 1 September 2013
Sets horizontal and vertical mouse factor. Mouse readings will be multiplied by provided values. This is essentially a mouse sensevity. You can access these values directly, see etc.mouse.* fields.
Contents
Synopsis
Function
cock.setMouseFactor ( self, x, y )
Arguments
table self
- An object to use.
number x
- Optional. Scaling factor by X axis. Will use old value if not provided.
number y
- Optional. Scaling factor by Y axis. Will use old value if not provided.
See also
- cock.setMouseOffset
- cock.getMouseFactor
- Common Organization of Controls Kit Fields
- Common Organization of Controls Kit Manual
- Common Organization of Controls Kit