SystemRequest keyboard inputs

Feature requests for future versions of Hollywood can be voiced here
Post Reply
amyren
Posts: 352
Joined: Thu May 02, 2019 11:53 am

SystemRequest keyboard inputs

Post 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.
User avatar
airsoftsoftwair
Posts: 5425
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: SystemRequest keyboard inputs

Post 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.
p-OS
Posts: 167
Joined: Mon Nov 01, 2010 11:56 pm

Re: SystemRequest keyboard inputs

Post 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.	
User avatar
airsoftsoftwair
Posts: 5425
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: SystemRequest keyboard inputs

Post 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.
p-OS
Posts: 167
Joined: Mon Nov 01, 2010 11:56 pm

Re: SystemRequest keyboard inputs

Post 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...
Post Reply