Sign in to follow this  
xeverytime

Mouse buttons will not bind (Window 7 Ultimate x64)

Recommended Posts

After installing NOLF2 for the first time on my current desktop PC, I cannot get the mouse buttons to bind. I cannot fire with the left or use/open with the right (default mouse bindings). The Configure Controls menu shows those bindings as "unassigned". The menu allows me to assign the mouse buttons, but if I click "OK" and then return to Configure Controls menu to view those new settings, anything I assigned the mouse buttons to has reverted to "unassigned".

 

Moving/clicking with the mouse works great in all of the menus, and simply looking with the mouse works great in-game, but I cannot get the mouse buttons to work in-game due to their assignments disappearing.

 

I have tried setting the NOLF2.exe file to Run as Administrator and also to run in Windows XP SP3 compatibility mode. Still no luck. Has anyone seen this issue before?

Share this post


Link to post
Share on other sites

After installing NOLF2 for the first time on my current desktop PC, I cannot get the mouse buttons to bind. I cannot fire with the left or use/open with the right (default mouse bindings). The Configure Controls menu shows those bindings as "unassigned". The menu allows me to assign the mouse buttons, but if I click "OK" and then return to Configure Controls menu to view those new settings, anything I assigned the mouse buttons to has reverted to "unassigned".

 

Moving/clicking with the mouse works great in all of the menus, and simply looking with the mouse works great in-game, but I cannot get the mouse buttons to work in-game due to their assignments disappearing.

 

I have tried setting the NOLF2.exe file to Run as Administrator and also to run in Windows XP SP3 compatibility mode. Still no luck. Has anyone seen this issue before?

 

Edit the config file on your desktop then copy it back in. (Sounds like this is a Windows 7 issue about file writing)

Share this post


Link to post
Share on other sites

Edit the config file on your desktop then copy it back in. (Sounds like this is a Windows 7 issue about file writing)

Some file can be a "read-only" one and that can give you problems about modifying it.

Share this post


Link to post
Share on other sites

Some file can be a "read-only" one and that can give you problems about modifying it.

 

It's not a read-only issue with Windows 7 but the way it is set to not allow writing of files directly in certain areas, such as Program Files etc.

 

All you have to do is edit the file, save it to your desktop then copy it back into where it came from.

Share this post


Link to post
Share on other sites

Edit the config file on your desktop then copy it back in. (Sounds like this is a Windows 7 issue about file writing)

 

I understand the logic of editing the autoexec.cfg file, but I do not understand the syntax of the key bindings. What should I change here?

