This seems like a very strange question.What are you trying to achieve with this? -Skyler Clark
On Fri, Dec 26, 2008 at 6:57 AM, Maarten De Meyer <maar...@off-limits.be>wrote: > Update > > I found out engine->Key_LookupBinding("duck"); is returning "MOUSE2", but > only if it's the first bound key. I don't understand why this function > doesn't return an array of strings, since a binding can map to any number > of keys? Or at least supply an inverse function, which would allow you to > access all information. > > Maarten > > > Hi, > > > > How can I check if e.g. my right mouse button is bound to e.g. duck ? I'm > > trying to close the spectator menu. My duck is bound to F and right mouse > > button. I can catch the mousepressed, and see in the vgui::MouseCode it's > > right mouse button, but how can I find the mapping between a mousekey and > > it's bind? > > > > Thanks, > > > > Maarten > > > > > > _______________________________________________ > > To unsubscribe, edit your list preferences, or view the list archives, > > please visit: > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > > > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders