You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
564 B
20 lines
564 B
#pragma once |
|
|
|
#include <string_view> |
|
|
|
#include <3ds.h> |
|
|
|
/** |
|
* @brief Queues a request for user input for the next call to ctr_vkbdFlush() |
|
* @see ctr_vkdbFlush() |
|
* @param title Label for the input |
|
* @param inText Optional text to prefil the input field |
|
* @param outText Pointer to a buffer to receive user input |
|
* @param maxLength Size of the buffer |
|
*/ |
|
void ctr_vkbdInput(std::string_view title, std::string_view inText, char *outText, size_t maxLength); |
|
|
|
/** |
|
* @brief Processes pending requests for user input |
|
*/ |
|
void ctr_vkbdFlush();
|
|
|