Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Key Press Event Retain Native Code ?  (Read 2843 times)

0 Members and 1 Guest are viewing this topic.

xerzi

  • Newbie
  • *
  • Posts: 15
    • View Profile
Key Press Event Retain Native Code ?
« on: May 29, 2014, 04:01:33 am »
There are some libraries that can take native key presses, so having the native key code in the key event will make it easier rather than having a giant switch statement or some other system to map one to the other. Having a sfml -> native convert function would also be a solution.

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Re: Key Press Event Retain Native Code ?
« Reply #1 on: May 29, 2014, 09:21:50 am »
Improving keyboard API is on our TODO list.  ;)

https://github.com/SFML/SFML/issues/7
SFML / OS X developer

xerzi

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Key Press Event Retain Native Code ?
« Reply #2 on: May 30, 2014, 01:15:20 am »
Quote
opened this issue on Mar 27, 2011

):

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development: