[fpc-pascal]SVGALib+Keyboard, help plz!
Marco van de Voort
marcov at stack.nl
Wed Jul 4 11:16:41 CEST 2001
> Hi all,
>
> has anyone a working example of SVGALib keyboard handler? Gfx stuff works
> well, but I cannot make that keyb working.
> Or any tip how to handle keyboard (KeyUp/KeyDown way) without X.
>
> PS.: ...under Linux of course....
Of course?
su-2.05# cd /usr/local/lib
su-2.05# ls -als libvg*
512 -rw-r--r-- 1 root bin 508904 Jul 4 11:09 libvga.a
0 lrwxr-xr-x 1 root wheel 11 Jul 4 11:09 libvga.so -> libvga.so.1
320 -rwxr-xr-x 1 root bin 316088 Jul 4 11:09 libvga.so.1
73 -rw-r--r-- 1 root bin 73960 Jul 4 11:09 libvgagl.a
0 lrwxr-xr-x 1 root wheel 13 Jul 4 11:09 libvgagl.so ->
libvgagl.so.1
52 -rwxr-xr-x 1 root bin 52836 Jul 4 11:09 libvgagl.so.1
su-2.05# uname -a
FreeBSD deathstar.athome.tue.nl 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Sat Apr
21 10:54:49 GMT 2001 jkh at narf.osd.bsdi.com:/usr/src/sys/compile/GENERIC
i386
su-2.05#
:-)
-----------------
Seriously, check the keyboard routines of the IDE. (keyboard.pp either in
the API, or in the rtl/linux or rtl/unix directory).
These implement lowlevel console based keyboard routines. If it doesn't
work, you have to find a solution inside svgalib. (does it come with
keyboard functions?)
More information about the fpc-pascal
mailing list