FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Input Handler for GBA development

 
Post new topic   Reply to topic    Ice development Forum Index -> Code
View previous topic :: View next topic  
Author Message
slip
Site Admin


Joined: 25 Aug 2007
Posts: 40
Location: Australia

PostPosted: Fri Sep 07, 2007 5:14 am    Post subject: Input Handler for GBA development Reply with quote

This is the input handler used with Target: Mainframe. It allows control over key repeat times on GBA, just like on a keyboard.

The delay times are not 100% accurate, it all depends on how much each frame time differs. More accurate timing can be obtained with alterations to these functions. For example: if an interrupt was generated instead of a Fake Register (FREG) being set. But I think you'll find the timing is fairly accurate. Feel free to use the code.

Though Credit isn't required, it'd be appreciated.

Current verion: 1.0 (8Kb)
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Ice development Forum Index -> Code All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group