SteamVR/steamvr.vrsettings: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "== Format of steamvr.vrsettings == steamvr.vrsettings is a json file in the following format: <pre> 123 </pre> {{shortpagetitle}} Category:SteamVR")
 
Line 1: Line 1:
== Format of steamvr.vrsettings ==
== Format of steamvr.vrsettings ==


steamvr.vrsettings is a json file in the following format:
steamvr.vrsettings is a json file in the format below. To enable a key remove the // in front of the particular line.
Usually only low-level programmers need to set any of these keys.


<pre>
<pre>
123
{
  "jsonid" : "vrsettings",
  "steamvr" : {
// "ipd": 0.0635
// "forcedDriver": "null"
// "requireHmd": true ,
// "displayDebug": false,
// "enableDistortion": true,
// "displayDebugX": 0,
// "displayDebugY": 0,
// "sendSystemButtonToAllApps": false,
// "loglevel": 3
},
  "driver_lighthouse": {
// "disableimu": false,
// "usedisambiguation": "tdm",
// "disambiguationdebug": 0,
// "primarybasestation": 0,
// "lighthousename": "",
// "maxincidenceangledegrees": 60.0,
// "uselighthousedirect": true,
// "dbhistory": false,
// "originoffsetx": 0.0,
// "originoffsety": 1.0,
// "originoffsetz": 0.0,
// "headingoffset": 0.0,
},
  "driver_null" : {
// to get driver null to run, you  need to use "forcedDriver": "null" in section "steamvr" as well
// "enable": true,
// "id": "Null Driver",
// "serialNumber": "Null 4711",
// "modelNumber": "Null Model Number",
// "windowX": 100,
// "windowY": 100,
// "windowWidth": 1920,
// "windowHeight": 1080,
// "renderWidth": 1344,
// "renderHeight": 1512,
// "secondsFromVsyncToPhotons": 0.1,
// "displayFrequency": 90
  },
  "version" : "1"
}
</pre>
</pre>
{{shortpagetitle}}
{{shortpagetitle}}
[[Category:SteamVR]]
[[Category:SteamVR]]

Revision as of 10:12, 27 August 2015

Format of steamvr.vrsettings

steamvr.vrsettings is a json file in the format below. To enable a key remove the // in front of the particular line. Usually only low-level programmers need to set any of these keys.

{
   "jsonid" : "vrsettings",
   "steamvr" : {
		// "ipd": 0.0635
		// "forcedDriver": "null"	
		// "requireHmd": true ,
		// "displayDebug": false,
		// "enableDistortion": true,
		// "displayDebugX": 0,
		// "displayDebugY": 0,	
		// "sendSystemButtonToAllApps": false,
		// "loglevel": 3
	},
   "driver_lighthouse": {
		// "disableimu": false,
		// "usedisambiguation": "tdm",
		// "disambiguationdebug": 0,
		// "primarybasestation": 0,
		// "lighthousename": "",
		// "maxincidenceangledegrees": 60.0,
		// "uselighthousedirect": true,
		// "dbhistory": false,
		// "originoffsetx": 0.0,
		// "originoffsety": 1.0,
		// "originoffsetz": 0.0,
		// "headingoffset": 0.0,
	},
   "driver_null" : {
		// to get driver null to run, you  need to use "forcedDriver": "null" in section "steamvr" as well
		// "enable": true,
		// "id": "Null Driver",
		// "serialNumber": "Null 4711",
		// "modelNumber": "Null Model Number",
		// "windowX": 100,
		// "windowY": 100,
		// "windowWidth": 1920,
		// "windowHeight": 1080,
		// "renderWidth": 1344,
		// "renderHeight": 1512,
		// "secondsFromVsyncToPhotons": 0.1,
		// "displayFrequency": 90
   },
   "version" : "1"
}