enabledevice "##keyboard"
rangebind "##keyboard" "##21" 0.000000 0.000000 "TeamMessage" 
rangebind "##keyboard" "##20" 0.000000 0.000000 "SendMessage" 
rangebind "##keyboard" "##47" 0.000000 0.000000 "Radio" 
rangebind "##keyboard" "##40" 0.000000 0.000000 "CompassToggle" 
rangebind "##keyboard" "##15" 0.000000 0.000000 "Mission" 
rangebind "##keyboard" "##25" 0.000000 0.000000 "Score" 
rangebind "##keyboard" "##23" 0.000000 0.000000 "ViewIntel" 
rangebind "##keyboard" "##49" 0.000000 0.000000 "ViewKeys" 
rangebind "##keyboard" "##50" 0.000000 0.000000 "Inventory" 
rangebind "##keyboard" "##207" 0.000000 0.000000 "CenterView" 
rangebind "##keyboard" "##208" 0.000000 0.000000 "LookDown" 
rangebind "##keyboard" "##200" 0.000000 0.000000 "LookUp" 
rangebind "##keyboard" "##38" 0.000000 0.000000 "Flashlight" 
rangebind "##keyboard" "##34" 0.000000 0.000000 "MoveBody" 
rangebind "##keyboard" "##44" 0.000000 0.000000 "LastWeapon" 
rangebind "##keyboard" "##35" 0.000000 0.000000 "HolsterWeapon" 
rangebind "##keyboard" "##27" 0.000000 0.000000 "PrevWeapon" 
rangebind "##keyboard" "##26" 0.000000 0.000000 "NextWeapon" 
rangebind "##keyboard" "##48" 0.000000 0.000000 "NextAmmo" 
rangebind "##keyboard" "##19" 0.000000 0.000000 "Reload" 
rangebind "##keyboard" "##33" 0.000000 0.000000 "Activate" 
rangebind "##keyboard" "##24" 0.000000 0.000000 "Fire" 
rangebind "##keyboard" "##46" 0.000000 0.000000 "DuckLock" 
rangebind "##keyboard" "##58" 0.000000 0.000000 "RunLock" 
rangebind "##keyboard" "##18" 0.000000 0.000000 "LeanRight" 
rangebind "##keyboard" "##16" 0.000000 0.000000 "LeanLeft" 
rangebind "##keyboard" "##14" 0.000000 0.000000 "TurnAround" 
rangebind "##keyboard" "##57" 0.000000 0.000000 "Jump" 
rangebind "##keyboard" "##42" 0.000000 0.000000 "Speed" 
rangebind "##keyboard" "##37" 0.000000 0.000000 "Strafe" 
rangebind "##keyboard" "##205" 0.000000 0.000000 "Right" 
rangebind "##keyboard" "##203" 0.000000 0.000000 "Left" 
rangebind "##keyboard" "##32" 0.000000 0.000000 "StrafeRight" 
rangebind "##keyboard" "##30" 0.000000 0.000000 "StrafeLeft" 
rangebind "##keyboard" "##31" 0.000000 0.000000 "Backward" 
rangebind "##keyboard" "##17" 0.000000 0.000000 "Forward" 
rangebind "##keyboard" "##64" 0.000000 0.000000 "QuickSave" 
rangebind "##keyboard" "##67" 0.000000 0.000000 "QuickLoad" 
rangebind "##keyboard" "##12" 0.000000 0.000000 "IncLayout" 
rangebind "##keyboard" "##13" 0.000000 0.000000 "DecLayout" 
rangebind "##keyboard" "##7" 0.000000 0.000000 "Choose_6" 0.000000 0.000000 "NextWeapon_6" 
rangebind "##keyboard" "##6" 0.000000 0.000000 "Choose_5" 0.000000 0.000000 "NextWeapon_5" 
rangebind "##keyboard" "##5" 0.000000 0.000000 "Choose_4" 0.000000 0.000000 "NextWeapon_4" 
rangebind "##keyboard" "##4" 0.000000 0.000000 "Choose_3" 0.000000 0.000000 "NextWeapon_3" 
rangebind "##keyboard" "##3" 0.000000 0.000000 "Choose_2" 0.000000 0.000000 "NextWeapon_2" 
rangebind "##keyboard" "##2" 0.000000 0.000000 "Choose_1" 0.000000 0.000000 "NextWeapon_1" 
enabledevice "##mouse"
rangebind "##mouse" "##x-axis" 0.000000 0.000000 "Axis1" 
scale "##mouse" "##x-axis" 0.003500
rangebind "##mouse" "##y-axis" 0.000000 0.000000 "Axis2" 
scale "##mouse" "##y-axis" 0.003500
ModelAdd 0.000000 0.000000 0.000000

Share this post


Link to post
Share on other sites

WOW, that was nice :mml:

Share this post


Link to post
Share on other sites

I understand the logic of editing the autoexec.cfg file, but I do not understand the syntax of the key bindings. What should I change here?

