Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 10-05-2012, 03:58 PM   #121
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
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
Quote:
Originally Posted by hippy dave View Post
i tried tetris, i can move the selection between "1 player" and "2 player" using the fiveway left&right, but can't press start to get any further. it just went into demo mode tho and looks like it runs really well.


SNIP
.
You want the z button mate. IIRC for tetris (in fact most of them IIRC)
twobob is offline   Reply With Quote
Old 10-05-2012, 04:02 PM   #122
hippy dave
Zealot
hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.
 
Posts: 124
Karma: 178472
Join Date: Jul 2012
Device: Kindle 4
what's a z button?
hippy dave is offline   Reply With Quote
Old 10-05-2012, 04:05 PM   #123
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
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
whatever the keycode for z is on a 3. thats the code that should be mapped to the input of the game via whatever button you push to generate it.

How you achieve that is beyond the scope of this tip

EDIT: Although I think possibly simply (MIS)using your map codes would do the job

Last edited by twobob; 10-05-2012 at 04:06 PM. Reason: misuse
twobob is offline   Reply With Quote
Old 10-05-2012, 04:09 PM   #124
hippy dave
Zealot
hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.
 
Posts: 124
Karma: 178472
Join Date: Jul 2012
Device: Kindle 4
interesting thought, thanks. heading out now so may revisit later.
hippy dave is offline   Reply With Quote
Old 10-05-2012, 04:43 PM   #125
Lydovig
Zealot
Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.
 
Posts: 106
Karma: 105764
Join Date: Aug 2012
Device: kindle touch
Quote:
Originally Posted by twobob View Post
./gameboy.sh
It works. And it would be good to make friends emulator and virtual keyboard.

Last edited by Lydovig; 10-05-2012 at 04:56 PM.
Lydovig is offline   Reply With Quote
Old 10-05-2012, 09:25 PM   #126
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
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
There is the basic stuff you will need on the mplayer gui thread.

Grab that code. look though it. replace mplayer with gnuboy, strip logic, remap locations on screen to keycodes, inject to gnuboy, service both threads.

should suffice.

Let's have it
twobob is offline   Reply With Quote
Old 10-06-2012, 01:31 AM   #127
Lydovig
Zealot
Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.Lydovig shapes the world with his or her thoughts.
 
Posts: 106
Karma: 105764
Join Date: Aug 2012
Device: kindle touch
twobob

thanks
Lydovig is offline   Reply With Quote
Old 10-06-2012, 08:53 AM   #128
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
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
yep.

In essence (for those interested) the Touchscreen can be managed by the bits in the following code I haven't commented out.

More or less with a bit of tidy up this is a decent framework. The update thread would probably need welding into the emulator. I would imagine.

There an undoubtedly many ways to skin this problem, I am just trying to point people to working references that can be amended rather than expecting them to "get it all" at once. I prefer myself to see working code and learn from that.
Hope that helps, rather than hinders.

Spoiler:
Quote:
//compile with whatever YourName -lpthread
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/mman.h>
#include <pthread.h>
#include <string.h>

#define WIDTH 600
#define HEIGHT 800
#define STRIDE 608

//#define FRAME_BUFFER "/dev/fb0"
#define TOUCH_SCREEN "/dev/input/event3"

#define PAUSE_FRAMEWORK "killall -STOP Xorg cvm"
#define RESUME_FRAMEWORK "killall -CONT cvm Xorg"

#define UP 0
#define DOWN 1

#define BUFFER_SIZE PIPE_BUF
#define MESSAGE_SIZE 5000
#define NAME_SIZE 256

char buf[10240];
//const char* FIFO = "/tmp/mpgui.fifo";
//int client_fifo_fd = 0;

void update(int refresh);
//void draw_grid(unsigned char *frame_buffer);
void check(int x, int y);

