Skip to content

Commit

Permalink
Add disable mouse cursor
Browse files Browse the repository at this point in the history
  • Loading branch information
RowdyVoyeur authored Jun 1, 2024
1 parent 5e6c4d4 commit 94c9ed2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,12 @@ int main(int argc, char *argv[]) {
#ifdef DEBUG_MSG
SDL_LogSetAllPriority(SDL_LOG_PRIORITY_DEBUG);
#endif


// Force disable mouse cursor
if (conf.init_disable_cursor) {
SDL_ShowCursor(SDL_DISABLE);
}

// main loop begin
do {
// try to init serial port
Expand Down

0 comments on commit 94c9ed2

Please sign in to comment.