diff input/input.c @ 19850:4919b3ce8d5e

report to mplayer with a slave command the coordinates of the pointer reported by x11; rescale coordinates to [0,1]x[0,1] range - patch by Jonas Jermann and me
author nicodvb
date Sat, 16 Sep 2006 15:13:41 +0000
parents 10f36060390a
children 883378e3da77
line wrap: on
line diff
--- a/input/input.c	Sat Sep 16 14:33:41 2006 +0000
+++ b/input/input.c	Sat Sep 16 15:13:41 2006 +0000
@@ -167,6 +167,7 @@
   { MP_CMD_GET_PROPERTY, "get_property", 1, { {MP_CMD_ARG_STRING, {0}},  {-1,{0}} } },
   
   { MP_CMD_SEEK_CHAPTER, "seek_chapter", 1, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } },
+  { MP_CMD_SET_MOUSE_POS, "set_mouse_pos", 2, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } },
   
   { 0, NULL, 0, {} }
 };