Re: [v2 1/2] winejoystick.drv: Add functionality to disable joystick via registry
29 Aug
2016
29 Aug
'16
2:46 p.m.
On Aug 29, 2016, at 6:03 AM, David Lawrie <david.dljunk(a)gmail.com> wrote:
+ get_app_key(&hkey, &appkey); + + /* Joystick settings are in the 'joysticks' subkey */ + if (appkey) + { + if (RegOpenKeyA(appkey, joystick_key, &temp)) temp = 0; + RegCloseKey(appkey); + appkey = temp; + } + if (hkey) + { + if (RegOpenKeyA(hkey, joystick_key, &temp)) temp = 0; + RegCloseKey(hkey); + hkey = temp; + }
It seems the appending of the Joysticks subkey should be done in get_app_key(). -Ken
3389
Age (days ago)
3389
Last active (days ago)
0 comments
1 participants
participants (1)
-
Ken Thomases