mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-02 09:41:13 -06:00
19 lines
769 B
Lua
19 lines
769 B
Lua
--[[ OpenSpace keybinding script ]]--
|
|
|
|
-- Load the common helper functions
|
|
dofile(openspace.absPath('${SCRIPTS}/common.lua'))
|
|
|
|
openspace.clearKeys()
|
|
helper.setCommonKeys()
|
|
helper.setDeltaTimeKeys({
|
|
1, 5, 10, 20, 40, 60, 120, 360, 720, 1440,
|
|
2880, 5760, 11520, 23040, 46080, 92160, 184320, 368640, 737280, 1474560,
|
|
2949120, 5898240, 11796480, 23592960, 47185920, 94371840, 188743680, 377487360
|
|
})
|
|
|
|
openspace.bindKey("q", helper.renderable.toggle('SunMarker'))
|
|
openspace.bindKey("e", helper.renderable.toggle('EarthMarker'))
|
|
openspace.bindKey("x", helper.renderable.toggle('Constellation Bounds'))
|
|
|
|
openspace.bindKey("c", "openspace.parallel.setAddress('130.236.142.51');openspace.parallel.setPassword('newhorizons-20150714');openspace.parallel.connect();")
|