Commit Graph

43 Commits

Author SHA1 Message Date
Martin Pulec
7ce60447b5 Key control: initial support for special keys in Win 2019-07-24 10:57:06 +02:00
Martin Pulec
25bcb2df97 Import: added possibility to control from terminal
Replaces old import_control_keyboard.
2019-07-24 10:57:06 +02:00
Martin Pulec
34cd7d272a Key control: handle some ANSI sequences 2019-07-24 10:56:57 +02:00
Martin Pulec
8129b6ac48 Key control: highlighted output 2019-07-24 10:56:57 +02:00
Martin Pulec
bf664d1eee Key control: allow naming of custom keybindings
+ some small fixes
2019-07-24 10:56:56 +02:00
Martin Pulec
1ab1b18fb7 Key control: option to execute command with message
This allows dynamically adding key-bindings from other modules.
2019-07-24 10:56:56 +02:00
Martin Pulec
7f88dc930f Key control: allow user defined key-bindings 2019-06-26 16:25:49 +02:00
Martin Pulec
f4c391ee60 Key control: allow multiple commands
+ option to pause/resume output
2019-06-26 16:25:49 +02:00
Martin Pulec
6af07ef3e1 Allow control commands from UG terminal 2019-06-26 16:25:49 +02:00
Martin Pulec
50a6fe615f Missing sstring includes 2019-06-19 16:44:20 +02:00
Martin Pulec
53f4633b71 Keyboard control: option to mute sender 2018-07-04 10:13:55 +02:00
Martin Pulec
00535744af Keyboard control: echo also carriage return (Win) 2018-04-24 09:59:32 +02:00
Martin Pulec
c97fa6f0fe Keyboard control: allow verbosity decrease 2018-01-02 09:57:47 +01:00
Martin Pulec
29e18b78f3 Keyboard control: small changes
* always print warning if unrecognized key is pressed
* do not show info when pressing 'h'
2018-01-02 09:57:47 +01:00
Martin Pulec
421e1f62f2 Keyboard control: print start time 2017-08-16 16:10:12 +02:00
Martin Pulec
d67cad98ea Keyboard control: show info also when pressing 'i' 2017-06-28 16:28:11 +02:00
Martin Pulec
6f3e88fca8 Keyboard control: show captured format 2017-06-28 16:28:11 +02:00
Martin Pulec
cf234ef3a8 Keyboard control: print whether we are exporting 2017-06-21 10:12:14 +02:00
Martin Pulec
c65a90d7c5 Keyboard control: show port of control socket 2017-06-21 10:12:14 +02:00
Martin Pulec
d25c291dc4 Keyboard control: refactor a bit 2017-05-11 13:53:26 +02:00
Martin Pulec
e299219167 Export: allow runtime enable/disable recording 2017-05-11 13:53:26 +02:00
Martin Pulec
f47597dd89 Fixed bugs reported by Coverity 2017-03-03 18:07:18 +01:00
Martin Pulec
feae858c65 Validate optional commandline parameters 2017-02-23 16:30:43 +01:00
Martin Pulec
8676bed5f5 Keyboard control: print a warning in color 2017-02-22 15:20:45 +01:00
Martin Pulec
18154d3413 Moved some commandline parameters to --params
"ldgm-device" and "disable-keyboard-control" commandline parameters were
moved to --params. "window-title" can be as both, however as a
commandline argument it will be removed in future.
2017-02-20 11:27:30 +01:00
Martin Pulec
c16a74d135 MSW: compat
Cleared mainly harmless warnings.
2017-02-15 10:19:12 +01:00
Martin Pulec
8ebc74eaf9 Allow set AV delay from control socket 2017-01-25 11:02:55 +01:00
Martin Pulec
171ad1635a Keyboard control: allow changes only after Ctrl-x
Added Ctrl-x shortcut to lock/unlock changes to prevent user from
unintentionally pressing some behavior modifiers (like mute).
2017-01-18 11:14:02 +01:00
Martin Pulec
372bd7b68b Audio: multiple changes
* separate decoder for every stream
* replaced audio_playback_query_supported_format() with more generic
  audio_playback_ctl()
* replaced audio_decoder_increase_volume(),
  audio_decoder_decrease_volume() and audio_decoder_mute() with
  audio_decoder_set_volume(), removed audio_decoder_get_volume()
2017-01-18 11:13:19 +01:00
Martin Pulec
787b6edfc0 Audio: print volume also in dB 2016-11-02 16:42:33 +01:00
Martin Pulec
e5ef0a0fbb Keyboard control: show captured video format
Displays captured video format when 'h' key is pressed.
2016-06-30 11:23:20 +02:00
Martin Pulec
45be2f7dfc Keyboard control: show volume 2016-06-29 10:37:00 +02:00
Martin Pulec
3e3287315f Keyboard control: keybindings to control AV delay 2016-06-29 10:37:00 +02:00
Martin Pulec
832eee41d3 Restore terminal settings with atexit callback
This solves the problem when some ugly libraries (Xlib, GLUT) call
exit() directly.
2016-06-28 17:33:24 +02:00
Martin Pulec
83c9421b4a Fixed some Coverity issues 2015-10-19 11:31:10 +02:00
Martin Pulec
4069baafe0 Keyboard control: do not run for background task 2015-09-23 14:29:13 +02:00
Martin Pulec
4a23f05be9 Option to disable keyboard control
+ updated usage a bit
+ echo <ENTER> on terminal (can be used to check responsivity of the
  term)
2015-08-31 11:11:05 +02:00
Martin Pulec
2cc6aab0e2 Added possibility to send message synchronously
+ in capabilities list, given bitrate is computed according to the
  detected capture format (provided that '-t' argument is given)
2015-08-25 17:05:23 +02:00
Martin Pulec
a6f509e345 Keyboard control: support for MSW 2015-07-24 16:12:04 +02:00
Martin Pulec
715dca1bc3 Displays and capturers use now log_msg() for periodic messages 2015-07-13 11:09:37 +02:00
Martin Pulec
625b5adc0f Rewritten logging a bit
Use logger + levels of verboseness.
2015-07-10 16:42:26 +02:00
Martin Pulec
9ddc6c8c76 Keyboard control - show help + control verbosity 2015-07-10 16:42:26 +02:00
Martin Pulec
5165648e4c Added keyboard control (OS X and Linux)
Allows changing volume and mute audio from UG terminal right now.
2015-07-10 16:42:26 +02:00