SDL_KeyboardEvent man page on JazzOS

Man page or keyword search:  
man Server   2339 pages
apropos Keyword Search (all sections)
Output format
JazzOS logo
[printable version]

SDL_KeyboardEvent(3)	       SDL API Reference	  SDL_KeyboardEvent(3)

       SDL_KeyboardEvent - Keyboard event structure

       typedef struct{
	 Uint8 type;
	 Uint8 state;
	 SDL_keysym keysym;
       } SDL_KeyboardEvent;

       type		   SDL_KEYDOWN or SDL_KEYUP

       state		   SDL_PRESSED or SDL_RELEASED

       keysym		   Contains key press information

       SDL_KeyboardEvent  is  a member of the SDL_Event union and is used when
       an event of type SDL_KEYDOWN or SDL_KEYUP is reported.

       The type and state actually report the same information, they just  use
       different  values  to  do  it!  A  keyboard  event occurs when a key is
       released (type=SDK_KEYUP or  state=SDL_RELEASED)	 and  when  a  key  is
       pressed	(type=SDL_KEYDOWN  or  state=SDL_PRESSED).  The information on
       what key was pressed or released is in the keysym structure.


	      Repeating SDL_KEYDOWN events will occur if key repeat is enabled
	      (see SDL_EnableKeyRepeat).

       SDL_Event, SDL_keysym, SDL_EnableKeyRepeat, SDL_EnableUNICODE

SDL			    Tue 11 Sep 2001, 22:59	  SDL_KeyboardEvent(3)

List of man pages available for JazzOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net