Code Monkey home page Code Monkey logo

Comments (6)

btbars avatar btbars commented on August 22, 2024

hi
is there any news about this bug ?
is the original version has the same bug ? if you show were to find it i can test of course
thanx for your help,
i think a lot of ppl are interested for the raspberrypi

from xbmc-wiimote.

paulvt avatar paulvt commented on August 22, 2024

I have actually looked a lot at the with XBMC included client, and AFAICS I am doing the exact same thing...

I haven't found a good way to debug this, really... I can see the keys being sent, but then, even with XBMC in debug mode, they don't turn up at the XBMC side. So, unfortunately, no, no new news.

from xbmc-wiimote.

btbars avatar btbars commented on August 22, 2024

thanks for your fast reply
hope we'll fix that some day,
because we're close from perfect

from xbmc-wiimote.

alexandervdm avatar alexandervdm commented on August 22, 2024

I briefly looked into the issue, but was not able to find the cause for this problem also. However, I did find a workaround using default PacketACTION signals for Volume up and down. I'm not very familiar with git or github, but you should be able to see the code in my fork. I only briefly tested a very basic implementation. If you want to include it, you might want to add repeat-until-release for this signal and such. Hope this helps!

from xbmc-wiimote.

herrminni avatar herrminni commented on August 22, 2024

I think I found the solution for this bug:

It seams that the Python implementation for PacketBUTTON is slightly diffent from the one for C++, which ist used by xbmc-wiiremote (there + and - Buttons are working).

So I used ngrep to check what is sent by UDP and found out, that the difference is in the flags, sent with packetBUTTON.

In line 221 of xbmc-remote, I changed the default paramter "amount" to "None" instead of "0":
packet = PacketBUTTON(code=int(code), map_name=str(map_name), queue=queue, repeat=repeat, amount=None)

The +/- Buttons for volume are working correctly now.

Hope this helps,
Thanks for your effort for implementing this nice tool, by the way!

-- Michael

from xbmc-wiimote.

paulvt avatar paulvt commented on August 22, 2024

Hello @herrminni, thanks for your contribution.. it has been bugging me a lot! Could you send a pull request?

from xbmc-wiimote.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.