Ticket #479 (new enhancement)

Opened 6 months ago

Last modified 5 months ago

Machine view - new hot keys

Reported by: user Owned by: somebody
Priority: minor Milestone:
Component: buze Version:
Keywords: Cc:

Description

It would be very useful to have Mute, Solo, Bypass as hot keys in machines view.

Something like
Mute - Ctrl+M
Solo - Ctrl+L
Bypass - Ctrl+B


/syncat

Attachments

buzé.#479.proposedimplementation.patch (5.3 kB) - added by user 5 months ago.
proposed implementation patch

Change History

Changed 5 months ago by user

proposed implementation patch

Changed 5 months ago by user

Here is a proposed implementation patch.

notes:

  • Ctrl+L will unsolo even if no machine is selected if solo is activated
  • Ctrl+M and Ctrl+B will only work on selected machines
  • I tried to implement this in CMachineView::OnChar? without succes (lParam wouldn't match the stroked keychar), so I moved it to OnKeyDown?, anyway it make better sense for such function (mute/solo/bypass)
  • Screen refresh is done with CMachineView::OnUpdate? direct call (unsure if it's correct)
  • I'm pretty newbie to ATL crapyness and even C++ weirdness, so please bear with me

Gauthier Segay

Note: See TracTickets for help on using tickets.