On Aug 29, 2016, at 6:03 AM, David Lawrie david.dljunk@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