void *update_thread(void *running) {
while (*(int *) running) {
//update(0);
// memset(buf, 0, sizeof buf);
// int res = read(client_fifo_fd, &buf, sizeof(buf));
// if (res > 0) {
// printf("%s", buf);
// if (strstr(buf, "Playing")) {
// system("/mnt/us/extensions/mplayer/mplayer.sh mute");
// }
// }
usleep(1000000 / 60);
}

// to stop warnings only...
return *running;
}

int main(int argc, char **argv) {
// int frame_buffer_fd = 0;
int touch_screen_fd = 0;
// unsigned char *frame_buffer = NULL;
unsigned char event_buffer[16];

/* First finger variables */
int finger = UP;
int x = 300;
int y = 400;

/* Second finger variables */
int finger2 = UP;
int x2 = 0;
int y2 = 0;
int f2_mode = 0;

int i = 0;
int j = 0;

/* Threads */
pthread_t updater = 0;
int running = 1;

int sync = 0;

/* Pause the Kindle framework */
system(PAUSE_FRAMEWORK);

/* Open files related to the screen */
// frame_buffer_fd = open(FRAME_BUFFER, O_RDWR);
// if (frame_buffer_fd == -1) {
// fprintf(stderr, "Error: Could not open frame buffer.\n");
// exit(EXIT_FAILURE);
// }
// frame_buffer = mmap(0, STRIDE * HEIGHT, PROT_READ | PROT_WRITE, MAP_SHARED,
// frame_buffer_fd, 0);
touch_screen_fd = open(TOUCH_SCREEN, O_RDONLY);
if (touch_screen_fd == -1) {
fprintf(stderr, "Error: Could not open touch screen.\n");
exit(EXIT_FAILURE);
}
//
// /* Draw a background */
// draw_grid(frame_buffer);
// update(1);
//
// system("rm /tmp/mpgui.fifo");
// if (mkfifo(FIFO, 0777) == -1) {
// fprintf(stderr, "Sorry, create fifo failure!/n");
// exit(EXIT_FAILURE);
// }
// client_fifo_fd = open(FIFO, O_RDONLY | O_NONBLOCK);
// if (client_fifo_fd == -1) {
// fprintf(stderr, "Sorry, fifo open failure!/n");
// exit(EXIT_FAILURE);
// }
pthread_create(&updater, NULL, update_thread, (void *) &running);
/* Loop through touch screen input, writing pretty things to the screen */
while (1) {
read(touch_screen_fd, event_buffer, 16);
if (event_buffer[0x08] == 0x03) {
switch (event_buffer[0x0A]) {
case 0x2F:
/* When f2_mode is nonzero, data is treated as being for
the second finger */
f2_mode = event_buffer[0x0C];
break;
case 0x35:
/* X Coordinate change */
if (!f2_mode) {
x = (WIDTH
* (event_buffer[0x0C] + (event_buffer[0x0D] << 8)))
/ 0x1000;
} else {
x2 = (WIDTH
* (event_buffer[0x0C] + (event_buffer[0x0D] << 8)))
/ 0x1000;
}
break;
case 0x36:
/* Y Coordinate change */
if (!f2_mode) {
y = (HEIGHT
* (event_buffer[0x0C] + (event_buffer[0x0D] << 8)))
/ 0x1000;
} else {
y2 = (HEIGHT
* (event_buffer[0x0C] + (event_buffer[0x0D] << 8)))
/ 0x1000;
}
break;
case 0x39:
/* Finger up / down */
if (event_buffer[0x0C] == 0x00) {
finger = DOWN;
} else if (event_buffer[0x0C] == 0x01) {
finger2 = DOWN;
} else {
if (finger2 == DOWN) {
finger2 = UP;
} else {
finger = UP;
}

}
break;
default:
break;
}
}
if (event_buffer[0x08] == 0x00) {
sync = 1;
}

if (sync) { /* We have recieved a sync */

/* If finger 1 is down, draw for it */
if (finger == DOWN) {
if (finger2 == UP) {

}
}

/* Fingers are up. Did we just push exit / clear? */
if (finger == UP) { /* Release your finger in the top right to exit */
if (x > 500 && y < 100) {
printf("Exiting.\n");
break;
}
if (x < 100 && y < 100) { /* Release your finger in the top left
to clear the screen */
// draw_grid(frame_buffer);
x = 300;
y = 400;

}
check(x, y);
}
}
sync = 0;
}

for (y = 0; y < HEIGHT; y++) {
for (x = 0; x < WIDTH; x++) {
// frame_buffer[x + STRIDE * y] = 255;
}
}
update(1);

running = 0;
pthread_join(updater, NULL );

// munmap(frame_buffer, STRIDE * HEIGHT);
// close(frame_buffer_fd);
// close(client_fifo_fd);
// unlink(FIFO);

/* Resume the Kindle framework */

system("lipc-send-event com.lab126.powerd.debug dbg_power_button_pressed");
system(RESUME_FRAMEWORK);
return EXIT_SUCCESS;
}

