d_keyboard_proc man page on DragonFly

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

d_keyboard_proc(3)		Allegro manual		    d_keyboard_proc(3)

NAME
       d_keyboard_proc	- Invisible dialog procedure for implementing keyboard
       shortcuts. Allegro game programming library.

SYNOPSIS
       #include <allegro.h>

       int d_keyboard_proc(int msg, DIALOG *d, int c);

DESCRIPTION
       This is an invisible object for implementing  keyboard  shortcuts.  You
       can  put an ASCII code in the key field of the dialog object (a characā€
       ter such as 'a' to respond to a simple keypress, or a  number  1-26  to
       respond	to  a  control key a-z), or you can put a keyboard scancode in
       the d1 and/or d2 fields. When one of these keys is pressed, the	object
       will  call  the	function  pointed to by dp. This should return an int,
       which will be passed back to the	 dialog	 manager,  so  it  can	return
       D_O_K, D_REDRAW, D_CLOSE, etc.

SEE ALSO
       exgui(3)

Allegro				 version 4.4.2		    d_keyboard_proc(3)
[top]

List of man pages available for DragonFly

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]
Tweet
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