About Store Forum Documentation Contact



Poll: Would this be useful?
Yes
No
[Show Results]
Note: This is a public poll, other users will be able to see what you voted for.
Post Reply 
Kb.b/Kb.bp/Kb.br for func keys
Author Message
rndbit Offline
Member

Post: #1
Kb.b/Kb.bp/Kb.br for func keys
I am in situation where integrating 3rd party library requires forwarding user input to it. Library would like to receive windows key codes. I noticed that KB_FUNC are same as windows key codes, so that would work out perfectly nice, except there are problem: impossible to check if func key was pressed or released in current frame, only if it is on. KB_BUTTON could be used for the matter, but here comes on an over head of looping through all possible values of buttons to check their states, convert to windows key codes and pass to the library.

So i would like to propose feature:
Overloads of Kb.b, Kb.bp, Kb.br that would accept KB_FUNC as input.
Kb.eat() overload for KB_FUNC.
(This post was last modified: 03-13-2011 01:30 PM by rndbit.)
03-13-2011 01:10 PM
Find all posts by this user Quote this message in a reply
Salival Offline
Member

Post: #2
RE: Kb.b/Kb.bp/Kb.br for func keys
Requested feature is needed and functions that are already in there are not enough in some cases. As in this case if an key was pressed or released in current frame.
(This post was last modified: 03-14-2011 09:25 AM by Salival.)
03-14-2011 09:24 AM
Find all posts by this user Quote this message in a reply
Salival Offline
Member

Post: #3
RE: Kb.b/Kb.bp/Kb.br for func keys
Anything Esenthel?
03-15-2011 09:31 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
RE: Kb.b/Kb.bp/Kb.br for func keys
I suggest playing with bp/br/b
as for 'eat' you have 'nextBufferedFunc'
03-15-2011 09:49 PM
Find all posts by this user Quote this message in a reply
Post Reply