1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-21 22:30:22 +00:00
mpv/input
wm4 f1205293a7 command: make "add <property> 0" not change the value
The value 0 was treated specially, and effectively forced the increment
to 1. Interestingly, passing 0 or no value also does not include the
scale (from touchpads etc.), but this is probably an accidental behavior
that was never intentionally added.

Simplify it and make the default increment 1. 0 now means what it
should: the value will not be changed. This is not particularly useful,
but on the other hand there is no need for surprising and unintuitive
semantics.

OARG_CYCLEDIR() failed to apply the default value, because
m_option_type_cycle_dir was missing a copy handler - add this too.
2015-09-10 14:15:48 +02:00
..
cmd_list.c command: make "add <property> 0" not change the value 2015-09-10 14:15:48 +02:00
cmd_list.h command: add a command for defining input bindings 2015-08-06 00:16:45 +02:00
cmd_parse.c command: make "add <property> 0" not change the value 2015-09-10 14:15:48 +02:00
cmd_parse.h Update license headers 2015-04-13 12:10:01 +02:00
event.c input: add append argument to file drop event 2015-08-30 05:28:24 -07:00
event.h input: add append argument to file drop event 2015-08-30 05:28:24 -07:00
input.c options: fix --no-config 2015-09-05 15:33:19 +02:00
input.h input: remove some unneeded things 2015-05-26 22:00:25 +02:00
ipc.c ipc: fix undefined behavior in some error cases 2015-07-06 00:08:29 +02:00
keycodes.c Update license headers 2015-04-13 12:10:01 +02:00
keycodes.h Update license headers 2015-04-13 12:10:01 +02:00
pipe-win32.c pipe-win32: possible fix for Windows XP deadlock 2014-12-11 23:38:15 +11:00