You Are Here:

Community: Developer Discussion Boards

Reply « Previous Thread | Next Thread »

#1 Old [Announce] pybtkeyboard - PC keyboard as bluetooth keyboard for mobile - 2008-09-23, 13:30

Join Date: Sep 2008
Posts: 9
voidonic
Offline
Registered User
pybtkeyboard - PC keyboard as bluetooth keyboard for mobile
------------------------------------------------------------

http://code.google.com/p/pybtkeyboard/

* Allows the use of your PC keyboard as bluetooth keyboard for inputing text and controlling your mobile
* See btkeyboardphone.py to define your own mappings
* Uses keypress from http://cyke64.googlepages.com (modified to allow raw event input)

Installation
------------

btkeyboardpc.tar.gz
* Requires python, pyblues, nucurses
* run "python btkeyboardpc.py" in terminal

btkeyboardphone.tar.gz
* sign and install keypress_unsigned.SIS
* copy btkeyboardphone.py to python dir e.g e:\python
* add your PCs bluetooth address to btkeyboardphone.py
* run btkeyboardphone.py

voidonic@gmail.com
Reply With Quote

#2 Old Red face Re: [Announce] pybtkeyboard - PC keyboard as bluetooth keyboard for mobile - 2008-09-23, 14:11

Join Date: Jan 2004
Posts: 369
Location: Helsinki
Send a message via Skype™ to miohtama
miohtama's Avatar
miohtama
Offline
Regular Contributor
Thanks - this is great!

Any hopes we could get this application under PyS60 Community Edition project version control as an example application?


Mikko Ohtamaa
Twinapex Research
http://www.twinapex.com
Reply With Quote

#3 Old Re: [Announce] pybtkeyboard - PC keyboard as bluetooth keyboard for mobile - 2008-09-23, 14:36

Join Date: Sep 2005
Posts: 314
Location: Finland, Helsinki
aaaaapo
Offline
Regular Contributor
Quote:
Originally Posted by voidonic View Post
pybtkeyboard - PC keyboard as bluetooth keyboard for mobile
Is it possible to make this work on MacOsX or linux?
I didn't find pyblues or nucurses (typo? ncurses is available) for mac.
Reply With Quote

#4 Old Talking Re: [Announce] pybtkeyboard - PC keyboard as bluetooth keyboard for mobile - 2008-09-23, 14:48

Join Date: Jan 2004
Posts: 369
Location: Helsinki
Send a message via Skype™ to miohtama
miohtama's Avatar
miohtama
Offline
Regular Contributor
Quote:
Originally Posted by aaaaapo View Post
Is it possible to make this work on MacOsX or linux?
I didn't find pyblues or nucurses (typo? ncurses is available) for mac.
On both platforms, it should be possible. Putools bluetooth Python console works on them,


Mikko Ohtamaa
Twinapex Research
http://www.twinapex.com
Reply With Quote

#5 Old Re: [Announce] pybtkeyboard - PC keyboard as bluetooth keyboard for mobile - 2008-09-23, 18:26

Join Date: Feb 2008
Posts: 2,542
Location: Bhavnagar, Gujarat, India
Send a message via Yahoo to gaba88 Send a message via Skype™ to gaba88
gaba88's Avatar
gaba88
Offline
Forum Nokia Champion
hi voidonic
the new application seems very interesting will soon give a try.
It seems that you have a pool of python applications now.

Keep it up
Enjoy Pythoning
Gaba88


Gargi Das- http://gargidas.blogsot.com

Forum Nokia Python Wiki


Learn Python at http://mobapps.org/PyS60
Reply With Quote

#6 Old Re: [Announce] pybtkeyboard - PC keyboard as bluetooth keyboard for mobile - 2008-09-23, 20:14

Join Date: Feb 2005
Posts: 1,353
Location: Belgium (Europe)
cyke64's Avatar
cyke64
Offline
Super Contributor
Quote:
Originally Posted by gaba88 View Post
hi voidonic
the new application seems very interesting will soon give a try.
It seems that you have a pool of python applications now.

Keep it up
Enjoy Pythoning
Gaba88
YES

Recently many people have developed applications for using PC keyboard for S60 phones (last was YAK)

BR
Cyke64


pys60 1.4.5,1.9.7,pygame,PyS60 CE on E90 , N810 with Python 2.5.2 and ... last PyS60 1.9.7 with touch ui on 5800 !

pys60 extension modules on http://cyke64.googlepages.com/
Reply With Quote

#7 Old Re: [Update] pybtkeyboard - PC keyboard as bluetooth keyboard for mobile - 2008-09-25, 13:13

Join Date: Sep 2008
Posts: 9
voidonic
Offline
Registered User
Quote:
Originally Posted by aaaaapo View Post
Is it possible to make this work on MacOsX or linux?
I didn't find pyblues or nucurses (typo? ncurses is available) for mac.
Yes the above is possible. pybluez are here -> http://org.csail.mit.edu/pybluez, I think.

The following file from pybtkeyboard has been updated, it makes it easier to install and run without signing. A new sis file is included with the appropriate caps. Importing keypress should no longer fail.

http://pybtkeyboard.googlecode.com/f...hone0.1.tar.gz

-voidonic
Reply With Quote

#8 Old Re: [Announce] pybtkeyboard - PC keyboard as bluetooth keyboard for mobile - 2008-09-29, 04:46

Join Date: Feb 2008
Posts: 6
innocuo
Offline
Registered User
Quote:
Originally Posted by cyke64 View Post
YES

Recently many people have developed applications for using PC keyboard for S60 phones (last was YAK)

BR
Cyke64
yes, I'll be one more. When I started, I didn't know such an app already existed I just finished my keyboard app, but have some bugs I need to fix (still have some problems with a few keys, and threads).

I'm aiming only for the n95, which is my phone . It was a nice little project to learn python, but damn, I got so distracted...in the middle of the project I started to play around with the accelerometer module, twisted (module to create sockets servers on the pc), papervision3D in flash...etc, etc

Anyway, I hope I can release the code next week, though I'll have to check out this project as well to see if I can improve mine as well

I did mine with glade and gtk for the pc side, and tested it on maemo (on my n810) and it worked more or less fine.
Reply With Quote

#9 Old Re: [Announce] pybtkeyboard - PC keyboard as bluetooth keyboard for mobile - 2008-09-29, 17:59

Join Date: Nov 2006
Posts: 501
neil.young
Offline
Super Contributor
Where to get bluetooth from on PC?

Traceback (most recent call last):
File "btkeyboardpc.py", line 2, in <module>
import bluetooth
ImportError: No module named bluetooth
Reply With Quote

#10 Old Thumbs up Re: [Announce] pybtkeyboard - PC keyboard as bluetooth keyboard for mobile - 2008-09-29, 21:02

Join Date: Jan 2004
Posts: 369
Location: Helsinki
Send a message via Skype™ to miohtama
miohtama's Avatar
miohtama
Offline
Regular Contributor
Quote:
Originally Posted by neil.young View Post
Where to get bluetooth from on PC?

Traceback (most recent call last):
File "btkeyboardpc.py", line 2, in <module>
import bluetooth
ImportError: No module named bluetooth
http://org.csail.mit.edu/pybluez/

Python Bluetooth port can expose any number of serial devices on the host operating system. So you can also use:

http://pyserial.wiki.sourceforge.net/pySerial


Mikko Ohtamaa
Twinapex Research
http://www.twinapex.com
Reply With Quote

#11 Old Re: [Announce] pybtkeyboard - PC keyboard as bluetooth keyboard for mobile - 2008-09-29, 21:21

Join Date: Nov 2006
Posts: 501
neil.young
Offline
Super Contributor
PyBluez installed. Next hurdle:

Traceback (most recent call last):
File "btkeyboardpc.py", line 3, in <module>
import curses
File "C:\python25\lib\curses\__init__.py", line 15, in <module>
from _curses import *
ImportError: No module named _curses

Hmm...
Reply With Quote

#12 Old Re: [Announce] pybtkeyboard - PC keyboard as bluetooth keyboard for mobile - 2008-09-29, 21:49

Join Date: Jun 2005
Posts: 382
y.a.k
Offline
Regular Contributor
@voidonic

Hi, nice app. You can check mine out in this thread, it's called RemoteKB:
http://discussion.forum.nokia.com/fo...d.php?t=139220

I also had to modify the keypress module. You probably could just use mine as it also allows to simulate raw events. It would actually be a good idea not to fork it anymore.

Mine was announced in the following thread:
http://discussion.forum.nokia.com/fo...d.php?t=138698
Reply With Quote

#13 Old Re: [Announce] pybtkeyboard - PC keyboard as bluetooth keyboard for mobile - 2008-09-30, 06:30

Join Date: Jan 2004
Posts: 369
Location: Helsinki
Send a message via Skype™ to miohtama
miohtama's Avatar
miohtama
Offline
Regular Contributor
Quote:
Originally Posted by neil.young View Post
PyBluez installed. Next hurdle:

Traceback (most recent call last):
File "btkeyboardpc.py", line 3, in <module>
import curses
File "C:\python25\lib\curses\__init__.py", line 15, in <module>
from _curses import *
ImportError: No module named _curses

Hmm...
Any luck with Google?


Mikko Ohtamaa
Twinapex Research
http://www.twinapex.com
Reply With Quote

#14 Old Re: [Announce] pybtkeyboard - PC keyboard as bluetooth keyboard for mobile - 2008-09-30, 09:25

Join Date: Nov 2006
Posts: 501
neil.young
Offline
Super Contributor
No, didn't try that by now.
Reply With Quote

#15 Old Re: [Announce] pybtkeyboard - PC keyboard as bluetooth keyboard for mobile - 2008-09-30, 14:07

Join Date: Mar 2003
Posts: 937
Location: Espoo, Finland
JOM's Avatar
JOM
Offline
Forum Nokia Champion
Quote:
Originally Posted by neil.young View Post
No, didn't try that by now.
Curses is basically ASCII graphics with some control chars, too. I would guess anything done with curses would pretty bad on S60 device Here's a checkbox for you:

Code:
T---T
I x I
L---J
Ex-curses user,

--jouni
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
9500 and the SU-8W Bluetooth keyboard. gotan General Discussion 1 2006-11-10 19:22
How to use a 6820 as a Bluetooth keyboard pbasch Bluetooth Technology 2 2006-09-13 11:30
PC as bluetooth keyboard mrm1 Bluetooth Technology 2 2005-04-14 21:31
microsoft bluetooth keyboard and 6230 jlb85 General Discussion 3 2004-02-02 17:33
7650 and MS Bluetooth Transceiver damnedi Bluetooth Technology 1 1970-01-01 02:00

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia