Waits for the user to press a key on the current SGS choice device and returns
the number of the key selected. When choice device 0 is being used, the number is the
position in the define keys string passed to SGS_DEFCH. If the key is not included in the
string, 0 is returned.