HERCPROC callback
Hercules event
handling callback function.
|
Parameters
dwAction |
The event that has been sent from the Hercules. |
||
|
The value could be equal to any of the following event codes
|
||
dwValue |
The value associated with the event or action if any. |
||
user |
The user instance data given when HERC_EventCallbackSet was called. |
Remarks
This function will receive all event sent from the HERCULES controller. If the
event is a button you will receive an event for the DOWN and the UP of a button
so that way you can determine if a button is being held down or not. If the event
is the pitch slider you will receive the position of the slider in the dwValue
parameter from –63 to 63.
Example
Two callback functions, one to handle DeckA events and one to handle DeckB
events.
|
See also
HERC_EventCallbackSet