- int i_key, i_action;
- int i_times = 0;
-
- /* Sleep a bit */
- /* msleep( INTF_IDLE_SLEEP ); */
-
- i_action = 0;
- i_key = GetKey( p_intf );
-
- /* Special action for mouse event */
- /* FIXME: This should probably be configurable */
- /* FIXME: rework hotkeys handling to allow more than 1 event
- * to trigger one same action */
- switch (i_key & KEY_SPECIAL)
- {
- case KEY_MOUSEWHEELUP:
- i_action = ACTIONID_VOL_UP;
- break;
- case KEY_MOUSEWHEELDOWN:
- i_action = ACTIONID_VOL_DOWN;
- break;
- case KEY_MOUSEWHEELLEFT:
- i_action = ACTIONID_JUMP_BACKWARD_EXTRASHORT;
- break;
- case KEY_MOUSEWHEELRIGHT:
- i_action = ACTIONID_JUMP_FORWARD_EXTRASHORT;
- break;
- default: break;
- }