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

Author Topic: Keyboard: Add Circumflex support  (Read 3048 times)

0 Members and 1 Guest are viewing this topic.

Robert42

  • Newbie
  • *
  • Posts: 31
    • View Profile
Keyboard: Add Circumflex support
« on: September 15, 2011, 10:32:28 am »
A pretty small feature request:

Add a Circumflex Key-Code. Thats a quite common key used in Games to open a developer Terminal.

greetings, Robert

thePyro_13

  • Full Member
  • ***
  • Posts: 156
    • View Profile
Keyboard: Add Circumflex support
« Reply #1 on: September 15, 2011, 02:42:32 pm »
I've never seen ANY in-game action bound to that key, did you mean the tilde(~) key(the key to the left of 1)? Which already has a keycode(at least in SFML2).

gsaurus

  • Sr. Member
  • ****
  • Posts: 262
    • View Profile
    • Evolution Engine
Keyboard: Add Circumflex support
« Reply #2 on: September 15, 2011, 03:06:58 pm »
On my keyboard, Circunflex ("^") is the same key as Tilde ("~"). It is Shift plus Tilde.
It may be different on other keyboards though.
Pluma - Plug-in Management Framework

thePyro_13

  • Full Member
  • ***
  • Posts: 156
    • View Profile
Keyboard: Add Circumflex support
« Reply #3 on: September 15, 2011, 03:14:49 pm »
My "^" is above 6, so its Shift+6 to type it. Tilde is sharing a key with "`". Though I still have to Shift to type the tilde symbol.

Looking through the keyboard class, their isn't a key-code for any of the symbols above the number keys[!@#$%^&*()].

Their was talk of a overhaul for the keyboard system for 2.x somewhere, we may have to wait until then to get access to those keys.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Keyboard: Add Circumflex support
« Reply #4 on: September 15, 2011, 04:55:15 pm »
Quote
Their was talk of a overhaul for the keyboard system for 2.x somewhere, we may have to wait until then to get access to those keys

Yep ;)
Laurent Gomila - SFML developer

 

anything