Comments (4)
You are awesome.
I have been moving and just had some time to come back and look at this, and it's already done!
from gwork.
Not sure why char is using Allegro unichar. Looks like it should use the keycode.
case ALLEGRO_EVENT_KEY_CHAR:
return m_eventListener->InputCharacter(event.keyboard.unichar);
case ALLEGRO_EVENT_KEY_DOWN:
case ALLEGRO_EVENT_KEY_UP:
{
bool bPressed = (event.type == ALLEGRO_EVENT_KEY_DOWN);
if (event.keyboard.keycode
&& bPressed
&& event.keyboard.keycode >= 'a'
&& event.keyboard.keycode <= 'z')
{
return m_eventListener->InputCharacter(event.keyboard.keycode);
}
const unsigned char iKey = TranslateKeyCode(event.keyboard.keycode);
return m_eventListener->InputKey(iKey, bPressed);
}
from gwork.
Might also be worth having a poke around in the GWEN issues list and PR history. GWEN has quite a few bugs.
from gwork.
This should be fixed now.
from gwork.
Related Issues (20)
- Created a Discord server for anyone that wants to chat on GWorK
- Segfault when clicking on ImagePanel in GworkAllegro5Sample HOT 2
- CacheToTexture Never Updates Cached Textures? HOT 1
- Refactor colour picker HOT 1
- Baking FreeType Into Gwork? HOT 12
- Reduce compiler coverage in tests
- "LARGE_INTEGER" and "QueryPerformanceCounter" problem HOT 2
- Can't build OpenGL sample with MinGW HOT 1
- Can't use GWork as cmake `subdirectory`. HOT 1
- Fix OpenGL Core for OSX HOT 2
- OpenGL* renderer: UTF-8 multi-byte symbols are not rendering HOT 17
- GLFW input handler is now working with GLFW3 HOT 1
- Resource management refactoring HOT 12
- Add WYSIWYG editor
- Support multiple renderers
- Add Font Module
- Investigate Gwk::Utility::Widen too slow HOT 1
- SFML2 Compile fails - Linux Mint 18.3 HOT 2
- Error: expression in new-declarator must have integral or enumeration type HOT 1
- OpenGL renderer broken HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gwork.