v7 man page for d_keyboard_proc

Query: d_keyboard_proc

OS: v7

Section: 3alleg4

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

d_keyboard_proc(3alleg4)					  Allegro manual					  d_keyboard_proc(3alleg4)

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(3alleg4) Allegro version 4.4.2 d_keyboard_proc(3alleg4)
Related Man Pages
exgui(3alleg4) - suse
exgui(3alleg4) - plan9
exgui(3alleg4) - mojave
exgui(3alleg4) - x11r4
exgui(3alleg4) - opensolaris
Similar Topics in the Unix Linux Community
Need to add prefix using sed or awk from cat the file
Sort by values in the 1st row, leaving first four coulumns untouched
Read a file and save every word in a variable to use
Cyber Dystopia Teaser (720 HD)
Bash - here document on RHEL 6.8 and 6.9 servers aren't working