[comp.sys.sgi] Buttonbox

markov@cs.ruu.nl (Mark Overmars) (01/25/91)

A very simple question. The buttons on a buttonbox have device names SW0 till
SW31. The question is: where is what button on the box. Is it numbered from
top-left to bottom-right or bottom-left to top-right or a different way.
I don't have a buttonbox but am making a software version of it (as part of
the FORMS library). I would like to get the order right.

Mark Overmars

kcables@RELAY.NSWC.NAVY.MIL (01/28/91)

Mark,
	This is the ordering for the button box.  It's top-left
to bottom-right, just as if you were "reading":

	--------------------------------------------------------
	|       [0]    [1]    [2]    [3] 
	| 
	|  [4]  [5]    [6]    [7]    [8]    [9]
	| 
	| [10]  [11]   [12]   [13]   [14]   [15]

	| [16]  [17]   [18]   [19]   [20]   [21]
	|
	| [22]  [23]   [24]   [25]   [26]   [27]
	|
	|       [28]   [29]   [30]   [31]
	--------------------------------------------------------