steamvr.vrsettings

From Valve Developer Community
< SteamVR
Revision as of 21:04, 20 October 2015 by Aleiby (talk | contribs) (Format of steamvr.vrsettings)

Jump to: navigation, search

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. This file lives in the "config" directory under Steam.

{
   "jsonid" : "vrsettings",
   "steamvr" : {
		// "ipd": 0.0635,
		// "forcedDriver": "null",
		// "forcedHmd": "",
		// "requireHmd": true,
		// "displayDebug": false,
		// "enableDistortion": true,
		// "displayDebugX": 0,
		// "displayDebugY": 0,	
		// "sendSystemButtonToAllApps": false,
		// "loglevel": 3
		// "background": "backgrounds/image_%d.png"
	},
   "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" : {
		// drivers are searched in alphabetical order, so you may need steamvr.forcedDriver="null" 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"
}