ascii-chat
Binary v0.16.114-28-gf5913657f
Library lib/v0.3.2-3302-gf5913657f
Video chat in your terminal
Loading...
Searching...
No Matches
keyboard.c File Reference

Go to the source code of this file.

Functions

bool keyboard_request_background (void)
bool keyboard_input_available (void)
keyboard_key_t keyboard_read_nonblocking (void)
void keyboard_destroy (void)

Function Documentation

◆ keyboard_destroy()

void keyboard_destroy ( void )

Definition at line 15 of file keyboard.c.

15 {
16 // No-op - no keyboard to destroy in WASM
17}

Referenced by asciichat_shared_destroy(), stats_runtime_start(), stats_runtime_stop(), ui_sync_start(), and ui_sync_stop().

◆ keyboard_input_available()

bool keyboard_input_available ( void )

Definition at line 7 of file keyboard.c.

7 {
8 return false;
9}

◆ keyboard_read_nonblocking()

keyboard_key_t keyboard_read_nonblocking ( void )

Definition at line 11 of file keyboard.c.

11 {
12 return KEY_NONE; // No input available in WASM
13}

◆ keyboard_request_background()

bool keyboard_request_background ( void )

Definition at line 3 of file keyboard.c.

3 {
4 return false;
5}