Read UP/DOWN Buttons in LCD

  • Hello,


    I can access to write in the LCD if i open /dev/dbox/lcd0 device. A very good example of HOWTO write in the LCD is the TUXTXT.


    But, how can i read the UP and DOWN button in this LCD pannel?


    Thanks in advance.


    PD.- my target is a soft for DM7025.

  • Here is the solution.


    I made a C program to scan all /dev/input/eventXXX.
    Also the program identifies each input device. The start-up of my program in the 7025 said:


    input0: dreambox front panel vendor 0000 product 0000 version 0000
    input1: dreambox remote control (native) vendor 0000 product 0000 version 0000
    input2: dreambox ir keyboard vendor 0000 product 0000 version 0000
    input3: dreambox ir mouse vendor 0000 product 0000 version 0000
    input4: Logitech Logitech Cordless RumblePad 2 vendor 046d product c219 version 0200


    Then, press UP or DOWN buttons in LCD pannel:


    Key type code value : 01, 100, 1
    Press Key(0) : 0
    Key type code value : 01, 100, 0
    Release Key(0) : 0
    Key type code value : 01, 101, 1
    Press Key(0) : 0
    Key type code value : 01, 101, 0
    Release Key(0) : 0


    That is HOWTO read from pannel buttons.

  • Thank you for the usefull tool.
    Now i can test my (buggy) usb keyboard.
    And i can test, if the keyboard is correctly recognized by the system.


    Result:
    I have to plug in the connector several times, until the keyboard will work.


    input0: dreambox front panel vendor 0000 product 0000 version 0000
    input1: dreambox remote control (native) vendor 0000 product 0000 version 0000
    input2: dreambox ir keyboard vendor 0000 product 0000 version 0000
    input3: dreambox ir mouse vendor 0000 product 0000 version 0000
    input4: 0566:3002 vendor 0566 product 3002 version 0100
    input5: 0566:3002 vendor 0566 product 3002 version 0100
    Key type code value : 01, 014, 1
    Press Key(4) : 0
    Key type code value : 01, 014, 0
    Release Key(4) : 0
    Key type code value : 01, 023, 1
    Press Key(4) : 0
    Key type code value : 01, 023, 0
    Release Key(4) : 0
    Key type code value : 01, 02d, 1
    Press Key(4) : 0
    Key type code value : 01, 02d, 0
    Release Key(4) : 0