04-08-2012, 04:15 PM | #16 | |
Connoisseur
Posts: 64
Karma: 7786
Join Date: Jan 2012
Device: Kobo Touch
|
Quote:
|
|
04-08-2012, 04:22 PM | #17 | |
Addict
Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
|
Quote:
The pygame plugin doesn't do anything at boot. I've really only added a few lines to your tweak's code. And my Touch no longer shows a green light. Apparently it's done "charging." |
|
Advert | |
|
10-24-2012, 02:36 PM | #18 |
Junior Member
Posts: 4
Karma: 10
Join Date: Oct 2012
Device: Kobo touch
|
That's great! I also managed to get python running in the kobo touch. My approach was to take the necessary arm debian packages to have a fully working interpreter:
Code:
libncurses5_5.7+20081213-1_armel.deb libncursesw5_5.7+20081213-1_armel.deb libreadline5_5.2-3.1_armel.deb python2.5_2.5.2-15+lenny1_armel.deb python2.5-minimal_2.5.2-15+lenny1_armel.deb python-minimal_2.5.2-3_all.deb readline-common_5.2-3.1_all.deb |
10-24-2012, 04:08 PM | #19 | |
Addict
Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
|
Quote:
For anyone using pygame on the Touch (maybe on the Glo and Mini too?), you might be able to get pygame to recognize the touch screen as a mouse input if you export the environment variable SDL_MOUSEDEV before running your script: Code:
export SDL_MOUSEDEV=/dev/input/event1 |
|
Tags |
game, hack, kobo touch, pygame, python |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Running python recipes standonlone on hosted webserver | oecherprinte | Calibre | 6 | 08-03-2011 05:30 PM |
Kindle 3, Nook Simple Touch, Kobo Touch and Libra Pro Touch | jbcohen | Which one should I buy? | 4 | 06-18-2011 08:58 PM |
The Idiot's Guide to running Igorsk's Python Scripts | Nate the great | Workshop | 9 | 05-22-2010 01:17 PM |