mixxxdj/mixxx — pull request #109 by daschuer (2013-12-08 01:35:54+00:00)
Title: Longpresslatching

This branch introduces a new ControlPushButton::LONGPRESSLATCHING.
It was original part of the cdj branch.

I have tested it with this patch:

```
diff --git a/src/engine/enginemicrophone.cpp b/src/engine/enginemicrophone.cpp
index 4ddb21d..1c274d4 100644
--- a/src/engine/enginemicrophone.cpp
+++ b/src/engine/enginemicrophone.cpp
@@ -18,7 +18,7 @@ EngineMicrophone::EngineMicrophone(const char* pGroup)
// Need a +1 here because the CircularBuffer only allows its size-1
// items to be held at once (it keeps a blank spot open persistently)
m_sampleBuffer(MAX_BUFFER_LEN+1) {
- m_pControlTalkover->setButtonMode(ControlPushButton::POWERWINDOW);
+ m_pControlTalkover->setButtonMode(ControlPushButton::LONGPRESSLATCHING);
}

EngineMicrophone::~EngineMicrophone() {
```