Slick Forums

Discuss the Slick 2D Library
It is currently Sat May 25, 2013 8:16 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Creating a custom input?
PostPosted: Thu Aug 16, 2012 2:03 pm 
Offline

Joined: Thu Aug 16, 2012 1:49 pm
Posts: 1
So it seem like TWL doesn't handle input when the mouse is grabbed, so i need to create a custom input implementation as my game makes use of grabbed input (FPS style). However after looking at the source to get some inspiration I can't see why grabbed input shouldn't be handled, now I don't have a clue where to start. Any ideas?


Top
 Profile  
 
PostPosted: Thu Aug 16, 2012 8:15 pm 
Offline
Slick Zombie

Joined: Fri Jan 29, 2010 7:02 pm
Posts: 1173
You can either make a push implementation (see the docu for GUI.update), or you could make a pull input (see the Input interface). I haven't tested with mouse grabbed so I can't comment on that.

_________________
TWL - The Themable Widget Library


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group