A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://technical.swissmicros.com/dmcp/doc/DMCP-ifc-html/group__kbd__dlg.html below:

DMCP interface: Dialog functions

Keyboard handling for dialogs. More...

int  runner_get_key (int *repeat)   Wait for key event or timeout.
  int  runner_get_key_delay (int *repeat, uint timeout, uint rep0, uint rep1, uint rep1tout)   Wait for key event or timeout with more autorepeat and timeout control.
  int  runner_key_tout_value (const int first)   Returns key repeat timeout value.
 

Keyboard handling for dialogs.

◆ runner_get_key() int runner_get_key ( int * repeat )

Wait for key event or timeout.

Parameters
[out] repeat Pointer to auto-repeat indicator (can be NULL). Returns 1 if key is repeated, 0 otherwise.
Returns
Key code or 0 on timeout.

Autorepeat times depend on values returned by runner_key_tout_value().

Timeout occurs every second.

◆ runner_get_key_delay() int runner_get_key_delay ( int * repeat, uint timeout, uint rep0, uint rep1, uint rep1tout )

Wait for key event or timeout with more autorepeat and timeout control.

Parameters
[out] repeat Pointer to auto-repeat indicator (can be NULL). Returns 1 if key is repeated, 0 otherwise. timeout [ms] Function returns after this timeout rep0 [ms] Repeat rate after key press rep1 [ms] Repeat rate after rep1tout rep1tout [ms] Repeat rate is changed from rep0 to rep1 after this time
Returns
Key code or 0 on timeout.
◆ runner_key_tout_value() int runner_key_tout_value ( const int first )

Returns key repeat timeout value.

Parameters
first 1 = timeout after first key press, 0 = consequent timeout
Returns
Timeout value in ms.

Autorepeat times depend on slow autorepeat flag in system

where first time corresponds to first repeat timeout after key press and second time to all consequent.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4