Index: [thread] [date] [subject] [author]
  From: Andrew Apted <ajapted@netspace.net.au>
  To  : ggi-develop@eskimo.com
  Date: Wed, 1 Jul 1998 14:51:47 +1000

Re: ggiGetc or ggiGetkey?

Chris Meadors writes:

>  I was going to let you know, but I can't find my Unicode book.  The
>  non-printing keys seem to be in the F100, F200, and F700 ranges.

Look at include/ggi/keyboard.h to see what the numbers mean.  F1xx are
function keys, F2xx are a hodpodge of special keys, F7xx are modifier
keys (like shift).  Thus you can do :

	#include <ggi/keyboard.h>

	switch(ggiGetc(vis)) {

		case K_F1: blah.... break;
		case K_F2: foo(bar)... break;
		...
	}

Cheers,
_____________________________________________  ____
                                               \  /
  Andrew Apted   <andrew@ggi-project.org>       \/
  

Index: [thread] [date] [subject] [author]