Exciting new Alt/h help key provided by sge (Georgy) with many thanks!
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / shuttle.C
index e8d5572b82571425656773bae387a40f34bc9d0c..4860a7697a4c7a6076154f7fbae6132f955013f4 100644 (file)
@@ -553,6 +553,11 @@ void Shuttle::key(unsigned short code, unsigned int value)
                fprintf(stderr, "key(%d, %d) out of range\n", code + EVENT_CODE_KEY1, value);
                return;
        }
+// Show help if both Alt's pressed on keyboard together with a shuttle button
+       if( wdw && wdw->alt_down() ) {
+               if( value ) wdw->context_help_show("Shuttle key default arrangement");
+               return;
+       }
        send_stroke_sequence(value ? KJS_KEY_DOWN : KJS_KEY_UP, code);
 }