Page 1 of 1
SystemRequest keyboard inputs
Posted: Fri Mar 12, 2021 3:18 pm
by amyren
Would it be possible to make the systemrequest react to keyboard input?
Suggested behaviour is to be able to set a default action so that either Yes or No gets highlighted, and then use Enter. Also keypad arrows could be used to move the highlighed item from Yes to No.
Re: SystemRequest keyboard inputs
Posted: Sat Mar 13, 2021 11:38 pm
by airsoftsoftwair
Not really possible in an OS independent way because this is not supported on AmigaOS. On modern platforms it would be possible but on AmigaOS, standard requesters thru intuition.library don't support keyboard control.
Re: SystemRequest keyboard inputs
Posted: Sun Mar 14, 2021 12:27 am
by p-OS
airsoftsoftwair wrote: ↑Sat Mar 13, 2021 11:38 pm
... but on AmigaOS, standard requesters thru intuition.library don't support keyboard control.
It is really quite long time since I used intuition.library directly...and had it different in my mind.
Thus I looked into the Autodoc:
Code: Select all
intuition.library/EasyRequestArgs
...
struct EasyStruct
...
struct TagItem *es_TagList;
...
TAGS
...
ESA_Underscore - (TEXT) The character used in the gadget format
string to indicate that the following letter must be displayed
underscored and act as a gadget keyboard shortcut. If this tag
is not present, no underscoring is performed for compatibility.
Re: SystemRequest keyboard inputs
Posted: Sun Mar 14, 2021 10:49 am
by airsoftsoftwair
p-OS wrote: ↑Sun Mar 14, 2021 12:27 am
It is really quite long time since I used intuition.library directly...and had it different in my mind.
ESA_Underscore is an OS4 extension. It's not available on AmigaOS 3, MorphOS or AROS.
Re: SystemRequest keyboard inputs
Posted: Mon Mar 15, 2021 12:49 am
by p-OS
Thanks for the clarification. I am sure, that it worked in my Amiga Classic Times. But maybe I mixed it up and I used reqtools...