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 do i read key presses from the c kernel? #77

Open
Natejoestev opened this issue Mar 26, 2023 · 4 comments
Open

how do i read key presses from the c kernel? #77

Natejoestev opened this issue Mar 26, 2023 · 4 comments

Comments

@Natejoestev
Copy link

i have a working c kernel implementation, and i want to know how to read key presses.

example: when the user presses f5 i want it to call another c function.

@Florian-Mahlberg
Copy link

Have a look at the OSdev Wiki.

Basically you want an interrupt handler and a driver for your keyboard. Good luck :p

@Natejoestev
Copy link
Author

Thanks, i will look into that.

@Natejoestev
Copy link
Author

how exactly would i implement that?
i read through the article and the linked ones. i'm new to writing OSs and it doesn't make very much sense.

@Florian-Mahlberg
Copy link

You have smt like discord?

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

2 participants