Zeecontrol
Hi,
I created a first quick hack combining Wiicontrol with the zeemote libraries. The result, "Zeecontrol", allows you to control your N900 via a Zeemote bluetooth remote control. You can grab it from the extras-testing repository. Let me know if you find useful key mappings or have other comments. Edit: You can now create your own mappings file for setting up custom key mappings which will not be overwritten on updates in "$HOME/.zeecontrol/UserMappings.py". For a reference what is possible please see "/usr/lib/zeecontrol/KeyMappings.py". For the settings you did not specify in your UserMappings file the defaults from KeyMappings will be taken. Best regards Wonko |
Re: Zeecontrol
How can i use this? Zeemote control panel installed, and this package installed, now?
Edit: I tried start zeecontrol: Code:
[1|root@Andy1210-N900|~]zeecontrol |
Re: Zeecontrol
Thanks for your feedback!
I uploaded a new version. I hope this fixes the error you encountered. As for how to use this: It's best if you already have the "Zeemote Control Panel" installed and successfully connected and tested the Zeemote you want to use. Zeecontrol _should_ pull this in as a dependency. If you tested your Zeemote successfully you simply need to turn on bluetooth on your N900, turn on the Zeemote and start Zeecontrol. It should make no difference in which order you do the three steps above. Once Zeecontrol discovers bluetooth being enabled and finds your Zeemote it automatically connects. For more info and some debug output you can run Zeecontrol from the command line, like you already did. As a side note: I accidently ran Zeecontrol as root. This does not work. Zeecontrol has to be run as user. Well, this was quite a number of "should"s but as said this is a first quick hack to show things work in general. |
Re: Zeecontrol
the new version works well :) (Not works, when Bluetooth is Off)
Can you implement automatic "bluetooth on" function? I tried in supertux, and works perfectly |
Re: Zeecontrol
It works good. Only high cpu consumtion and slow reaction using picodrive. But a really good start. :)
I had a strange problem, switching the zeemote off before the shutdown of Zeecontrol. There was a continuously button press in the background and I had to restart the N900. Closing Zeecontrol before shutting off the Zeemote works good. |
Re: Zeecontrol
Quote:
Quote:
Here it was possible to recover from such a situation by (repeatedly) pressing <Enter> on the keyboard. Quote:
Feel free to hack on the code yourself. I will merge anything which appears to be useful in the next version(s). You can find the current "in development" code on the projects garage site: https://garage.maemo.org/projects/zeecontrol As another note: I uploaded the current version to the extras testing repository so you do not need to download and install Zeecontrol manually anymore. |
Re: Zeecontrol
Thanks Wonko! now I can finally use the Zeemote as easy as I wanted to!
I'll let you know if i find a bug. good job! :) |
Re: Zeecontrol
Alright, a new version (0.0.2-1) is available, which uses blocking I/O instead of polling.
This version solves the issues related to polling mentioned above. I.e. it is now much more responsive and the CPU utilization is reduced. Thanks to Till for uploading the new libzeemote version. :) |
Re: Zeecontrol
Andy,
just for you ;) another new version. Zeecotrol version 0.0.3-1 en-/disables bluetooth automatically on startup/shutdown. |
Re: Zeecontrol
Great job!
is possible in future change the keymap without edit the configuration file? there are some problem in the standard keymap layout for the italian user... :( zeecontrol makes my very joyful!!! |
All times are GMT. The time now is 06:35. |
vBulletin® Version 3.8.8