------------------------------------------------------------------------
A poll associated with this post was created, to vote and see the
results, please visit http://forums.slimdevices.com/showthread.php?t=79524
------------------------------------------------------------------------
Question: Are you interested in IR-over-IP?
    
- Yes, I'd like to have IRoIP.
- No, I don't care.
------------------------------------------------------------------------

Here are begin of our talk..:)
http://forums.slimdevices.com/showpost.php?p=541974&postcount=325

kvn.inbox;568457 Wrote: 
> Hi, indifference_engine.
> 
> Could you please give me two xml-config files for SBC SqueezeIR(simple,
> and not..):
> 1. Simple: Only "volume+/-" mapped on SBC HARD VOLUME keys. Thats all.
> 2. Not simple: In menu (Extras?) we have three items: standby, volume+,
> volume-. And "volume+", "volume-" mapped on SBC HARD VOLUME keys too..
> 
> If it's hard, most needed 1-st variant.
> Thanks you.
> 

For the 1-st simple config I tried to doit myself:
SqueezeIR.xml

Code:
--------------------
    
  <?xml version="1.0"?> <!-- DO NOT TOUCH THIS LINE -->
  
  <!--
        SqueezeIR Data File
        Original filename "SqueezeIR.xml"
        See ReadMe.txt for information
  -->
  
  <!--
        KeyCode Constants
        GO                              =    1
        HOME                    =   64
        FWD                             = 2048
        REW                             = 1024
        BACK                    =    2
        PLAY                    =  128
        PAUSE                   =  512
        VOLUME_UP               = 4096
        VOLUME_DOWN             = 8192
        ADD                             =  256
        VOLUME_MUTE     = KEY_VOLUME_UP | KEY_VOLUME_DOWN
        PREVIOUS                = KEY_PAUSE | KEY_REW
        NEXT                    = KEY_PAUSE | KEY_FWD
        STOP                    = KEY_REW | KEY_FWD
  -->
  
  <SqueezeIR> <!-- DO NOT TOUCH THIS LINE -->
  
  <hotkey>66</hotkey> <!-- home+back -->
  
  <remotes> <!-- Your remote control codes (or LIRC file references) go in this 
section -->
        <remote ID="AMP">
                <protocol>LIRC</protocol>
                <parameters>
                        <parameter ID="filename">AA_MAP305.lirc.txt</parameter>
  <parameter ID="remote">AA_MAP305</parameter>
                </parameters>
        </remote>
  </remotes>
  
  <profiles>
        <profile ID="Amp">
                <keys>
                        <key ID="volume_up">
                                <events>
                                        <event ID="press">
                                                <override>true</override>
                                                <actions>
                                                        <action order="1">
                                                                
<remote>AMP</remote>
                                                                
<command>volume_up</command>
                                                        </action>
                                                </actions>
                                        </event>
  
                                        <event ID="hold">
                                                <override>true</override>
                                                <actions>
                                                        <action order="1">
                                                                
<remote>AMP</remote>
                                                                
<command>volume_up</command>
                                                        </action>
                                                </actions>
                                        </event>
                                </events>
                        </key>
  
                        <key ID="volume_down">
                                <events>
                                        <event ID="press">
                                                <override>true</override>
                                                <actions>
                                                        <action order="1">
                                                                
<remote>AMP</remote>
                                                                
<command>volume_down</command>
                                                        </action>
                                                </actions>
                                        </event>
  
                                        <event ID="hold">
                                                <override>true</override>
                                                <actions>
                                                        <action order="1">
                                                                
<remote>AMP</remote>
                                                                
<command>volume_down</command>
                                                        </action>
                                                </actions>
                                        </event>
                                </events>
                        </key>
                </keys>
        </profile>
  </profiles>
  
  </SqueezeIR>
  
--------------------


And AA_MAP305.lirc.txt:

Code:
--------------------
    
  
  # Please make this file available to others
  # by sending it to <l...@bartelmus.de>
  #
  # this config file was automatically generated
  # using lirc-0.8.6(SerialDevice) on Thu Aug 12 09:57:19 2010
  #
  # contributed by 
  #
  # brand:                       Advance Acoustic
  # model no. of remote control: MAP-305II/DAII
  # devices being controlled by this remote: Advcance Acoustic MAP-305DAII
  #
  
  begin remote
  
  name  AA_MAP305.lirc.txt
  bits           16
  flags SPACE_ENC|CONST_LENGTH
  eps            30
  aeps          100
  
  header       9000  4487
  one           599  1671
  zero          599   506
  ptrail        589
  repeat       9005  2265
  pre_data_bits   16
  pre_data       0x24D2
  gap          107918
  toggle_bit_mask 0x0
  
  begin codes
  standby                  0x2AD5
  cd                       0x10EF
  tuner                    0x12ED
  aux                      0x30CF
  phono                    0x32CD
  digital                  0x08F7
  mute                     0x0AF5
  volume_down              0x28D7
  volume_up                0xAA55
  end codes
  
  end remote
  
  
--------------------


I will try it evening at home..maybe will be some comments..

For "not simple" p.2. - it's hard to do it myself..:( Need knowledge
and example...


-- 
kvn.inbox
------------------------------------------------------------------------
kvn.inbox's Profile: http://forums.slimdevices.com/member.php?userid=37876
View this thread: http://forums.slimdevices.com/showthread.php?t=79524

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to