diff options
author | Ben Bridle <ben@derelict.engineering> | 2024-12-16 14:52:54 +1300 |
---|---|---|
committer | Ben Bridle <ben@derelict.engineering> | 2024-12-16 14:52:54 +1300 |
commit | 0d9978228b9226d16ba8272a03dd7e6c9ad83b3d (patch) | |
tree | 442ce8a1d37f2f9a0e9e655d3250849e874c2d41 /arm9/source/devices/local.c | |
parent | dbe8171815ea3b51c3ac87dae1996ae0d8f6eb04 (diff) | |
download | bedrock-nds-0d9978228b9226d16ba8272a03dd7e6c9ad83b3d.zip |
Implement a toggleable keyboard on the lower screen
Diffstat (limited to 'arm9/source/devices/local.c')
-rw-r--r-- | arm9/source/devices/local.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arm9/source/devices/local.c b/arm9/source/devices/local.c index e69de29..e13a1f8 100644 --- a/arm9/source/devices/local.c +++ b/arm9/source/devices/local.c @@ -0,0 +1,11 @@ +#include "../main.h" +#include "local.h" + +void std_write(u8 byte) { + if (byte) { + receive_keyboard_byte(byte); + } else { + close_keyboard(); + + } +} |