Skip to content

Commit 588974e

Browse files
Report more actions that move by pixels (#1271)
If you use the Xenakios actions to move by configurable amount of pixels, this update fixes an issue where screen reader reports could bottleneck when scrubbing fast.
1 parent bf75c98 commit 588974e

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

readme.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -966,6 +966,8 @@ This list is worth referencing when making your own key map additions, assigning
966966
- Transport: Stop
967967
- Move edit cursor to start of next beat
968968
- Move edit cursor to start of current/previous beat
969+
- View: Move cursor left 8 pixels
970+
- View: Move cursor right 8 pixels
969971
- View: Set horizontal zoom to default project setting
970972
- View: Time unit for ruler: Absolute frames
971973
- View: Time unit for ruler: Hours:Minutes:Seconds:Frames
@@ -982,6 +984,14 @@ This list is worth referencing when making your own key map additions, assigning
982984
- View: Secondary time unit for ruler: Seconds
983985
- Reset all MIDI devices
984986
- Reset all MIDI control surface devices
987+
- Xenakios/SWS: Move cursor left 10 pixels
988+
- Xenakios/SWS: Move cursor right 10 pixels
989+
- Xenakios/SWS: Move cursor left 10 pixels, creating time selection
990+
- Xenakios/SWS: Move cursor right 10 pixels, creating time selection
991+
- Xenakios/SWS: Move cursor left configured pixels
992+
- Xenakios/SWS: Move cursor right configured pixels
993+
- Xenakios/SWS: Move cursor left configured pixels, creating time selection
994+
Xenakios/SWS: Move cursor right configured pixels, creating time selection
985995

986996
#### Unmapped in MIDI Editor section
987997
- Edit: Select all events in time selection (even if CC lane is hidden)

src/reaper_osara.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2683,6 +2683,8 @@ PostCommand POST_COMMANDS[] = {
26832683
{42455, postToggleLastFocusedFxDeltaSolo}, // FX: Toggle delta solo for last focused FX
26842684
{40104, postCursorMovementScrub}, // View: Move cursor left one pixel
26852685
{40105, postCursorMovementScrub}, // View: Move cursor right one pixel
2686+
{41666, postCursorMovementScrub}, // View: Move cursor left 8 pixels
2687+
{41667, postCursorMovementScrub}, // View: Move cursor right 8 pixels
26862688
{40102, postCursorMovementScrub}, // Time selection: Move cursor left, creating time selection
26872689
{40103, postCursorMovementScrub}, // Time selection: Move cursor right, creating time selection
26882690
{40042, postCursorMovement}, // Transport: Go to start of project
@@ -2980,6 +2982,14 @@ PostCustomCommand POST_CUSTOM_COMMANDS[] = {
29802982
{"_FNG_RATE_1_101", postChangeItemRate}, // SWS/FNG: Time stretch selected items (fine)
29812983
{"_XENAKIOS_TIMERTEST1", postChangeTransportState}, // Xenakios/SWS: Play selected items once
29822984
{"_FNG_QUANTIZE_TO_GRID", postQuantize}, // SWS/FNG: Quantize item positions and MIDI note positions to grid
2985+
{"_XENAKIOS_MOVECUR10PIX_LEFT", postCursorMovementScrub}, // Xenakios/SWS: Move cursor left 10 pixels
2986+
{"_XENAKIOS_MOVECUR10PIX_RIGHT", postCursorMovementScrub}, // Xenakios/SWS: Move cursor right 10 pixels
2987+
{"_XENAKIOS_MOVECUR10PIX_LEFTCTS", postCursorMovementScrub}, // Xenakios/SWS: Move cursor left 10 pixels, creating time selection
2988+
{"_XENAKIOS_MOVECUR10PIX_RIGHTCTS", postCursorMovementScrub}, // Xenakios/SWS: Move cursor right 10 pixels, creating time selection
2989+
{"_XENAKIOS_MOVECURRLEFTCONF", postCursorMovementScrub}, // Xenakios/SWS: Move cursor left configured pixels
2990+
{"_XENAKIOS_MOVECURRIGHTCONF", postCursorMovementScrub}, // Xenakios/SWS: Move cursor right configured pixels
2991+
{"_XENAKIOS_MOVECURRLEFTCONFCTS", postCursorMovementScrub}, // Xenakios/SWS: Move cursor left configured pixels, creating time selection
2992+
{"_XENAKIOS_MOVECURRRIGHTCONFCTS", postCursorMovementScrub}, // Xenakios/SWS: Move cursor right configured pixels, creating time selection
29832993
{nullptr},
29842994
};
29852995

0 commit comments

Comments
 (0)