Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Apr 2000 13:33:02 -0600
From:      Warner Losh <imp@village.org>
To:        Anatoly Vorobey <mellon@pobox.com>
Cc:        "Daniel O'Connor" <doconnor@gsoft.com.au>, hackers@freebsd.org
Subject:   Re: PC Keyboard Scancodes 
Message-ID:  <200004141933.NAA58587@harmony.village.org>
In-Reply-To: Your message of "Fri, 14 Apr 2000 19:52:53 %2B0300." <20000414195253.41151@techunix.technion.ac.il> 
References:  <20000414195253.41151@techunix.technion.ac.il>  

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20000414195253.41151@techunix.technion.ac.il> Anatoly Vorobey writes:
: Use this simple prog to cough up the scancodes:

OK.  Looks like the new microsoft keyboard that I have does indeed
just send the scan codes.  I have just a few keys:

	Key		Down		Up
	----------------------------------------
	Back		-32 106		-32 -22
	Forward		-32 105		-32 -23
	Stop		-32 104		-32 -24
	Mail		-32 108		-32 -20
	Search		-32 101		-32 -27
	Favorites	-32 102		-32 -26
	Web/Home	-32 50		-32 -78
	My Computer	-32 107		-32 -21
	Calculator	-32 33		-32 -95
	Sleep		-32 95		-32 -33

See a pattern :-)

-32 is 0xe0, which is also used to introduce the function keys like
Insert, Delete, etc.  So adding more shouldn't be too horrible.

Warner


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004141933.NAA58587>