Does netsurf use our sdl ?erdem_ua wrote:aquadran, TV does not recognize my keyboard's "enter" key. I used with Net Surf program. Or the program does not support the enter key? :p
I think it's good to have a SDL utility that for wrapper for telnet utility. Using telnet withn TV itself, without computer
SamyGO Mouse and Keyboard extension
Re: SamyGO Mouse and Keyboard extension
Re: SamyGO Mouse and Keyboard extension
Hi,
I'm not author of NetSurf for Samy but from binary can say that it uses static SDL library from SamyGO sourceforge download page. I built NetSurf with this library too, but abandoned this idea because for full featured browsing it lacks a lot of features.
What I noticed in static SDL library regarding mouse and keyboard extensions that this version of SDL not exposes and uses SDL_KeyboardEvent (SDL_MouseMotionEvent, SDL_MouseButtonEvent) structure field witch - it should indicate input device index, using it we could identify source device in client programs and react as we need. And with current SDL library remote Enter button comes to client as "z" key on attached keyboard and there is no way to recognize is this "z" key on fully featured keyboard or just Enter button on remote.
Happy hacking
I'm not author of NetSurf for Samy but from binary can say that it uses static SDL library from SamyGO sourceforge download page. I built NetSurf with this library too, but abandoned this idea because for full featured browsing it lacks a lot of features.
What I noticed in static SDL library regarding mouse and keyboard extensions that this version of SDL not exposes and uses SDL_KeyboardEvent (SDL_MouseMotionEvent, SDL_MouseButtonEvent) structure field witch - it should indicate input device index, using it we could identify source device in client programs and react as we need. And with current SDL library remote Enter button comes to client as "z" key on attached keyboard and there is no way to recognize is this "z" key on fully featured keyboard or just Enter button on remote.
Happy hacking

Re: SamyGO Mouse and Keyboard extension
so not help from me hereantapetr wrote:Hi,
I'm not author of NetSurf for Samy but from binary can say that it uses static SDL library from SamyGO sourceforge download page. I built NetSurf with this library too, but abandoned this idea because for full featured browsing it lacks a lot of features.
What I noticed in static SDL library regarding mouse and keyboard extensions that this version of SDL not exposes and uses SDL_KeyboardEvent (SDL_MouseMotionEvent, SDL_MouseButtonEvent) structure field witch - it should indicate input device index, using it we could identify source device in client programs and react as we need. And with current SDL library remote Enter button comes to client as "z" key on attached keyboard and there is no way to recognize is this "z" key on fully featured keyboard or just Enter button on remote.
Happy hacking
- erdem_ua
- SamyGO Admin
- Posts: 3126
- Joined: Thu Oct 01, 2009 6:02 am
- Location: Istanbul, Turkey
- Contact:
Re: SamyGO Mouse and Keyboard extension
Couldn't we use original SDL lib from SVN on this TV?
Just pull it from svn and compile statically with NetSurf app?
Just pull it from svn and compile statically with NetSurf app?
Re: SamyGO Mouse and Keyboard extension
I think there is a startup script you can edit within the patched firmware. The extension could be run from there.a-o wrote:how do you let this extension automatically run when the TV is turned on?
Wouldn't you still need to run the application using the keyboard?
-
- Official SamyGO Developer
- Posts: 1700
- Joined: Fri Oct 02, 2009 8:52 am
- Location: Austria/Vienna (no Kangaroos here)
- Contact:
Re: SamyGO Mouse and Keyboard extension
you can start the Extensions from boot partition: http://forum.samygo.tv/viewtopic.php?f=2&t=68&start=0a-o wrote:Do you have any further details about this? I cannot find it.jw1001 wrote:I think there is a startup script you can edit within the patched firmware. The extension could be run from there.
...
and this way you can also brick you tv, so think twice before you try this.
arris
-
- Official SamyGO Developer
- Posts: 1700
- Joined: Fri Oct 02, 2009 8:52 am
- Location: Austria/Vienna (no Kangaroos here)
- Contact:
Re: SamyGO Mouse and Keyboard extension
simple boot process:a-o wrote:Well, I certainly do not want to start any applications from the boot partition (and thus avoid bricking my TV), but I would like some hint where this startup script is located or how it is called (because its location may differ from model to model?).
Greetings to Austria and its 'Roos.
Code: Select all
kernel started from memory -> search for init
if init found:
init read /etc/inittab -> execute sysinit script (/etc/rcS)
from /etc/rcS -> /etc/rc.local -> mount boot partition
if success start /mtd_boot/rc.local -> /mtd_exe/rc.local
from /mtd_exe/rc.local -> start exeDSP

so feel free edit one of them

with samygo firmware patcher a script from /mtd_rwarea will be called, but you have to create this script manualy. (hint: wiki)
hth
arris