Emmanuel Doguet wrote:
> It's possible with LIRC and Freevo to use the same remote button for 
> different 
> action ??
>   

I think that this is possible but I've never tried it. Googling for 
"modes .lircrc" you should find this page:
http://ubuntuforums.org/showthread.php?p=4194646

This example for totem has two modes, pressing the menu button takes you 
to the next mode.

begin
  flags = startup_mode
  mode = totem1
end

begin totem1
  begin
    prog = Totem
    button = PLAY
    config = play_pause
  end

  begin
    prog = irexec
    button = MENU
     config = gnome-osd-client -f "<message id='irexec' 
osd_fake_translucent_bg='on' osd_vposition='center' animations='on' 
hide_timeout='1000' osd_halignment='center'>Changed to mode 2</message>"

  end

  begin
    prog = Totem
    button = MENU
    mode = totem2
    flags = mode quit
  end
  
  begin
    prog = Totem
    button = NEXT
    config = seek_forward
    repeat = 3
  end

  begin
    prog = Totem
    button = PREV
    config = seek_backward
    repeat = 3
  end

  begin
    prog = Totem
    button = PLUS
    config = volume_up
    repeat = 3
  end

  begin
    prog = Totem
    button = MINUS
    config = volume_down
    repeat = 3
  end
end totem1

begin totem2
  begin
    prog = Totem
    button = PLAY
    config = fullscreen
  end

  begin
    prog = Totem
    button = NEXT
    config = next
  end

  begin
    prog = Totem
    button = PREV
    config = previous
  end
end totem2

begin
   button = MENU
   mode = totem1
   flags = mode quit
   prog = irexec
   config = gnome-osd-client -f "<message id='irexec' 
osd_fake_translucent_bg='on' osd_vposition='center' animations='on' 
hide_timeout='1000' osd_halignment='center'>Changed to mode 1</message>"

end

HTH
Duncan

> Like :  
>       Menu button (1 push) ->  FREEVO_MENU
>       Menu button (2 push) ->  FREEVO_EXIT
>
>  Bye.
>
>
>
> Le Thursday 28 February 2008 10:30:37 Emmanuel Doguet, vous avez écrit :
>   
>>      Hello to all !
>>
>> I'm new in this list  and for using Freevo too.  With this mail, you can
>> see that I'm bad with English : i'm french!! :D
>>
>> This is my project :
>>
>> Using the macmini hardware for get a media center ! (the media center must
>> get videos/audios on a NFS server)
>>
>> All is good :
>>
>>  Install debian  : OK
>>  Freevo : OK
>>  Patch kernel for use Apple Remote OK
>>
>> My problem is about  the remote of macmini. It have only 6 buttons!
>> Enough for videos parts... but for audios : impossible to use playlist.
>>
>> With only this its difficult! : VOL+, VOL-, PREV, NEXT, PLAY/PAUSE, MENU
>>
>> So how can I do ?
>>
>> - Have a plugin for use contextual menu in freevo ?
>> - Use a better remote (comptatible with the internal infrared?)
>> - Not use audios features :D
>>
>>
>> Thanks !
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> _______________________________________________
>> Freevo-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/freevo-users
>>     
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Freevo-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freevo-users
>
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to