Active Topics

 


Reply
Thread Tools
Posts: 3 | Thanked: 2 times | Joined on Mar 2008 @ Belgium
#1
Hello , ( and sorry for my poor english )

I work on client/server virtual keyboard ( python-gtk ).
My 770 (client) emulate the keyboard on the computer (server).

I use it as remote to control my mediacenter (freevo).

screenshot : 770 keyboard


video :
http://www.youtube.com/watch?v=ZTP00ZIVtv0

i'm learning how to make a package and when it's done I post a link.

Bye

David [a.k.a] ADcomp
http://www.ad-comp.be/
 
linux_author's Avatar
Posts: 282 | Thanked: 69 times | Joined on Dec 2007 @ Penniless Park, Fla.
#2
- looks great! tks!

- will the keyboard be customizable, or is it just for freevo?
 
Posts: 3 | Thanked: 2 times | Joined on Mar 2008 @ Belgium
#3
Currently, the only change on the client is the IP address of the server.
On the PC (server), you can change the "keycode".
The "keycode" is sendto the program that have focus on the server. So you can use it with all program ( presentation, mediacenter, etc .. )

Keys emulate :
escape , up , home , numpad +, F1
left , enter , right , numpad-, F2
space, down, [config IP] , m , F3

Key code - python
Code:
command_key = {'home':0xff50, 'esc':0xff1b, 'up':0xff52,  ..... }
Key code can be change here but i'm planning to code some gui ..

Bye

Last edited by adcomp; 2008-03-23 at 16:13. Reason: add emulate key
 
Posts: 3 | Thanked: 2 times | Joined on Mar 2008 @ Belgium
#4
Hello ,

if you want to take a look at ..

-> no packages, yet .. just a python script (still in develop)

I 'm not a guru - python/linux coder .. just a geek

But if you want to test "beta" : source

On server (mediacenter) , require "xvkbd" :
copy ./ADkeyb/server/adkeyb_server.py where you want
modify this line with your server IP
IP, PORT, BUFFER = "192.168.2.108" , 21567, 1024
( I try with 127.0.0.1 but this don't work at all .. :?: )
to launch it
Code:
python adkeyb_server.py
On nokia , require python/gtk

copy ./ADkeyb/client where you want ( I put it on memory card : /media/mmc1 )

modify server.conf and change IP, PORT ( same as server )
you can modify keys.conf to change mapping/image

to launch it
Code:
python adkeyb.py
Enjoy ..

On my 770 , I do few others thing to have a link in the menu
copy ./ADkeyb/client/ADkeyb.desktop --> /usr/share/applications/hildon
copy ./ADkeyb/client/adcomp.png --> /usr/share/pixmaps

ADkeyb.desktop link to /usr/local/bin/adkeyb

Code:
#!/bin/sh
cd /media/mmc1/ADkeyb
python adkeyb.py
don't forget to change mode

Code:
chmod +x /usr/local/bin/adkeyb
it should work .. at least for me

video (youtube) : My Media System [MMS]
http://fr.youtube.com/watch?v=xFNCoT21Q2o

my mediacenter box :





virtual keyboard :



Bye .. and if you have feedback ..

Ps .. Sorry again for my poor english ..

Last edited by adcomp; 2008-04-11 at 08:53. Reason: mistake : beyboard --> keyboard :)
 

The Following 2 Users Say Thank You to adcomp For This Useful Post:
Posts: 2 | Thanked: 0 times | Joined on Mar 2008
#5
Hi David - just wanted to say I got it working with no problems on my n800, and that with the latest version of freevo (1.7.7) there is a UDP remote option which means that the server side is already taken care of.

It was exactly what I was looking for - many thanks!
 
helex's Avatar
Posts: 543 | Thanked: 802 times | Joined on Apr 2010 @ Germany
#6
Originally Posted by adcomp View Post
if you want to take a look at ..

-> no packages, yet .. just a python script (still in develop)

I 'm not a guru - python/linux coder .. just a geek

But if you want to test "beta" : source
I know this is a very old thread... but has anyone still this python code somewhere?
The developer seems to passed away and perhaps the domain has changed his owner.
__________________
I was a Qt Ambassador!

Please DONATE if you like my work!
It's the best way to motivate me to create more stuff for your Device.
 
Reply


 
Forum Jump


All times are GMT. The time now is 13:47.