Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how can i use the user_input function in a different location #241

Open
404Dev-404 opened this issue Apr 10, 2022 · 2 comments
Open

how can i use the user_input function in a different location #241

404Dev-404 opened this issue Apr 10, 2022 · 2 comments

Comments

@404Dev-404
Copy link

i want to make a text editor thing but i can't get input while a function is running so how can i get input and run a function at the same time

@xing1357
Copy link

Probably interrupts or smth.

@Ululin
Copy link

Ululin commented Sep 2, 2022

Very easy actually.
Just have a list of functions, and pick one of them to be the handler.
To switch, just pick a different handler from the index and call it in the keyboard.c file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants