2
from KeyDispatcher import *
4
class KeyManager( AutoUpdate( SFString ) ):
5
def update( self, event ):
9
InputDispatcher.dispatch(key)
11
print '********************************************'
12
print 'windowCenter: ', windowCenterField.getValue()
13
print 'windowWidth: ', windowWidthField.getValue()
14
print 'cutRadius: ', cutRadiusField.getValue()
15
print 'drillSpeed: ', drillSpeedField.getValue()
16
print 'SavedVolume: ', saveVolumeField.getValue()
17
print 'timePlayback: ', playbackDirectionField.getValue()
18
print 'saveHaptic: ', saveHapticField.getValue()
19
print 'playHaptic: ', playHapticField.getValue()
20
print 'saveHapticToFile ',saveHapticToFileField.getValue()
21
print 'segment ', segmentField.getValue()
22
print 'segmentHardness ', segmentHardnessField.getValue()
23
print 'setHardness ', hardnessSetEnabledField.getValue()
24
print 'resetTimePlayback ', resetTimePlaybackField.getValue()
28
keyManager = KeyManager()