Netsurf
#1
Posted 08 September 2011 - 09:24 PM
here is a first port of netsurf for testing.
Onscreen keyboard is available in the lower-right corner (tiny keyboard image).
You have to click first in the input field where the input should appear before inserting text.
That's buggy atm as the inserted text is not visible .. but it works.
#2
Posted 08 September 2011 - 09:33 PM
i will try it immediately!!!!
thanks you!
ps: can you host this test on another file sharing site? i have problems with uploaded
EIDT2: i tested it, so i found a lot of problems:
first: when you tap on the onscreen keyboard you don't see what you are writing;
second: it don't display the images, but i think you can't do anything, is the browser directely
third: can you use too the caanoo controls like the ABYX bottons or the analogic stick? will be more easy to manage the web pages: for help i think in caanoo browser from rikku2000 will be some trick to enamble them
Edited by kayuz, 08 September 2011 - 10:11 PM.
#3
Posted 09 September 2011 - 07:11 AM
Thx for testing and reporting + link.THANKS!!! GUY THANKS!!
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
i will try it immediately!!!!
thanks you!
ps: can you host this test on another file sharing site? i have problems with uploaded![]()
EIDT2: i tested it, so i found a lot of problems:
first: when you tap on the onscreen keyboard you don't see what you are writing;
second: it don't display the images, but i think you can't do anything, is the browser directely![]()
third: can you use too the caanoo controls like the ABYX bottons or the analogic stick? will be more easy to manage the web pages: for help i think in caanoo browser from rikku2000 will be some trick to enamble themhttp://dl.openhandhe...0,0,0,0,112,509
Can you recommend another free file sharing site ?
I'll try to fix all the problems in the next few days.
#4
Posted 09 September 2011 - 07:21 AM
Great idea, man!
=)
#5
Posted 09 September 2011 - 07:23 AM
Roberto.
#6
Posted 09 September 2011 - 08:05 AM
thanks you so much for listened my report, hope to see all fixed
EDIT: i add in wikipedia that Netsurf is avaible on the caanoo.
second i host your test on mediafire
Edited by kayuz, 09 September 2011 - 02:50 PM.
#7
Posted 09 September 2011 - 11:35 PM
at all thanx for port
#8
Posted 10 September 2011 - 04:01 AM
#10
Posted 10 September 2011 - 06:31 PM
i wait spasmodly the next test
thanks scachi
EDIT.
so, i try it and there are my suggestions for the next version:
- add some more features.. like Favorites.. i don't know if there are already enambled in the original browser.
- is impossible to enamble flash or javascrips...(i don't want anything
- and naturally the CAANOO controls
anway great work, guy
Edited by kayuz, 10 September 2011 - 07:12 PM.
#11
Posted 11 September 2011 - 08:56 AM
#12
Posted 11 September 2011 - 03:11 PM
Keep working... the way it is is already the best browser for Caanoo.
Luo=-_
#13
Posted 11 September 2011 - 07:40 PM
#14
Posted 11 September 2011 - 08:28 PM
#15
Posted 12 September 2011 - 10:24 AM


The code is not the best way but it works for me.
Code:
SDL_Joystick *joy;
/* Virtual Keyboard Init */
int virtual_keyboard_open; // If its 1 then open the Virtual Keyboard
int virtual_keyboard_shift = 0; // If its 1 then use the SHIFT keys
int virtual_keyboard_init;
int virtual_keyboard_x = 51;
int virtual_keyboard_y = 147;
const SDLKey virtual_keyboard_array1[] = {
SDLK_q, SDLK_w, SDLK_e, SDLK_r, SDLK_t, SDLK_y, SDLK_u, SDLK_i, SDLK_o, SDLK_p,
SDLK_a, SDLK_s, SDLK_d, SDLK_f, SDLK_g, SDLK_h, SDLK_j, SDLK_k, SDLK_l, SDLK_COMMA,
SDLK_z, SDLK_x, SDLK_c, SDLK_v, SDLK_b, SDLK_n, SDLK_m, SDLK_PERIOD, SDLK_BACKSPACE, SDLK_RETURN
};
const SDLKey virtual_keyboard_array2[] = {
SDLK_1, SDLK_2, SDLK_3, SDLK_4, SDLK_5, SDLK_6, SDLK_7, SDLK_8, SDLK_9, SDLK_0,
SDLK_HASH, SDLK_SEMICOLON, SDLK_PLUS, SDLK_ASTERISK, SDLK_DOLLAR, SDLK_CARET, SDLK_EQUALS, SDLK_QUOTEDBL, SDLK_BACKSLASH, SDLK_AMPERSAND,
SDLK_QUOTEDBL, SDLK_EXCLAIM, SDLK_QUESTION, SDLK_SLASH, SDLK_MINUS, SDLK_UNDERSCORE, SDLK_COLON, SDLK_AT, SDLK_BACKSPACE, SDLK_RETURN
};
void push_key( SDLKey key ) {
SDL_Event e;
memset(&e.key.keysym, 0, sizeof(e.key.keysym));
e.key.keysym.sym = key;
e.key.keysym.unicode = key;
e.key.state = SDL_RELEASED;
e.type = SDL_KEYDOWN;
SDL_PushEvent(&e);
e.type = SDL_KEYUP;
SDL_PushEvent(&e);
}
int o_x, o_y; // Virtual Mousejoy = SDL_JoystickOpen(0);
case SDL_JOYAXISMOTION:
if (virtual_keyboard_open == 0)
if (SDL_JoystickGetAxis(joy, 1) < -16384) {
push_key(SDLK_UP);
} else if (SDL_JoystickGetAxis(joy, 0) < -16384) {
push_key(SDLK_LEFT);
} else if (SDL_JoystickGetAxis(joy, 1) > 16384) {
push_key(SDLK_DOWN);
} else if (SDL_JoystickGetAxis(joy, 0) > 16384) {
push_key(SDLK_RIGHT);
}
break;
case SDL_JOYBUTTONDOWN:
if(SDL_JoystickGetButton(joy, 0)) {
push_key(SDLK_RETURN);
} else if(SDL_JoystickGetButton(joy, 1)) {
} else if(SDL_JoystickGetButton(joy, 2)) {
} else if(SDL_JoystickGetButton(joy, 3)) {
push_key(SDLK_t);
} else if(SDL_JoystickGetButton(joy, 4)) {
} else if(SDL_JoystickGetButton(joy, 5)) {
} else if(SDL_JoystickGetButton(joy, 6)) {
if (virtual_keyboard_open == 0)
push_key(SDLK_ESCAPE);
} else if(SDL_JoystickGetButton(joy, 7)) {
} else if(SDL_JoystickGetButton(joy, 8)) {
if (virtual_keyboard_open == 0) {
virtual_keyboard_open = 1;
virtual_keyboard_shift = 0;
} else if (virtual_keyboard_open == 1)
virtual_keyboard_open = 0;
} else if(SDL_JoystickGetButton(joy, 9)) {
if (virtual_keyboard_open == 1)
if (virtual_keyboard_shift == 0)
virtual_keyboard_shift = 1;
else if (virtual_keyboard_shift == 1)
virtual_keyboard_shift = 0;
} else if(SDL_JoystickGetButton(joy, 10)) {
}
break;
case SDL_JOYBUTTONUP:
break;
case SDL_MOUSEBUTTONDOWN:
if (virtual_keyboard_open == 0) {
} else if (virtual_keyboard_open == 1) {
for(virtual_keyboard_init = 0; virtual_keyboard_init < 29; virtual_keyboard_init++) {
if (virtual_keyboard_shift == 0) {
if (o_x + (10) > virtual_keyboard_x && o_x < virtual_keyboard_x + (10) && o_y + (16) > virtual_keyboard_y && o_y < virtual_keyboard_y + (16))
push_key(virtual_keyboard_array1[virtual_keyboard_init]);
} else if (virtual_keyboard_shift == 1) {
if (o_x + (10) > virtual_keyboard_x && o_x < virtual_keyboard_x + (10) && o_y + (16) > virtual_keyboard_y && o_y < virtual_keyboard_y + (16))
push_key(virtual_keyboard_array2[virtual_keyboard_init]);
}
virtual_keyboard_x += 24;
if (virtual_keyboard_x == 291) {
virtual_keyboard_y += 37;
virtual_keyboard_x = 51;
}
}
}
break;
case SDL_MOUSEBUTTONUP:
if (virtual_keyboard_open == 0) {
} else if (virtual_keyboard_open == 1) { // Set Virtual Keyboard default
virtual_keyboard_x = 51; virtual_keyboard_y = 147;
}
break;
case SDL_MOUSEMOTION:
if (virtual_keyboard_open == 0) {
} else if (virtual_keyboard_open == 1) {
o_x = event.motion.x;
o_y = event.motion.y;
}
break;
Edited by Rikku2000, 12 September 2011 - 10:27 AM.











