diff input/input.c @ 34339:f05c75392897

Enable gui slave commands. Allow sending the GUI skin messages which enables operating the GUI with a remote control. Only messages defined in current skin window will be executed, i.e. only messages that could result from mouse clicks as well.
author ib
date Sun, 11 Dec 2011 14:43:16 +0000
parents dd3d2c5dd021
children 9e06c2e4844e
line wrap: on
line diff
--- a/input/input.c	Sat Dec 10 20:55:31 2011 +0000
+++ b/input/input.c	Sun Dec 11 14:43:16 2011 +0000
@@ -208,6 +208,8 @@
   { MP_CMD_AF_CLR, "af_clr", 0, { {-1,{0}} } },
   { MP_CMD_AF_CMDLINE, "af_cmdline", 2, { {MP_CMD_ARG_STRING, {0}}, {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } },
 
+  { MP_CMD_GUI, "gui", 1, { {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } },
+
   { 0, NULL, 0, {} }
 };