On Wednesday 12 December 2007 21:53:35 Jan Jockusch wrote:
> I'm going to spend a few hours poking through the source code to find
> the current MIDI binding hooks,
I don't know if herculeslinuxlegacy uses the same hooks as midi stuff, but if 
it does, there is this code:
case kiHerculesLeftBtnTrackNext:
        sendButtonEvent(ev.value, m_pControlObjectLeftBtnTrackNext);
        break;
case kiHerculesRightBtnTrackNext:
        sendButtonEvent(ev.value, m_pControlObjectRightBtnTrackNext);
        break;

where these things are defined elsewhere by:
    m_pControlObjectLeftBtnTrackPrev = new 
ControlObjectThread(ControlObject::getControl(ConfigKey("[Channel1]","PrevTrack")));
    m_pControlObjectRightBtnTrackPrev = new 
ControlObjectThread(ControlObject::getControl(ConfigKey("[Channel2]","PrevTrack")));
    m_pControlObjectLeftBtnTrackNext = new 
ControlObjectThread(ControlObject::getControl(ConfigKey("[Channel1]","NextTrack")));
    m_pControlObjectRightBtnTrackNext = new 
ControlObjectThread(ControlObject::getControl(ConfigKey("[Channel2]","NextTrack")));

Hopefully this is on the right track and enough to get you started.

-- 
Robin <[EMAIL PROTECTED]> JabberID: <[EMAIL PROTECTED]>

Hostes alienigeni me abduxerunt. Qui annus est?

PGP Key 0xA99CEB6D = 5957 6D23 8B16 EFAB FEF8  7175 14D3 6485 A99C EB6D

Attachment: signature.asc
Description: This is a digitally signed message part.

-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Mixxx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Reply via email to