LiVES 2.4.6

- Main Page
- Namespaces
- Data Structures
- Files

- File List
- Globals

All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
keyboard.h
Go to the documentation of this file.
1 // keyboard.h
2 // LiVES
3 // (c) G. Finch 2004 - 2015 <salsaman@gmail.com>
4 // see file ../COPYING for licensing details
5
6 // repeating keys
7 uint16_t cached_key;
8 uint16_t cached_mod;
9
10 // these keys should be cached on a key down and sent every time until a key up
11 #define key_left 100
12 #define key_left2 113
13 #define key_right 102
14 #define key_right2 114
15 #define key_up 98
16 #define key_up2 111
17 #define key_down 104
18 #define key_down2 116
19
20
21 boolean ext_triggers_poll(livespointer);
22
23 #if defined HAVE_X11 || defined IS_MINGW
24 LiVESFilterReturn filter_func(LiVESXXEvent *xevent, LiVESXEvent *event, livespointer data);
25 #endif
26
27 boolean plugin_poll_keyboard(void);
28
29 boolean pl_key_function(boolean down, uint16_t unicode, uint16_t keymod);
30
31 boolean faster_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data);
32
33 boolean slower_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data);
34
35 boolean skip_back_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data);
36
37 boolean skip_forward_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data);
38
39 boolean stop_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data);
40
41 boolean rec_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data);
42
43 boolean loop_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data);
44
45 boolean loop_cont_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data);
46
47 boolean ping_pong_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data);
48
49 boolean dblsize_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data);
50
51 boolean showfct_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data);
52
53 boolean showsubs_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data);
54
55 boolean fullscreen_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data);
56
57 boolean sepwin_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data);
58
59 boolean fade_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data);
60
61
62 #define KEY_RPT_INTERVAL 4
63
64
66 /* can be over-ridden in prefs */
67 #define DEF_MIDI_CHECK_RATE 1000
68
69
71 #define DEF_MIDI_RPT 1000
loop_cont_callback
boolean loop_cont_callback(LiVESAccelGroup *group, LiVESObject *obj, uint32_t keyval, LiVESXModifierType mod, livespointer user_data)
Definition: keyboard.c:467
pl_key_function
boolean pl_key_function(boolean down, uint16_t unicode, uint16_t keymod)
Definition: keyboard.c:227
slower_callback
boolean slower_callback(LiVESAccelGroup *group, LiVESObject *obj, uint32_t keyval, LiVESXModifierType mod, livespointer user_data)
Definition: keyboard.c:428
showsubs_callback
boolean showsubs_callback(LiVESAccelGroup *group, LiVESObject *obj, uint32_t keyval, LiVESXModifierType mod, livespointer user_data)
Definition: keyboard.c:487
faster_callback
boolean faster_callback(LiVESAccelGroup *group, LiVESObject *obj, uint32_t keyval, LiVESXModifierType mod, livespointer user_data)
Definition: keyboard.c:434
skip_forward_callback
boolean skip_forward_callback(LiVESAccelGroup *group, LiVESObject *obj, uint32_t keyval, LiVESXModifierType mod, livespointer user_data)
Definition: keyboard.c:446
event
Definition: main.h:287
ping_pong_callback
boolean ping_pong_callback(LiVESAccelGroup *group, LiVESObject *obj, uint32_t keyval, LiVESXModifierType mod, livespointer user_data)
Definition: keyboard.c:472
fade_callback
boolean fade_callback(LiVESAccelGroup *group, LiVESObject *obj, uint32_t keyval, LiVESXModifierType mod, livespointer user_data)
Definition: keyboard.c:477
rec_callback
boolean rec_callback(LiVESAccelGroup *group, LiVESObject *obj, uint32_t keyval, LiVESXModifierType mod, livespointer user_data)
Definition: keyboard.c:502
dblsize_callback
boolean dblsize_callback(LiVESAccelGroup *group, LiVESObject *obj, uint32_t keyval, LiVESXModifierType mod, livespointer user_data)
Definition: keyboard.c:497
loop_callback
boolean loop_callback(LiVESAccelGroup *group, LiVESObject *obj, uint32_t keyval, LiVESXModifierType mod, livespointer user_data)
Definition: keyboard.c:492
sepwin_callback
boolean sepwin_callback(LiVESAccelGroup *group, LiVESObject *obj, uint32_t keyval, LiVESXModifierType mod, livespointer user_data)
Definition: keyboard.c:462
stop_callback
boolean stop_callback(LiVESAccelGroup *group, LiVESObject *obj, uint32_t keyval, LiVESXModifierType mod, livespointer user_data)
Definition: keyboard.c:452
skip_back_callback
boolean skip_back_callback(LiVESAccelGroup *group, LiVESObject *obj, uint32_t keyval, LiVESXModifierType mod, livespointer user_data)
Definition: keyboard.c:440
showfct_callback
boolean showfct_callback(LiVESAccelGroup *group, LiVESObject *obj, uint32_t keyval, LiVESXModifierType mod, livespointer user_data)
Definition: keyboard.c:482
plugin_poll_keyboard
boolean plugin_poll_keyboard(void)
Definition: keyboard.c:197
cached_key
uint16_t cached_key
Definition: keyboard.h:7
ext_triggers_poll
boolean ext_triggers_poll(livespointer data)
poll for external playback start
Definition: keyboard.c:80
cached_mod
uint16_t cached_mod
Definition: keyboard.h:8
fullscreen_callback
boolean fullscreen_callback(LiVESAccelGroup *group, LiVESObject *obj, uint32_t keyval, LiVESXModifierType mod, livespointer user_data)
Definition: keyboard.c:457