Sign in to follow this  
SuperSonik

SDL Mouse Usage

Recommended Posts

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!

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this