summaryrefslogtreecommitdiffstats
path: root/src/glut/fbdev/input.c
Commit message (Collapse)AuthorAgeFilesLines
* Updated keyboard input so that glut programs can read from stdin withoutSean D'Epagnier2006-12-211-42/+44
| | | | problems if tty input is used. Also corrected a few stdin keycodes.
* the following improvements to linux-fbdev:Sean D'Epagnier2006-11-301-111/+171
| | | | | | | | | | | | | | | | | 1. updated makefiles to build libOSMesa as well as libGL these are improvements to fbdev-glut 1. mouse cursor will timeout and be invisible if not being used 2. do not restore colormaps to truecolor targets, this causes problems at exit on my g450 3. fixed a crash when cleaning up from failure by munmaping what had not yet been mmaped 4. Resize event handling is improved, the resize function is not invoked from a signal handler now. 5. The main loop can detect if it is running very fast (greater than 2khz) 6. keyboard up and special up events are generated from stdin input mode and if it is also not redrawing, it sleeps 7. corrections in escape sequences for function keys for stdin input
* Added correct include files to files,Sean D'Epagnier2006-11-211-3/+3
| | | | | No longer modify cmap if the device is truecolor (messes up dual monitors with vt switching)
* corrected cursor drawingSean D'Epagnier2006-09-241-59/+66
| | | | | | | added handling of SIGWINCH fixed input of recieving SIGIO while handling SIGIO corrected input code for return uncommented normal calculation to models
* The colormap code is now simpler, 15bpp works where it did not before.Sean D'Epagnier2006-08-271-6/+8
| | | | | | The input is fixed so that delete reports '\b' and backspace 127 The vt switching works both right and left.
* VT switching now uses correct keys.Sean D'Epagnier2006-08-231-17/+53
| | | | | | | exiting when virtual screen size is larger than regular size doesn't corrupt screen. colormap is reset when using stdin input on exit. return is not reported as ctrl-m but '\r' as it should be backspace keycode was incorrect and not working, fixed
* Added initial multisampling support to glfbdev driver.Sean D'Epagnier2006-08-101-44/+50
| | | | | | | | | Fully implemented glutGameMode, and added vidresize stubs to make Added support for glutReshapeDisplay to change video mode but not lose current mesa context. implementation glut 5 complient. Fixed many minor bugs Updated docs
* Modularized code into multiple files.Sean D'Epagnier2006-08-051-0/+715
Added gamemode stubs, iconify support, joystick stubs. Fixed color index mode, added 8 bit alpha blending, enabled cmaps even with 15, 16, 24, and 32 depths as some fbdev drivers need this. Fixed compiling with -ansi Using SIGIO for keyboard input, so that vt switching is enabled even if the program is locked. Fixed numerous small bugs.