Toggle VSync Hotkey (#659)

* Added toggle vsync button and hotkeys section to config

* Uses hasflag instead of bitwise comparison

* fixed schema name

Co-Authored-By: BaronKiko <BaronKiko@users.noreply.github.com>
This commit is contained in:
BaronKiko
2019-04-22 07:54:31 +01:00
committed by jduncanator
parent 74da8785a5
commit 50d6ec9efe
5 changed files with 66 additions and 6 deletions

View File

@@ -636,9 +636,24 @@
"default": "O"
}
}
},
"hotkeys": {
"$id": "#/properties/keyboard_controls/properties/hotkeys",
"type": "object",
"title": "Hotkey Controls",
"required": [
"toggle_vsync"
],
"properties": {
"toggle_vsync": {
"$id": "#/properties/keyboard_controls/properties/hotkeys/properties/toggle_vsync",
"$ref": "#/definitions/key",
"title": "Toggle VSync",
"default": "Tab"
}
}
}
}
},
},
"gamepad_controls": {
"$id": "#/properties/gamepad_controls",
"type": "object",
@@ -843,4 +858,4 @@
}
}
}
}
}