Page 1 of 8 123 ... LastLast
Results 1 to 10 of 77

Thread: Logitech UltraX Media Remote - Similar Codes Problem Fixed

  1. #1
    Join Date
    Oct 2005
    Posts
    4

    Default Logitech UltraX Media Remote - Similar Codes Problem Fixed

    Hi, I have the subj hardware and did have same known problems (identical codes) with them. Now that was fixed....
    Here is my solution for UltraX Media Remote:
    Some theory at the beginning.
    On the HID configuration page we have three LogitechUSB Receivers:
    1 - belongs to HID keyboard (thus have standard keyboard commands)
    2, 3 - belongs to HID devices. They have identical raw codes but different system identifiers (collections)
    As we have separate Edit OnRead windows for each HID Device, my idea is to give different raw code prefixes to the second & third HID USB Receivers.
    Now The Action!
    Paste this code (thanks Ron!) into Onread window for second Logitech Receiver:
    Code:
    function HidRead( data )
    
       local hexstring,x,i
       
       hexstring=''
       for i=1,string.len(data) do
          x = string.byte(data,i)
          hexstring = hexstring .. string.format("%02XX", x)
       end
    
       gir.TriggerEvent(hexstring,239,1)
       
    end
    And this code into Onread window for third Logitech Receiver:
    Code:
    function HidRead( data )
    
       local hexstring,x,i
       
       hexstring=''
       for i=1,string.len(data) do
          x = string.byte(data,i)
          hexstring = hexstring .. string.format("%02X", x)
       end
    
       gir.TriggerEvent(hexstring,239,1)
       
    end
    Finally we have different raw codes look like "00X10X00X" for the second and "001000" for the third receiver. All buttons on the remote work just fine!
    Voila!
    Attached definition for this remote with almost all keys exept standard keyboard commands (0-9, up, down,left, right, enter, clear) . Uses "X" in the raw codes. (also with OSD acknowledgement of the pressed key)
    P.S. Found small but nasty bug - when we close girder, that second symbol ("X" in this code example) not saved
    Comments, suggestions?
    Best Regards, KiryanFX.
    Attached Files Attached Files

  2. #2
    Join Date
    Nov 2005
    Posts
    1

    Default

    thanks for your nice job; works fine

    there is one thing that bothers me though:

    buttons which "belong" to the keyboard device driver send correct repeats if you keep your finger on the button.

    buttons which belong to the second/third device don't send repeats only one event when a button is pressed and one event (000000, 00x00x00x respectively) when the button is released, but no repeats while it is being pressed!

    how can I get "repeat functionality" for these buttons (without any complex lua scripting jobs)??

    thanks for any idea

  3. #3
    Join Date
    Dec 2005
    Posts
    12

    Default

    Has anyone solved problem of not saving 'x' by Girder ?

  4. #4
    Join Date
    Dec 2001
    Posts
    11,560

    Default

    AFAIK, it works

  5. #5
    Join Date
    Jan 2006
    Posts
    1

    Default

    One more question because I am a total noob at this. Where do I paste that code in??? How do I get to there????

    treat me as if I started using a computer yesterday if need be.

    thank you,

  6. #6
    Join Date
    Dec 2001
    Posts
    11,560

    Default

    Quote Originally Posted by bornwild
    One more question because I am a total noob at this. Where do I paste that code in??? How do I get to there????

    treat me as if I started using a computer yesterday if need be.

    thank you,
    Hi, open the manual using F1, read about the HID plugin. That is where you cut and paste the above code. You get there from the settings page.

  7. #7
    Join Date
    Oct 2005
    Posts
    4

    Default

    It's strange, on my machine girder (v4.0 RC4) still can't save code changes in HID plugin window...
    Whether there can be it consequence of the message on impossibility load Lua.dll (something about missing component - failed to load lua.dll and so on but girder can work fine ) on girder startup? May be the old version trash?

  8. #8
    Join Date
    Jan 1998
    Location
    Jupiter, FL
    Posts
    13,553

    Default

    Update to the newest Girder.
    Ron
    No support through PM

  9. #9
    Join Date
    Feb 2006
    Posts
    4

    Default still problem with second "x"

    eerything works fine - but this bug with disappearing second "x" in function is a little embarassing...there isn't any solution? i installed newest Girder version 4.0.3 and its still not corrected Any idea how to get rid of it? :-?

  10. #10
    Join Date
    Jan 1998
    Location
    Jupiter, FL
    Posts
    13,553

    Default

    Can you explain what the problem is? I don't understand second 'x'.
    Ron
    No support through PM

Page 1 of 8 123 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •