Skip to content

Instantly share code, notes, and snippets.

@idank
Created April 28, 2023 12:02
Show Gist options
  • Save idank/18c9e529eea3f31ddc00fffe2d11803e to your computer and use it in GitHub Desktop.
Save idank/18c9e529eea3f31ddc00fffe2d11803e to your computer and use it in GitHub Desktop.
// ---------- busywait: works
// config.h
#define PS2_MOUSE_USE_REMOTE_MODE
#define PS2_CLOCK_PIN D3
#define PS2_DATA_PIN B4
// rules.mk
PS2_MOUSE_ENABLE = yes
PS2_ENABLE = yes
PS2_DRIVER = busywait
// --------- interrupt: doesn't work
// config.h
#define PS2_CLOCK_PIN D3
#define PS2_DATA_PIN B4
// rules.mk
PS2_MOUSE_ENABLE = yes
PS2_ENABLE = yes
PS2_DRIVER = interrupt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment