LiVES
3.2.0
|
Go to the source code of this file.
Macros | |
#define | LIVES_XEVENT_TYPE_KEYPRESS 2 |
#define | LIVES_XEVENT_TYPE_KEYRELEASE 3 |
#define | key_left 100 |
#define | key_left2 113 |
#define | key_right 102 |
#define | key_right2 114 |
#define | key_up 98 |
#define | key_up2 111 |
#define | key_down 104 |
#define | key_down2 116 |
#define | EXT_TRIGGER_INTERVAL 4 |
#define | KEY_RPT_INTERVAL 40 |
#define | DEF_MIDI_CHECK_RATE 1000 |
default MIDI checks per keyboard cycle (i.e. More... | |
#define | DEF_MIDI_RPT 1000 |
allowed non-reads between reads (raw MIDI only) More... | |
Functions | |
boolean | key_press_or_release (LiVESWidget *, LiVESXEventKey *, livespointer) |
wrapper for pl_key_function More... | |
boolean | ext_triggers_poll (livespointer) |
poll for external playback start More... | |
void | handle_cached_keys (void) |
smooth the key repeat for scratching More... | |
boolean | pl_key_function (boolean down, uint16_t unicode, uint16_t keymod) |
all funky stuff with keys More... | |
boolean | faster_callback (LiVESAccelGroup *, LiVESWidgetObject *, uint32_t, LiVESXModifierType, livespointer user_data) |
boolean | slower_callback (LiVESAccelGroup *, LiVESWidgetObject *, uint32_t, LiVESXModifierType, livespointer user_data) |
boolean | more_callback (LiVESAccelGroup *, LiVESWidgetObject *, uint32_t, LiVESXModifierType, livespointer user_data) |
boolean | less_callback (LiVESAccelGroup *, LiVESWidgetObject *, uint32_t, LiVESXModifierType, livespointer user_data) |
boolean | skip_back_callback (LiVESAccelGroup *, LiVESWidgetObject *, uint32_t, LiVESXModifierType, livespointer user_data) |
boolean | skip_forward_callback (LiVESAccelGroup *, LiVESWidgetObject *, uint32_t, LiVESXModifierType, livespointer user_data) |
boolean | stop_callback (LiVESAccelGroup *, LiVESWidgetObject *, uint32_t, LiVESXModifierType, livespointer user_data) |
boolean | rec_callback (LiVESAccelGroup *, LiVESWidgetObject *, uint32_t, LiVESXModifierType, livespointer user_data) |
boolean | loop_callback (LiVESAccelGroup *, LiVESWidgetObject *, uint32_t, LiVESXModifierType, livespointer user_data) |
boolean | loop_cont_callback (LiVESAccelGroup *, LiVESWidgetObject *, uint32_t, LiVESXModifierType, livespointer user_data) |
boolean | ping_pong_callback (LiVESAccelGroup *, LiVESWidgetObject *, uint32_t, LiVESXModifierType, livespointer user_data) |
boolean | dblsize_callback (LiVESAccelGroup *, LiVESWidgetObject *, uint32_t, LiVESXModifierType, livespointer user_data) |
boolean | showfct_callback (LiVESAccelGroup *, LiVESWidgetObject *, uint32_t, LiVESXModifierType, livespointer user_data) |
boolean | showsubs_callback (LiVESAccelGroup *, LiVESWidgetObject *, uint32_t, LiVESXModifierType, livespointer user_data) |
boolean | fullscreen_callback (LiVESAccelGroup *, LiVESWidgetObject *, uint32_t, LiVESXModifierType, livespointer user_data) |
boolean | sepwin_callback (LiVESAccelGroup *, LiVESWidgetObject *, uint32_t, LiVESXModifierType, livespointer user_data) |
boolean | fade_callback (LiVESAccelGroup *, LiVESWidgetObject *, uint32_t, LiVESXModifierType, livespointer user_data) |
boolean | volup_callback (LiVESAccelGroup *, LiVESWidgetObject *, uint32_t, LiVESXModifierType, livespointer user_data) |
boolean | voldown_callback (LiVESAccelGroup *, LiVESWidgetObject *, uint32_t, LiVESXModifierType, livespointer user_data) |
Variables | |
uint16_t | cached_key |
uint16_t | cached_mod |
#define DEF_MIDI_CHECK_RATE 1000 |
default MIDI checks per keyboard cycle (i.e.
normally x checks per 4 ms - raw MIDI only)
Definition at line 80 of file keyboard.h.
#define DEF_MIDI_RPT 1000 |
allowed non-reads between reads (raw MIDI only)
Definition at line 83 of file keyboard.h.
#define EXT_TRIGGER_INTERVAL 4 |
Definition at line 74 of file keyboard.h.
#define key_down 104 |
Definition at line 20 of file keyboard.h.
#define key_down2 116 |
Definition at line 21 of file keyboard.h.
#define key_left 100 |
Definition at line 14 of file keyboard.h.
#define key_left2 113 |
Definition at line 15 of file keyboard.h.
#define key_right 102 |
Definition at line 16 of file keyboard.h.
#define key_right2 114 |
Definition at line 17 of file keyboard.h.
#define KEY_RPT_INTERVAL 40 |
Definition at line 76 of file keyboard.h.
#define key_up 98 |
Definition at line 18 of file keyboard.h.
#define key_up2 111 |
Definition at line 19 of file keyboard.h.
#define LIVES_XEVENT_TYPE_KEYPRESS 2 |
Definition at line 6 of file keyboard.h.
#define LIVES_XEVENT_TYPE_KEYRELEASE 3 |
Definition at line 7 of file keyboard.h.
boolean dblsize_callback | ( | LiVESAccelGroup * | , |
LiVESWidgetObject * | , | ||
uint32_t | , | ||
LiVESXModifierType | , | ||
livespointer | user_data | ||
) |
Definition at line 495 of file keyboard.c.
boolean ext_triggers_poll | ( | livespointer | ) |
poll for external playback start
if we have OSC we will poll it here,
Definition at line 67 of file keyboard.c.
boolean fade_callback | ( | LiVESAccelGroup * | , |
LiVESWidgetObject * | , | ||
uint32_t | , | ||
LiVESXModifierType | , | ||
livespointer | user_data | ||
) |
Definition at line 467 of file keyboard.c.
boolean faster_callback | ( | LiVESAccelGroup * | , |
LiVESWidgetObject * | , | ||
uint32_t | , | ||
LiVESXModifierType | , | ||
livespointer | user_data | ||
) |
Definition at line 377 of file keyboard.c.
boolean fullscreen_callback | ( | LiVESAccelGroup * | , |
LiVESWidgetObject * | , | ||
uint32_t | , | ||
LiVESXModifierType | , | ||
livespointer | user_data | ||
) |
Definition at line 439 of file keyboard.c.
void handle_cached_keys | ( | void | ) |
smooth the key repeat for scratching
Definition at line 141 of file keyboard.c.
boolean key_press_or_release | ( | LiVESWidget * | , |
LiVESXEventKey * | , | ||
livespointer | |||
) |
wrapper for pl_key_function
Definition at line 134 of file keyboard.c.
boolean less_callback | ( | LiVESAccelGroup * | , |
LiVESWidgetObject * | , | ||
uint32_t | , | ||
LiVESXModifierType | , | ||
livespointer | user_data | ||
) |
Definition at line 368 of file keyboard.c.
boolean loop_callback | ( | LiVESAccelGroup * | , |
LiVESWidgetObject * | , | ||
uint32_t | , | ||
LiVESXModifierType | , | ||
livespointer | user_data | ||
) |
Definition at line 488 of file keyboard.c.
boolean loop_cont_callback | ( | LiVESAccelGroup * | , |
LiVESWidgetObject * | , | ||
uint32_t | , | ||
LiVESXModifierType | , | ||
livespointer | user_data | ||
) |
Definition at line 453 of file keyboard.c.
boolean more_callback | ( | LiVESAccelGroup * | , |
LiVESWidgetObject * | , | ||
uint32_t | , | ||
LiVESXModifierType | , | ||
livespointer | user_data | ||
) |
Definition at line 387 of file keyboard.c.
boolean ping_pong_callback | ( | LiVESAccelGroup * | , |
LiVESWidgetObject * | , | ||
uint32_t | , | ||
LiVESXModifierType | , | ||
livespointer | user_data | ||
) |
Definition at line 460 of file keyboard.c.
all funky stuff with keys
Definition at line 151 of file keyboard.c.
Referenced by key_press_or_release().
boolean rec_callback | ( | LiVESAccelGroup * | , |
LiVESWidgetObject * | , | ||
uint32_t | , | ||
LiVESXModifierType | , | ||
livespointer | user_data | ||
) |
Definition at line 502 of file keyboard.c.
boolean sepwin_callback | ( | LiVESAccelGroup * | , |
LiVESWidgetObject * | , | ||
uint32_t | , | ||
LiVESXModifierType | , | ||
livespointer | user_data | ||
) |
Definition at line 446 of file keyboard.c.
boolean showfct_callback | ( | LiVESAccelGroup * | , |
LiVESWidgetObject * | , | ||
uint32_t | , | ||
LiVESXModifierType | , | ||
livespointer | user_data | ||
) |
Definition at line 474 of file keyboard.c.
boolean showsubs_callback | ( | LiVESAccelGroup * | , |
LiVESWidgetObject * | , | ||
uint32_t | , | ||
LiVESXModifierType | , | ||
livespointer | user_data | ||
) |
Definition at line 481 of file keyboard.c.
boolean skip_back_callback | ( | LiVESAccelGroup * | , |
LiVESWidgetObject * | , | ||
uint32_t | , | ||
LiVESXModifierType | , | ||
livespointer | user_data | ||
) |
Definition at line 396 of file keyboard.c.
boolean skip_forward_callback | ( | LiVESAccelGroup * | , |
LiVESWidgetObject * | , | ||
uint32_t | , | ||
LiVESXModifierType | , | ||
livespointer | user_data | ||
) |
Definition at line 405 of file keyboard.c.
boolean slower_callback | ( | LiVESAccelGroup * | , |
LiVESWidgetObject * | , | ||
uint32_t | , | ||
LiVESXModifierType | , | ||
livespointer | user_data | ||
) |
Definition at line 358 of file keyboard.c.
boolean stop_callback | ( | LiVESAccelGroup * | , |
LiVESWidgetObject * | , | ||
uint32_t | , | ||
LiVESXModifierType | , | ||
livespointer | user_data | ||
) |
Definition at line 432 of file keyboard.c.
boolean voldown_callback | ( | LiVESAccelGroup * | , |
LiVESWidgetObject * | , | ||
uint32_t | , | ||
LiVESXModifierType | , | ||
livespointer | user_data | ||
) |
Definition at line 423 of file keyboard.c.
boolean volup_callback | ( | LiVESAccelGroup * | , |
LiVESWidgetObject * | , | ||
uint32_t | , | ||
LiVESXModifierType | , | ||
livespointer | user_data | ||
) |
Definition at line 414 of file keyboard.c.
uint16_t cached_key |
Definition at line 10 of file keyboard.h.
Referenced by handle_cached_keys(), open_vid_playback_plugin(), and pl_key_function().
uint16_t cached_mod |
Definition at line 11 of file keyboard.h.
Referenced by handle_cached_keys(), open_vid_playback_plugin(), and pl_key_function().