alexguirre / RAGENativeUI

MIT License
115 stars 38 forks source link

SetKey() overload method not working #2

Closed alexguirre closed 8 years ago

alexguirre commented 9 years ago

The SetKey(Common.MenuControls control, Keys keyToSet) overload isn't working. It might be related to the HasControlJustBeenPressed(), HasControlJustBeenReleased() and IsControlBeingPressed() methods.

The other overload methods (SetKey(Common.MenuControls control, GameControl gtaControl) and SetKey(Common.MenuControls control, GameControl gtaControl, int index)) work.

Basically the menu doesn't work with Keys enum.

Guad commented 8 years ago

That needs a rewrite since it was supposed to work with ScriptHookVDotNet's OnKeyDown event.

alexguirre commented 8 years ago

That needs a rewrite since it was supposed to work with ScriptHookVDotNet's OnKeyDown event.

Check this pull request #4

alexguirre commented 8 years ago

Fixed in v1.3