diff options
author | Nat <natcl@hotmail.com> | 2007-07-05 20:52:07 (GMT) |
---|---|---|
committer | Nat <natcl@hotmail.com> | 2007-07-05 20:52:07 (GMT) |
commit | e51c40e7997d907c92434f343742e8932d461004 (patch) | |
tree | fdd08bc29f81cc82869dd398d351fba5e59b4422 /Edit | |
parent | f411b8bb51dd300898de43167eb5851ac68b59c3 (diff) |
Updated arrow keycodes
Diffstat (limited to 'Edit')
-rw-r--r-- | Edit/MainWindow.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Edit/MainWindow.py b/Edit/MainWindow.py index e69a9b5..89ae84b 100644 --- a/Edit/MainWindow.py +++ b/Edit/MainWindow.py @@ -1543,18 +1543,18 @@ class MainWindow( SubActivity ): #Arrows if event.state == gtk.gdk.SHIFT_MASK: # up/down arrows volume - if key == 111: self.trackInterface.noteStepVolume(0.1) - if key == 116: self.trackInterface.noteStepVolume(-0.1) + if key == 98: self.trackInterface.noteStepVolume(0.1) + if key == 104: self.trackInterface.noteStepVolume(-0.1) # left/right arrows onset - if key == 113: self.trackInterface.noteStepDuration(-1) - if key == 114: self.trackInterface.noteStepDuration(1) + if key == 100: self.trackInterface.noteStepDuration(-1) + if key == 102: self.trackInterface.noteStepDuration(1) else: # up/down arrows pitch - if key == 111: self.trackInterface.noteStepPitch(1) - if key == 116: self.trackInterface.noteStepPitch(-1) + if key == 98: self.trackInterface.noteStepPitch(1) + if key == 104: self.trackInterface.noteStepPitch(-1) # left/right arrows duration - if key == 113: self.trackInterface.noteStepOnset(-1) - if key == 114: self.trackInterface.noteStepOnset(1) + if key == 100: self.trackInterface.noteStepOnset(-1) + if key == 102: self.trackInterface.noteStepOnset(1) def onKeyPress(self,widget,event): |