Change lua common script to toggle three types of interaction friction.

This commit is contained in:
Kalle
2016-07-13 12:01:50 -04:00
parent 2c005406fd
commit 718a5d69e6

View File

@@ -17,8 +17,9 @@ helper.setCommonKeys = function()
openspace.bindKey("COMMA", "openspace.setRenderer('Framebuffer');")
openspace.bindKey("PERIOD", "openspace.setRenderer('ABuffer');")
openspace.bindKey("f", helper.property.invert('Interaction.rotationalFriction'))
openspace.bindKey("Shift+f", helper.property.invert('Interaction.zoomFriction'))
openspace.bindKey("f", helper.property.invert('Interaction.horizontalFriction'))
openspace.bindKey("Shift+f", helper.property.invert('Interaction.rotationalFriction'))
openspace.bindKey("Shift+Ctrl+f", helper.property.invert('Interaction.verticalFriction'))
end
helper.setDeltaTimeKeys = function(t)