Difference between revisions of "Talk:DisableKey"
Jump to navigation
Jump to search
DisableKey not disabling the mouse wheel
imported>Scruggs |
imported>QQuix (DisableKey not disabling the mouse wheel) |
||
Line 14: | Line 14: | ||
:::[[User:DragoonWraith|<font face="Oblivion,Daedric Runes" size=3>D</font>ragoon <font face="Oblivion,Daedric" size=3>W</font>raith]] [[User_talk:DragoonWraith|<font face="Oblivion,Daedric" size=2>TALK</font>]] 23:22, 14 August 2006 (EDT): Thanks Timeslip! I'll update the article accordingly. | :::[[User:DragoonWraith|<font face="Oblivion,Daedric Runes" size=3>D</font>ragoon <font face="Oblivion,Daedric" size=3>W</font>raith]] [[User_talk:DragoonWraith|<font face="Oblivion,Daedric" size=2>TALK</font>]] 23:22, 14 August 2006 (EDT): Thanks Timeslip! I'll update the article accordingly. | ||
::::IsKeyPressed2 continues to function for disabled mouse buttons. [[User:Scruggs|Scruggs]] 15:42, 20 February 2007 (EST) | ::::IsKeyPressed2 continues to function for disabled mouse buttons. [[User:Scruggs|Scruggs]] 15:42, 20 February 2007 (EST) | ||
==Not disabling the mouse wheel== | |||
DisableKey does not seem to disable the mouse wheel (dxScanCodes 264-265). After using this function (script or console), the wheel still switches to 3dr person view and zooms. | |||
I have found that changing fVanityModeWheelMult to 0 disables the wheel. The following code to save, change and restore its value is working for me: | |||
<pre>Set xSaveFloat to GetGameSetting fVanityModeWheelMult | |||
SetNumericGameSetting fVanityModeWheelMult 0 | |||
; <code> | |||
SetNumericGameSetting fVanityModeWheelMult xSaveFloat</pre>[[User:QQuix|QQuix]] 14:28, 3 April 2009 (EDT) |