SDL Mouse Usage

Started by
1 comment, last by kadaf 17 years, 4 months ago
I'm a high school student enrolled in a systems level class, learning C. For our final project, we were given the option of using SDL. I have a few questions, Are there any good tutorials for using SDL with C in Linux? If I have a hardware device(Nintendo's Wii Remote) that can control XORG's mouse with some additional drivers and a bluetooth adapter, can I use that to be the mouse for my game? Thanks in advance for your help!
Advertisement
Does it have to be strict C?

Because I have a tutorial on that but it's in C++.

Learn to make games with my SDL 2 Tutorials

Quote:If I have a hardware device(Nintendo's Wii Remote) that can control XORG's mouse with some additional drivers and a bluetooth adapter, can I use that to be the mouse for my game?


Well, if it can control your normal mouse cursor, then it can also control the cursor in SDL.

Check out: http://www.libsdl.org/cgi/docwiki.cgi/SDL_20Guide
-- Rasmus Neckelmann

This topic is closed to new replies.

Advertisement