quakeforge/libs/video/targets
Bill Currie ace8d9ebc5 Implement dynamic IMTs.
Now the user can create and destroy IMTs at will, though currently
destroying IMTs is currently all or nothing (imt_drop_all).

An IMT is created via imt_create which takes the keydest name (key_game
etc), the name of the IMT (must be unique for all IMTs) and optionally the
name of the IMT to which the key binding search will fall back if there is
no binding in the current IMT, but must be already defined and on the same
keydest. This means that IMTs now have user determined fallback paths. The
requirements for the fallback IMT prevent loops and other weird behaviour.

Actual key binding via in_bind is unaffected. This is why the IMT name must
be unique across all IMTs.

The "imt" command works with the key_game keydest, but imt_keydest is
provided for specifying the active IMT for a specific keydest.

At startup, default IMTs are setup to emulate the previous static IMTs so
old configs will continue to work (mostly). New config files will be
written with commands to drop all of the current IMTs and build new ones,
with the bindings and active IMT set as well.
2013-01-16 19:48:54 +09:00
..
context_sdl.c Remove viddef in favor of vid in the renderers. 2013-01-16 11:23:47 +09:00
context_x11.c Produce a vidmode list for developer output. 2013-01-01 15:13:27 +09:00
dga_check.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
fbset.c Massive whitespace cleanup. 2012-05-22 08:23:22 +09:00
fbset_modes_l.l various gcc 4.3 fixes 2008-07-19 05:40:57 +00:00
fbset_modes_y.y And a few more bits of whitespace. 2012-05-23 08:21:27 +09:00
in_common.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
in_event.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
in_fbdev.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
in_sdl.c Use callbacks for key repeat control. 2013-01-16 19:48:54 +09:00
in_svgalib.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
in_win.c Add 32 button support to sdl and win as well. 2012-07-02 16:51:14 +09:00
in_x11.c Make key_dest private to keys.c 2013-01-16 19:48:54 +09:00
joy.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
joy_linux.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
joy_null.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
joy_win.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
keys.c Implement dynamic IMTs. 2013-01-16 19:48:54 +09:00
Makefile.am Move pr_keys.c from console to video/targets. 2012-07-15 07:39:50 +09:00
old_keys.c Make hash tables more const correct. 2012-10-27 11:44:31 +09:00
pr_keys.c Implement dynamic IMTs. 2013-01-16 19:48:54 +09:00
vid.c Remove viddef in favor of vid in the renderers. 2013-01-16 11:23:47 +09:00
vid_3dfxsvga.c Massive whitespace cleanup. 2012-05-22 08:23:22 +09:00
vid_fbdev.c Remove viddef in favor of vid in the renderers. 2013-01-16 11:23:47 +09:00
vid_sdl.c Remove viddef in favor of vid in the renderers. 2013-01-16 11:23:47 +09:00
vid_svgalib.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
vid_wgl.c Massive whitespace cleanup. 2012-05-22 08:23:22 +09:00
vid_x11.c Remove viddef in favor of vid in the renderers. 2013-01-16 11:23:47 +09:00