2018-08-14, 12:33
Sample program using https://github.com/xbmc/xbmc/blob/master...mcclient.h:
If compiled as g++ -o test test.c and run as ./test down, the cursor goes down one position, as expected. ./test up or ./test e also work. But if I run ./test return or ./test escape (or ./test enter, or ./test esc, etc.) it does nothing.
Note that if I run ./test asdfasdfasdf I get this in the log:
but I I run ./test enter I get nothing. Seems like the button name is being recognized, but ignored.
This used to work without problems in kodi 17.6, but I have to run 18 for Amazon Prime Video.
Code:
#include "xbmcclient.h"
main(int argc, char* argv)
{
CXBMCClient xbmc;
xbmc.SendButton(argv[1], "KB", BTN_NO_REPEAT);
}
If compiled as g++ -o test test.c and run as ./test down, the cursor goes down one position, as expected. ./test up or ./test e also work. But if I run ./test return or ./test escape (or ./test enter, or ./test esc, etc.) it does nothing.
Note that if I run ./test asdfasdfasdf I get this in the log:
Code:
10:42:52.555 T:1558180592 ERROR: Keyboard Translator: Can't find button asdfasdfasdf
10:42:52.584 T:1917603840 DEBUG: HandleKey: 0 (0xf000, obc-61185) pressed, action is
This used to work without problems in kodi 17.6, but I have to run 18 for Amazon Prime Video.