ok, i have do change in code source, sorry to do not use tracker, but i dont understand how to use it (i m french and not too good in english)
if i understand the code, the problem is the ortek device apear to HAL device whith "input" category, but "input" category not triger by code.
first i try to use keymap.xml mecanisme but not arive to do it, so i hardcoded the triger.
i make a diff, its port on xbmc/linux/HalManager.cpp
Code:
74a75,133
>
>
>
>
> //sorry but i don t know a way to use keymap.xml, so, i hardcoded all my action (remote VCR-1100 ortek)
> if (!strcmp(condition_name, "ButtonPressed") && !strcmp(condition_details, "play-pause"))
> {
> CUtil::ExecBuiltIn("XBMC.playercontrol(play)");
> return;
> }
> if (!strcmp(condition_name, "ButtonPressed") && !strcmp(condition_details, "previous-song"))
> {
> CUtil::ExecBuiltIn("XBMC.playercontrol(previous)");
> return;
> }
> if (!strcmp(condition_name, "ButtonPressed") && !strcmp(condition_details, "next-song"))
> {
> CUtil::ExecBuiltIn("XBMC.playercontrol(next)");
> return;
> }
> if (!strcmp(condition_name, "ButtonPressed") && !strcmp(condition_details, "stop-cd"))
> {
> CUtil::ExecBuiltIn("XBMC.playercontrol(stop)");
> return;
> }
> if (!strcmp(condition_name, "ButtonPressed") && !strcmp(condition_details, "homepage"))
> {
> CUtil::ExecBuiltIn("XBMC.playercontrol(play)");
> return;
> }
> if (!strcmp(condition_name, "ButtonPressed") && !strcmp(condition_details, "sleep"))
> {
> CUtil::ExecBuiltIn("XBMC.ActivateWindow(ShutdownMenu)");
> return;
> }
> if (!strcmp(condition_name, "ButtonPressed") && !strcmp(condition_details, "mute"))
> {
> CUtil::ExecBuiltIn("XBMC.mute()");
> return;
> }
> /*
> if (!strcmp(condition_name, "ButtonPressed") && !strcmp(condition_details, "volume-up"))
> {
> CUtil::ExecBuiltIn("XBMC.playercontrol(play)");
> return;
> }
> if (!strcmp(condition_name, "ButtonPressed") && !strcmp(condition_details, "volume-down"))
> {
> CUtil::ExecBuiltIn("XBMC.playercontrol(play)");
> return;
> }
> */
> //end
>
>
>
>
>
>
559a619,620
> {
> CLog::Log(LOGDEBUG, "HAL: category == NULL");
560a622
> }
660a723,725
> else
> CLog::Log(LOGDEBUG, "HAL: category = %s ", category);
>
here found the patch file and the entire modified file
http://war.mauramathieu.fr/ortek/
french:
Grace au message de debug j'ai remonté le code source. Il semble qu'une parte de la telecomande aparaisse comme un clavier, une partie comme une souris et la trousieme partie comme HAL de categorie "input".
Cette troisieme partie correspond aux bouttons play stop precedent suivant pause.
il est impossible d'intercepter ces boutton sans modifier le code source, c'est ce que j'ai fait.
Je ne l'ai pas bien fait, ce que j'ai fait est sale, mais ca marche, en effet il aurait fallut utiliser le keymap.xml pour lire les code et les actions.