Skip to content

parameter passed to keyhandler turns up having an invalid address when being called #59

Answered by W2Wizard
kyomawolf asked this question in Q&A
Discussion options

You must be logged in to vote

That is the wrong prototype for the key_handler function.

See: https://github.com/codam-coding-college/MLX42/wiki/Hooks#key-hook
It needs to have a struct instead of an int for the first parameter.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by W2Wizard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Question Further information is requested
2 participants