rework transportque for shuttle speed codes, add rusage, cleanup
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / shuttle.h
index b02a945bad211f8e29ac6109383d85c0647ed1ad..ffe805c2ff79ac250ef2216612a34f9921be0dbc 100644 (file)
@@ -17,6 +17,8 @@
 // delay in ms before processing each XTest event
 // CurrentTime means no delay
 #define DELAY CurrentTime
+// playback max speed -64x .. 64x
+#define SHUTTLE_MAX_SPEED 64.
 
 // protocol for events from the shuttlepro HUD device
 //
@@ -194,7 +196,7 @@ public:
        ~Shuttle();
 
        int send_button(unsigned int button, int press);
-       int send_key(KeySym keysym, int press);
+       int send_keycode(unsigned int keycode, int press, int send);
        int send_keysym(KeySym keysym, int press);
        void send_stroke_sequence(int kjs, int index);
        void key(unsigned short code, unsigned int value);
@@ -208,6 +210,7 @@ public:
        static const char *probe();
        void run();
        int read_config_file();
+       static BC_WindowBase *owns(BC_WindowBase *wdw, Window win);
 
        int done;
        int failed;