cock.setMouseFactor

Sets horizontal and vertical mouse factor. Mouse readings will be multiplied by provided values. This is essentially a mouse sensevity.

Synopsis

Function

cock.setMouseFactor ( self, x, y )

Arguments

table self
An object to use.
string x
Optional. Scaling factor by X axis. Will use old value if not provided.
string y
Optional. Scaling factor by Y axis. Will use old value if not provided.

See also