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

Author Topic: Handling lowercase tilde? (`) accent key?  (Read 4671 times)

0 Members and 1 Guest are viewing this topic.

Predator106

  • Newbie
  • *
  • Posts: 43
    • View Profile
Handling lowercase tilde? (`) accent key?
« on: November 01, 2012, 03:07:06 am »
I can't find any handling for: the ` key, to the left of the 1 which contains Tilde as well on a US keyboard.

http://www.sfml-dev.org/documentation/2.0/classsf_1_1Keyboard.php#acb4cacd7cc5802dec45724cf3314a142a401a183dcfde0a06cb60fe6c91fa1e39

I guess it's called the accent key. Is this not available in the API?

cire

  • Full Member
  • ***
  • Posts: 138
    • View Profile
Re: Handling lowercase tilde? (`) accent key?
« Reply #1 on: November 01, 2012, 04:09:10 am »
In the same way that the Add key is not called the "Equal" key, the Tilde key is not called the "Accent" key.  You only need one way to refer to a key.

JayArby

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
Re: Handling lowercase tilde? (`) accent key?
« Reply #2 on: November 02, 2012, 04:17:54 am »
in other words, use Tilde and check to see if shift was held.