> I don't want to access the raw device because I don't want to implement > all the mouse protocols. I just want to get mouse coordinates and clicks. Then your application should be a gpm client. Please read the documentation about that. Clients can ask to receive mouse events (all or only some types) and can ask gpm to draw the cursor for them or not. Then you are free to use other approaches, as suggested by Zephaniah. /alessandro