LiVES  2.4.1-svn
 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
boolean skip_back_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data)
Definition: keyboard.c:440
boolean fade_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data)
Definition: keyboard.c:477
boolean loop_cont_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data)
Definition: keyboard.c:467
boolean skip_forward_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data)
Definition: keyboard.c:446
boolean ping_pong_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data)
Definition: keyboard.c:472
boolean showsubs_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data)
Definition: keyboard.c:487
Definition: main.h:277
boolean slower_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data)
Definition: keyboard.c:428
boolean faster_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data)
Definition: keyboard.c:434
boolean rec_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data)
Definition: keyboard.c:502
boolean dblsize_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data)
Definition: keyboard.c:497
boolean plugin_poll_keyboard(void)
Definition: keyboard.c:197
boolean pl_key_function(boolean down, uint16_t unicode, uint16_t keymod)
Definition: keyboard.c:227
boolean stop_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data)
Definition: keyboard.c:452
boolean ext_triggers_poll(livespointer)
poll for external playback start
Definition: keyboard.c:80
boolean showfct_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data)
Definition: keyboard.c:482
boolean sepwin_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data)
Definition: keyboard.c:462
boolean loop_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data)
Definition: keyboard.c:492
uint16_t cached_key
Definition: keyboard.h:7
uint16_t cached_mod
Definition: keyboard.h:8
boolean fullscreen_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data)
Definition: keyboard.c:457