How does this work when there are two keys bound to one action then? eg
bind "[" "invprev" bind "]" "invnext" bind "MWHEELDOWN" "invnext" bind "MWHEELUP" "invprev" or does it not include mouse/joystick button as they are buttons and not keys? ----- Original Message ----- From: "Adrian Finol" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 07, 2002 7:37 AM Subject: RE: [hlcoders] Info on a client command > Straight from the comment in the code: > > Returns the keyname to which a binding string is bound. E.g., if > TAB is bound to +use then searching for +use will return "TAB" > > - Adrian > > > -----Original Message----- > From: _Phantom_ [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 07, 2002 12:14 AM > To: [EMAIL PROTECTED] > Subject: [hlcoders] Info on a client command > > > morning, > > could someone please give me some info on the following client command > (found in cl_enginefunc_t in cl_dll.h) > > const char *( *Key_LookupBinding ) ( const char *pBinding ); > > what would ya put in and what would it give out? Do ya feed in say > '+altfire' and get out the key which is bound to it? or is it the other way > around? this would seam to make more sense coz you can have 2 keys bound to > one function :) > > Any light would be appricated :) > Rob > > "cause I dont wanna be a hero > and I dont wanna be a zero" - Feeder, Turn > Jon Henry Lee, Your memory will live on in your fans and your music, Rest In > Peace > > _______________________________________________ > 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