void update(int refresh) {
if (refresh) {
system("eips -f ''");
} else {
system("eips ''");
}
}

//void draw_rec(unsigned char *frame_buffer, int x1, int x2, int y1, int y2) {
// int x, y;
// for (y = y1; y < y2; y++) {
// frame_buffer[x1 + STRIDE * y] = 0;
// frame_buffer[x2 - 1 + STRIDE * y] = 0;
// }
// for (x = x1; x < x2; x++) {
// frame_buffer[x + STRIDE * y1] = 0;
// frame_buffer[x + STRIDE * (y2 - 1)] = 0;
// }
//}

//void draw_grid(unsigned char *frame_buffer) {
// int x = 0;
// int y = 0;
// for (y = 0; y < HEIGHT; y++) {
// for (x = 0; x < WIDTH; x++) {
// frame_buffer[x + STRIDE * y] = 255;
// }
// }
// draw_rec(frame_buffer, 0, 100, 0, 100);
// system("eips 1 2 Refresh");
// draw_rec(frame_buffer, 500, 600, 0, 100);
// system("eips 43 2 Close");
// draw_rec(frame_buffer, 0, 600, 0, 100);
// system("eips 19 2 'MPlayer GUI'");
//
// draw_rec(frame_buffer, 50, 250, 140, 200);
// system("eips 8 8 Playall");
// draw_rec(frame_buffer, 50, 250, 220, 280);
// system("eips 8 12 Playrand");
// draw_rec(frame_buffer, 50, 250, 300, 360);
// system("eips 8 16 Pause");
// draw_rec(frame_buffer, 50, 250, 380, 440);
// system("eips 8 20 Stop");
// draw_rec(frame_buffer, 50, 250, 460, 520);
// system("eips 8 24 VolDown");
// draw_rec(frame_buffer, 350, 550, 140, 200);
// system("eips 34 8 Prev");
// draw_rec(frame_buffer, 350, 550, 220, 280);
// system("eips 34 12 Next");
// draw_rec(frame_buffer, 350, 550, 300, 360);
// system("eips 34 16 Speed");
// draw_rec(frame_buffer, 350, 550, 380, 440);
// system("eips 34 20 Rewind");
// draw_rec(frame_buffer, 350, 550, 460, 520);
// system("eips 34 24 VolUp");
// system("eips 23 24 `cat /mnt/us/extensions/mplayer/volume`");
//}

