<div dir="ltr">Hi all,<br><br>Anybody here is familiar with xinilibout code?<br>Or maybe it's a generic concept of plugins that I don't really know...<br><br>What is assigned to "input_vdr->f.input_control"? I couldn't find initialization place.<br>
Don't know if it makes a different, but vdr-sxfe is run with --lirc switch.<br>I hate pointers to functions!<br>
<br>static void process_xine_keypress(input_plugin_t *input, <br> const char *map, const char *key,<br> int repeat, int release)<br>{<br> /* from UI --> input plugin --> vdr */<br>
LOGDBG("Keypress: %s %s %s %s", <br> map, key, repeat?"Repeat":"", release?"Release":"");<br><br> if(input) {<br> vdr_input_plugin_t *input_vdr = (vdr_input_plugin_t *)input;<br>
if(input_vdr->f.input_control) {<br> input_vdr->f.input_control(input, map, key, repeat, release);<br> } else {<br> LOGMSG("Keypress --- NO HANDLER SET");<br> }<br> } else {<br> LOGMSG("Keypress --- NO PLUGIN FOUND");<br>
}<br>}<br><br><br>Thanks.<br><br></div>