11-28-2012, 08:27 AM | #181 |
Wizard
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
In fact I'm always very happy when someone takes work from me to the next level. So I'm not the least annoyed. I just lost track on where you were heading.
|
11-28-2012, 09:38 AM | #182 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Ah. Okay. Abandoned sound for now. till I get a libasound.a that doesn't blow up
Adding TS code. Got some debug output. Currently have an issue where the graphics get trashed when I change the Quote:
But I'm working on it Thanks. |
|
11-28-2012, 10:51 AM | #183 |
Wizard
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
Funny, I don't see where this could blow up the graphics... Except, of course, timing issues. Note that all file descriptors must be opened non-blocking, which is different from the default when opening files (and device nodes).
|
11-28-2012, 11:27 AM | #184 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Got some input working now... later 2 posts
Spoiler:
Last edited by twobob; 11-28-2012 at 02:01 PM. Reason: added almost complete version. |
11-28-2012, 11:44 AM | #185 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Issues with casting
Spoiler:
Last edited by twobob; 11-28-2012 at 01:09 PM. |
11-28-2012, 12:05 PM | #186 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
ah phooey. Will just abandon trying to make it work on both devices for now.
Will revisit when I get my head round if I can read from the buffer twice. or reading into a temp location. or something. will concentrate on the TS implementation. |
11-28-2012, 02:01 PM | #187 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
okay. I have some input working now. will expand on it.
This more or less works, with a few issues. need to send the right Key RELEASE codes I think to stop the infinite Joy Direction repeat. But essentially working (other than that show-stopping niggle) Spoiler:
Last edited by twobob; 11-28-2012 at 07:04 PM. Reason: && not & |
11-28-2012, 05:19 PM | #188 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
okay... so there are obviously a few inconsistencies in the way a TS and a button work.
Basically it would seem I need to stuff a EV_RELEASE into the relevant code after an instance/sequence of EV_PRESS since they are very often not posted. I suspect my TS logic is flawed (I was hoping to just post back two events in the same "while" loop but that seems to not work) but yeah. I have it working from the TS . all buttons accounted for. just need to control the flood a but more |
11-28-2012, 07:44 PM | #189 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Hmm any clues on how to "fake" a button press...
My events aren't neatly triggering Pressed / Unpressed. I need to tidy them up... Perhaps I should query the event queue contents and insert something there? As Hawhill pointed out before, I'm not 100% what is the right solution to this issue. Reticent to smear the thread with more ideas. Input gratefully accepted : ) EDIT: Added screenie of the files involved in the events chain for the next poor soul I WILL find a place to emulate a click! Last edited by twobob; 11-28-2012 at 08:48 PM. |
11-29-2012, 01:27 AM | #190 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
hmm hacked together something using Xephyr. need to dither it...
Last edited by twobob; 11-29-2012 at 01:33 AM. |
12-07-2012, 09:55 PM | #191 | |
Connoisseur
Posts: 52
Karma: 23642
Join Date: Oct 2011
Device: K3 3G
|
Hello All
Perhaps one of you nice fellows could help me please? Just when I was due to go to sleep early tonight, I came across this awesome kindlet (or app - not sure of the correct terminology?)! Well that was about 2 hours ago now, read through the whole thread several times and still haven't got this running yet! Running W7, so on root I have the following.... fbgnuboy [Dir] >roms [Dir] >fbgnuboy >gb-flash.jpg >rungame rungame is script from post #145. In launchpad I have... fbgnuboy.ini ...which reads... Quote:
Thank you Last edited by jackhulk; 12-07-2012 at 10:04 PM. |
|
12-07-2012, 09:58 PM | #192 |
Official Lurker
Posts: 1,050
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
|
can you elaborate on "fails"?
you might need to press shift shift space before pressing shift g b |
12-07-2012, 10:01 PM | #193 |
Connoisseur
Posts: 52
Karma: 23642
Join Date: Oct 2011
Device: K3 3G
|
Sorry, launchpad is running and when I enter G B which is registered, launchpad states 'Failure.'
|
12-07-2012, 10:02 PM | #194 |
Connoisseur
Posts: 52
Karma: 23642
Join Date: Oct 2011
Device: K3 3G
|
Please delete this post.
Last edited by jackhulk; 12-07-2012 at 10:03 PM. Reason: Hit wrong button, I was trying to edit prev post. |
12-07-2012, 10:06 PM | #195 |
Official Lurker
Posts: 1,050
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
|
Errrr do you have roms in the roms folder? that's the only thing I can think of, you'll just have to wait for twobob or someone more knowledgeable to come help i guess...
do you have USBnet installed? do you know how to use it? |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle VNC viewer (native app, GPLv2) | hawhill | Kindle Developer's Corner | 531 | 12-11-2020 02:55 PM |
Gameboy emulator on PE | bunodosoma | enTourage eDGe | 2 | 11-16-2011 08:19 PM |
Gameboy screen | bookmeal | General Discussions | 7 | 10-03-2011 02:40 PM |
software suggestion: virtualboy(gameboy emulator) | arfarf624 | Kindle Developer's Corner | 3 | 07-27-2011 05:06 AM |
Free (GPLv2) Translation Dictionaries | Elleo | Amazon Kindle | 3 | 01-11-2011 10:57 PM |