enabledevice "##keyboard"
rangebind "##keyboard" "##21" 0.000000 0.000000 "TeamMessage" 
rangebind "##keyboard" "##20" 0.000000 0.000000 "SendMessage" 
rangebind "##keyboard" "##47" 0.000000 0.000000 "Radio" 
rangebind "##keyboard" "##40" 0.000000 0.000000 "CompassToggle" 
rangebind "##keyboard" "##15" 0.000000 0.000000 "Mission" 
rangebind "##keyboard" "##25" 0.000000 0.000000 "Score" 
rangebind "##keyboard" "##23" 0.000000 0.000000 "ViewIntel" 
rangebind "##keyboard" "##49" 0.000000 0.000000 "ViewKeys" 
rangebind "##keyboard" "##50" 0.000000 0.000000 "Inventory" 
rangebind "##keyboard" "##207" 0.000000 0.000000 "CenterView" 
rangebind "##keyboard" "##208" 0.000000 0.000000 "LookDown" 
rangebind "##keyboard" "##200" 0.000000 0.000000 "LookUp" 
rangebind "##keyboard" "##38" 0.000000 0.000000 "Flashlight" 
rangebind "##keyboard" "##34" 0.000000 0.000000 "MoveBody" 
rangebind "##keyboard" "##44" 0.000000 0.000000 "LastWeapon" 
rangebind "##keyboard" "##35" 0.000000 0.000000 "HolsterWeapon" 
rangebind "##keyboard" "##27" 0.000000 0.000000 "PrevWeapon" 
rangebind "##keyboard" "##26" 0.000000 0.000000 "NextWeapon" 
rangebind "##keyboard" "##48" 0.000000 0.000000 "NextAmmo" 
rangebind "##keyboard" "##19" 0.000000 0.000000 "Reload" 
rangebind "##keyboard" "##33" 0.000000 0.000000 "Activate" 
rangebind "##keyboard" "##24" 0.000000 0.000000 "Fire" 
rangebind "##keyboard" "##46" 0.000000 0.000000 "DuckLock" 
rangebind "##keyboard" "##58" 0.000000 0.000000 "RunLock" 
rangebind "##keyboard" "##18" 0.000000 0.000000 "LeanRight" 
rangebind "##keyboard" "##16" 0.000000 0.000000 "LeanLeft" 
rangebind "##keyboard" "##14" 0.000000 0.000000 "TurnAround" 
rangebind "##keyboard" "##57" 0.000000 0.000000 "Jump" 
rangebind "##keyboard" "##42" 0.000000 0.000000 "Speed" 
rangebind "##keyboard" "##37" 0.000000 0.000000 "Strafe" 
rangebind "##keyboard" "##205" 0.000000 0.000000 "Right" 
rangebind "##keyboard" "##203" 0.000000 0.000000 "Left" 
rangebind "##keyboard" "##32" 0.000000 0.000000 "StrafeRight" 
rangebind "##keyboard" "##30" 0.000000 0.000000 "StrafeLeft" 
rangebind "##keyboard" "##31" 0.000000 0.000000 "Backward" 
rangebind "##keyboard" "##17" 0.000000 0.000000 "Forward" 
rangebind "##keyboard" "##64" 0.000000 0.000000 "QuickSave" 
rangebind "##keyboard" "##67" 0.000000 0.000000 "QuickLoad" 
rangebind "##keyboard" "##12" 0.000000 0.000000 "IncLayout" 
rangebind "##keyboard" "##13" 0.000000 0.000000 "DecLayout" 
rangebind "##keyboard" "##7" 0.000000 0.000000 "Choose_6" 0.000000 0.000000 "NextWeapon_6" 
rangebind "##keyboard" "##6" 0.000000 0.000000 "Choose_5" 0.000000 0.000000 "NextWeapon_5" 
rangebind "##keyboard" "##5" 0.000000 0.000000 "Choose_4" 0.000000 0.000000 "NextWeapon_4" 
rangebind "##keyboard" "##4" 0.000000 0.000000 "Choose_3" 0.000000 0.000000 "NextWeapon_3" 
rangebind "##keyboard" "##3" 0.000000 0.000000 "Choose_2" 0.000000 0.000000 "NextWeapon_2" 
rangebind "##keyboard" "##2" 0.000000 0.000000 "Choose_1" 0.000000 0.000000 "NextWeapon_1" 
enabledevice "##mouse"
rangebind "##mouse" "##x-axis" 0.000000 0.000000 "Axis1" 
scale "##mouse" "##x-axis" 0.003500
rangebind "##mouse" "##y-axis" 0.000000 0.000000 "Axis2" 
scale "##mouse" "##y-axis" 0.003500
ModelAdd 0.000000 0.000000 0.000000

 

Use this code for your mouse section:

 

enabledevice "##mouse"

rangebind "##mouse" "##z-axis" -255.000000 -0.100000 "PrevWeapon" 0.100000 255.000000 "NextWeapon"

rangebind "##mouse" "##4" 0.000000 0.000000 "Activate"

rangebind "##mouse" "##3" 0.000000 0.000000 "Fire"

rangebind "##mouse" "##y-axis" 0.000000 0.000000 "Axis2"

scale "##mouse" "##y-axis" 0.003500

rangebind "##mouse" "##x-axis" 0.000000 0.000000 "Axis1"

scale "##mouse" "##x-axis" 0.003500

ModelAdd 0.000000 0.000000 0.000000

Share this post


Link to post
Share on other sites

Thanks, E1! Adding that code and making the autoexec.cfg file read-only fixed my mouse button issue!

Share this post


Link to post
Share on other sites

Thanks, E1! Adding that code and making the autoexec.cfg file read-only fixed my mouse button issue!

 

 

Glad to help.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this