bkeiren / AwesomiumUnity

Third-party Awesomium wrapper for Unity3D, wrapping Awesomium's C++ API with a custom C# API and accompanying Unity MonoBehaviour components.
108 stars 74 forks source link

login button and text selection problems #4

Open jhaigh1143 opened 9 years ago

jhaigh1143 commented 9 years ago

I discovered a Unity specific issue with this implementation. The Shift works as a modifier for keys getting to upper case etc, but does not register on it's own as a Keypress / Keyrelease (i'm using unity 5.0.1f1 & the newest awesomium w/ this plugin).

Solved by adding an input hook on update that registers it's own versions of injected keypress/release for AwesomiumUnityVirtualKey.LSHIFT;

Thanks for your great work on this wrapper!