CVSROOT:        /cvs/directfb
Module name:    DirectFB
Changes by:     dok     20020527 17:52:03

Modified files:
        .              : configure.in directfb-internal.pc.in 
                         directfb.pc.in 
        gfxdrivers/ati128: ati128.c ati128.h ati128_overlay.c 
                           ati128_state.c ati128_state.h mmio.h regs.h 
        gfxdrivers/matrox: matrox.c matrox.h matrox_bes.c matrox_state.c 
                           matrox_state.h mmio.h regs.h 
        gfxdrivers/neomagic: neo2200.c neo_overlay.c neomagic.c 
                             neomagic.h 
        gfxdrivers/nvidia: nvidia.c nvidia.h 
        gfxdrivers/tdfx: tdfx.c tdfx.h 
        include        : Makefile.am directfb.h directfb_internals.h 
                         directfb_version.h.in 
        inputdrivers/dbox2remote: dbox2remote.c 
        inputdrivers/h3600_ts: h3600_ts.c 
        inputdrivers/joystick: joystick.c 
        inputdrivers/keyboard: keyboard.c 
        inputdrivers/lirc: lirc.c 
        inputdrivers/ps2mouse: ps2mouse.c 
        inputdrivers/serialmouse: serialmouse.c 
        inputdrivers/sonypi: sonypi.c 
        interfaces/IDirectFBFont: idirectfbfont_default.c 
                                  idirectfbfont_ft2.c 
        interfaces/IDirectFBImageProvider: idirectfbimageprovider_gif.c 
                                           idirectfbimageprovider_jpeg.c 
                                           idirectfbimageprovider_png.c 
        interfaces/IDirectFBVideoProvider: 
                                           idirectfbvideoprovider_avifile.cpp 
                                           idirectfbvideoprovider_libmpeg3.c 
                                           idirectfbvideoprovider_swf.c 
                                           idirectfbvideoprovider_v4l.c 
        src/core       : core.c core.h coredefs.h coretypes.h fbdev.c 
                         fbdev.h fonts.c fonts.h gfxcard.c gfxcard.h 
                         graphics_driver.h input.c input.h 
                         input_driver.h layers.c layers.h sig.c sig.h 
                         state.c state.h surfacemanager.c 
                         surfacemanager.h surfaces.c surfaces.h vt.c 
                         vt.h windows.c windows.h 
        src/core/fusion: arena.c arena.h fusion.c fusion.h 
                         fusion_internal.h fusion_shmalloc.c 
                         fusion_types.h list.c list.h lock.c lock.h 
                         property.c property.h reactor.c reactor.h ref.c 
                         ref.h shmalloc.h util.c 
        src/core/fusion/shmalloc: mstats.c shcalloc.c shfree.c 
                                  shmalloc.c shmalloc_internal.h 
                                  shmemalign.c shrealloc.c shvalloc.c 
        src/display    : idirectfbdisplaylayer.c idirectfbdisplaylayer.h 
                         idirectfbsurface.c idirectfbsurface.h 
                         idirectfbsurface_layer.c 
                         idirectfbsurface_layer.h 
                         idirectfbsurface_window.c 
                         idirectfbsurface_window.h 
        src/gfx        : clip.c clip.h convert.c convert.h util.c util.h 
        src/gfx/generic: generic.c generic.h 
        src/input      : idirectfbinputbuffer.c idirectfbinputbuffer.h 
                         idirectfbinputdevice.c idirectfbinputdevice.h 
        src/media      : idirectfbfont.c idirectfbfont.h 
                         idirectfbimageprovider.h 
                         idirectfbvideoprovider.h 
        src/misc       : conf.c conf.h cpu_accel.c cpu_accel.h fbdebug.c 
                         fbdebug.h gfx_util.c gfx_util.h mem.c mem.h 
                         memcpy.c memcpy.h tree.c tree.h utf8.c utf8.h 
                         util.c util.h 
        src/windows    : idirectfbwindow.c idirectfbwindow.h 
        tools          : gendoc.pl raw15toraw24.c raw16toraw24.c 
                         raw32toraw24.c 
Added files:
        include        : directfb_keyboard.h 

Log message:
Adding sophisticated keycode/keysymbol handling to DirectFB for more
sophisticated applications like XDirectFB and the new keymap stuff in GDK.
Writing input drivers for keyboards will also be easier.

There are to types of key mappings, a basic one (the one before) which is
suited for games and an advanced one for applications which need full
coverage of the Unicode 3.x character space and the ability to query the
keyboard layout.

The DFBInputDeviceKeyIdentifier is now contained in "event.key_id" instead
of "event.keycode". "event.key_code" is the hardware keycode which is usually
not of interest.

A new enum DFBInputDeviceKeySymbol is a super-set of the Unicode 3.x character
space which is compatible to Latin-1, so "key_ascii" has been removed in favor
of "event.key_symbol".

DirectFB header files (which include "directfb_keyboard.h" now) are installed
to "$prefix/include/directfb/". Applications honoring the CFLAGS within the
pkg-config file should have no problem with that.

Updated all copyright headers.

The keymap stuff is still work in progress, but the functionality to have
all applications running again already exists.

Short porting instructions:
- Replace keycode by key_id and DIKC by DIKI
and/or
replace keycode by key_symbol and DIKC by DIKS
- Note that the remote control keys have been removed from the
basic mapping to reduce overhead
- Note that the cursor keys in the advanced mapping have a DIKS_CURSOR prefix
- Note that the letters have DIKS_SMALL and DIKS_CAPITAL prefixes



-- 
Info:  To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-cvs" as subject.

Reply via email to