void check(int x, int y) {
if (x >= 50 && x <= 250 && y >= 140 && y <= 200) {
system("/mnt/us/extensions/mplayer/mplayer.sh playall");
}
if (x >= 50 && x <= 250 && y >= 220 && y <= 280) {
system("/mnt/us/extensions/mplayer/mplayer.sh playrand");
}
if (x >= 50 && x <= 250 && y >= 300 && y <= 360) {
system("/mnt/us/extensions/mplayer/mplayer.sh pause");
}
// if (x >= 50 && x <= 250 && y >= 380 && y <= 440)
// system("/mnt/us/extensions/mplayer/mplayer.sh stop");
// if (x >= 50 && x <= 250 && y >= 460 && y <= 520) {
// system("/mnt/us/extensions/mplayer/mplayer.sh voldn");
// system("eips 23 24 `cat /mnt/us/extensions/mplayer/volume`");
// }
// if (x >= 350 && x <= 550 && y >= 140 && y <= 200) {
// system("/mnt/us/extensions/mplayer/mplayer.sh prev");
// }
// if (x >= 350 && x <= 550 && y >= 220 && y <= 280) {
// system("/mnt/us/extensions/mplayer/mplayer.sh next");
// }
// if (x >= 350 && x <= 550 && y >= 300 && y <= 360) {
// system("/mnt/us/extensions/mplayer/mplayer.sh speed");
// }
// if (x >= 350 && x <= 550 && y >= 380 && y <= 440) {
// system("/mnt/us/extensions/mplayer/mplayer.sh rewind");
// }
// if (x >= 350 && x <= 550 && y >= 460 && y <= 520) {
// system("/mnt/us/extensions/mplayer/mplayer.sh volup");
// system("eips 23 24 `cat /mnt/us/extensions/mplayer/volume`");
// }

}

Last edited by twobob; 10-06-2012 at 08:55 AM. Reason: why...
twobob is offline   Reply With Quote
Old 10-06-2012, 09:50 AM   #129
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
/dev/input/event3 should not be assumed. The event number depends on whether you boot main or diags, and which firmware version you are running. It is better to poll the devices to search for the one for the device name you want to use.
geekmaster is offline   Reply With Quote
Old 10-06-2012, 10:02 AM   #130
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
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
Thanks for tip. I do not have the "problem" of entering and testing in DIAGS as my kindle 5 B011 is Sshphobic. It won't play ball so sadly I can not help with this tip.

However as GM said in diags the input would be different. exactly how different I have no idea. but different.
twobob is offline   Reply With Quote
Old 10-06-2012, 01:12 PM   #131
hippy dave
Zealot
hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.
 
Posts: 124
Karma: 178472
Join Date: Jul 2012
Device: Kindle 4
argh, i foolishly hoped i could patch the emulator binary to change the keycodes... foiled by a jump table
hippy dave is offline   Reply With Quote
Old 10-07-2012, 10:52 AM   #132
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
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
was worth a try
twobob is offline   Reply With Quote
Old 10-07-2012, 11:39 AM   #133
hippy dave
Zealot
hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.hippy dave can program the VCR without an owner's manual.
 
Posts: 124
Karma: 178472
Join Date: Jul 2012
Device: Kindle 4
i even spent time staring at the disassembly, to figure out how the jump table worked, and was all set to hex edit the crap out of it when i discovered that the necessary values were outside the bounds of the table.
hippy dave is offline   Reply With Quote
Old 10-07-2012, 11:45 AM   #134
hawhill
Wizard
hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.
 
hawhill's Avatar
 
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
I think over the next 1-2 days I should be able to include something configurable. Maybe I'll use my preferred "config file parser" engine again - Lua. I could also provide hooks for program start & stop then plus a hook for screen updates, so adapting it to other platforms would be feasible then. More flexibility on the input side would be possible - like handling the touch screen. Let's see if I can find the time and how it will work out...
hawhill is offline   Reply With Quote
Old 10-07-2012, 11:47 AM   #135
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
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 just went off and looked at a picture of a k4.
I think that a more simple method will probably rear it's head if you hunt about.
The < and > buttons must surely be mappable to keycodes that the app would expect.

Where does it dump those events, IS IT THE SAME PLACE AS THE FIVEWAY? if not it's probably not working because it's only servicing one event folder. at that point I would attempt to make the Click of the 5 way the right event(that would be my first thought)

IF IT IS in the same events location: I would tweak those codes to be the same as the output of the z on 3 and see what happens. perhaps we could find out what that is. That would probably help.
twobob is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 07:21 PM.


MobileRead.com is a privately owned, operated and funded community.