Linux Help LIRC (Archos remote)
#1
Hi

I want use my Archos remote on XBMC (OpenELEC)
Image

I have make "lircd.cond"
It partially works.
Up, down, left, right, works, not all the other key.
Code:
# Please make this file available to others
# by sending it to <[email protected]>
#
# this config file was automatically generated
# using lirc-0.9.1-git(default) on Mon Sep  8 19:58:07 2014
#
# contributed by Flavien
#
# brand:                       /storage/lircd.conf
# model no. of remote control: Archos Gen5 Remote
# devices being controlled by this remote:
#
#
# Remote sketch:
#  ______________________________________
# /                                         \
#|    *                                       |    SELECT
#|                  *     *         *     *     *      |                           TV, POWER,                 EXIT, UP, SCROLLUP
#|                  *     *         *     *     *      |                           VOLUMEDOWN, VOLUMEUP,    LEFT, OK, RIGHT
#|    *    *          *     *         *     *     *      |    LEFTMOUSE,RIGHTMOUSE,  MUTE, TAB,                 SCROLLDOWN, DOWN, MENU
#|                                         |
#| Q   W   E   R   T   Y   U   I   O   P  |
#| A   S   D   F   G   H   J   K   L   *  |                                    BACK
#|   Z   X   C   V   B   N   M   *     *      |                                    COMMA, DOT
#|     *      *         *        *         *      | CAPSLOCK, LEFTALT, SPACE, RIGHTALT, RIGHTSHIFT
# \______________________________________/
#

begin remote


  name  Archos_Gen5_Remote
  bits           17
  flags SPACE_ENC|CONST_LENGTH
  eps            30
  aeps          100

  header       2997  1460
  one           305   800
  zero          305   292
  ptrail        306
  gap          35352
  toggle_bit_mask 0x0

      begin codes

          KEY_SELECT               0x09E61
          KEY_LEFTMOUSE            0x014EB
          KEY_RIGHTMOUSE           0x00AF5
          
          
          KEY_TV                   0x0827D
          KEY_POWER                0x0847B
          
          KEY_VOLUMEDOWN           0x08679
          KEY_VOLUMEUP             0x08877
          
          KEY_MUTE                 0x08A75
          KEY_TAB                  0x08C73
          
          
          KEY_EXIT                 0x08E71
          KEY_UP                   0x09669
          KEY_SCROLLUP             0x0906F
          
          KEY_LEFT                 0x09867
          KEY_OK                   0x0A05F
          KEY_RIGHT                0x09A65
          
          KEY_SCROLLDOWN           0x0926D
          KEY_DOWN                 0x09C63
          KEY_MENU                 0x0946B
          
          
          
          KEY_Q                    0x040BF
          KEY_W                    0x042BD
          KEY_E                    0x044BB
          KEY_R                    0x046B9
          KEY_T                    0x048B7
          KEY_Y                    0x04AB5
          KEY_U                    0x04CB3
          KEY_I                    0x04EB1
          KEY_O                    0x050AF
          KEY_P                    0x052AD
          
          KEY_A                    0x054AB
          KEY_S                    0x056A9
          KEY_D                    0x058A7
          KEY_F                    0x05AA5
          KEY_G                    0x05CA3
          KEY_H                    0x05EA1
          KEY_J                    0x0609F
          KEY_K                    0x0629D
          KEY_L                    0x0649B
          KEY_BACK                 0x0A25D
          
          KEY_Z                    0x06699
          KEY_X                    0x06897
          KEY_C                    0x06A95
          KEY_V                    0x06C93
          KEY_B                    0x06E91
          KEY_N                    0x0708F
          KEY_M                    0x0728D
          KEY_COMMA                0x0748B
          KEY_DOT                  0x07689
          
          KEY_CAPSLOCK             0x0C03F
          KEY_LEFTALT              0x0C23D
          KEY_SPACE                0x07887
          KEY_RIGHTALT             0x0C43B
          KEY_RIGHTSHIFT           0x0C639
          
          
      end codes

end remote


After I create the file "Lircmap.xml"

Code:
<?xml version="1.0" encoding="UTF-8"?>
<!-- This file contains the mapping of LIRC keys to XBMC keys used in Keymap.xml  -->
<!--                                                                              -->
<!-- How to add remotes                                                           -->
<!-- <remote device="name_Lirc_calls_the_remote">                                 -->
<!--                                                                              -->
<!-- For the commands the layout following layout is used                         -->
<!-- <XBMC_COMMAND>LircButtonName</XBMC_COMMAND>                                  -->
<!--                                                                              -->
<!-- For a list of XBMC_COMMAND's check out the <remote> sections of keymap.xml   -->



<lircmap>
    <remote device="Archos_Gen5_Remote">
        
        <play>KEY_SELECT</play>
              
        <start>KEY_TV</start>
        <stop>KEY_POWER</stop>
          
        <volumeminus>KEY_VOLUMEDOWN<volumeminus>
        <volumeplus>KEY_VOLUMEUP<volumeplus>
          
        <mute>KEY_MUTE</mute>
        <info>KEY_TAB</info>
                    
        <back>KEY_EXIT</back>
        <up>KEY_UP</up>
        KEY_SCROLLUP
          
        <left>KEY_LEFT</left>
        <select>KEY_OK<select>
        <right>KEY_RIGHT</right>
          
        <down>KEY_DOWN</down>
        <menu>KEY_MENU</menu>
    </remote>
</lircmap>

- How to integrate these key ? :
KEY_A to KEY_Z, KEY_COMMA, KEY_DOT, KEY_CAPSLOCK, KEY_LEFTALT, KEY_SPACE, KEY_RIGHTALT, KEY_RIGHTSHIFT
I did not find a solution.

My unaffected key list :
Code:
KEY_LEFTMOUSE
         KEY_RIGHTMOUSE
        KEY_SCROLLUP
        KEY_SCROLLDOWN
        KEY_Q
        KEY_W
        KEY_E
        KEY_R
        KEY_T
        KEY_Y
        KEY_U
        KEY_I
        KEY_O
        KEY_P
          
        KEY_A
        KEY_S
        KEY_D
        KEY_F
        KEY_G
        KEY_H
        KEY_J
        KEY_K
        KEY_L
        KEY_BACK
          
        KEY_Z
        KEY_X
        KEY_C
        KEY_V
        KEY_B
        KEY_N
        KEY_M
        KEY_COMMA
        KEY_DOT
          
        KEY_CAPSLOCK
        KEY_LEFTALT
        KEY_SPACE
        KEY_RIGHTALT
        KEY_RIGHTSHIFT


- I want when I press "KEY_LEFTALT" + "KEY_Q" it make "1"
Look combination in the image.

Thank
Reply
#2
See the link in my sig. Does the info there help?
Need help programming a Streamzap remote?
Reply
#3
(2014-09-20, 17:34)graysky Wrote: See the link in my sig. Does the info there help?
Ok I look this

But how to make key, A, B, C, D ... in XBMC with lirc?
Reply
#4
They are no solution to use key QUERTY with lirc ?
Reply
#5
Use nightly builds v14 regular MCE remotes sms type input is utterly broken but I suppose that toy of yours would work. That lircmap on your first post however isnt even close to complete.
Reply
#6
Sorry but I do not understand...
Reply
#7
It mean you can use qwerty keyboard input with devices within mighty builds of current v14, there's one or two minor issues but it should work.
Reply

Logout Mark Read Team Forum Stats Members Help
Help LIRC (Archos remote)0