Module: Sf::Keyboard

Defined in:
LiteRGSS.rb.yard.rb

Overview

Keyboard utility of SFML

Defined Under Namespace

Modules: Scancode

Constant Summary collapse

A =

A key

sf::Keyboard::A
B =

B key

sf::Keyboard::B
C =

C key

sf::Keyboard::C
D =

D key

sf::Keyboard::D
E =

E key

sf::Keyboard::E
F =

F key

sf::Keyboard::F
G =

G key

sf::Keyboard::G
H =

H key

sf::Keyboard::H
I =

I key

sf::Keyboard::I
J =

J key

sf::Keyboard::J
K =

K key

sf::Keyboard::K
L =

L key

sf::Keyboard::L
M =

M key

sf::Keyboard::M
N =

N key

sf::Keyboard::N
O =

O key

sf::Keyboard::O
P =

P key

sf::Keyboard::P
Q =

Q key

sf::Keyboard::Q
R =

R key

sf::Keyboard::R
S =

S key

sf::Keyboard::S
T =

T key

sf::Keyboard::T
U =

U key

sf::Keyboard::U
V =

V key

sf::Keyboard::V
W =

W key

sf::Keyboard::W
X =

X key

sf::Keyboard::X
Y =

Y key

sf::Keyboard::Y
Z =

Z key

sf::Keyboard::Z
Num0 =

Num0 key

sf::Keyboard::Num0
Num1 =

Num1 key

sf::Keyboard::Num1
Num2 =

Num2 key

sf::Keyboard::Num2
Num3 =

Num3 key

sf::Keyboard::Num3
Num4 =

Num4 key

sf::Keyboard::Num4
Num5 =

Num5 key

sf::Keyboard::Num5
Num6 =

Num6 key

sf::Keyboard::Num6
Num7 =

Num7 key

sf::Keyboard::Num7
Num8 =

Num8 key

sf::Keyboard::Num8
Num9 =

Num9 key

sf::Keyboard::Num9
Escape =

Escape key

sf::Keyboard::Escape
LControl =

LControl key

sf::Keyboard::LControl
LShift =

LShift key

sf::Keyboard::LShift
LAlt =

LAlt key

sf::Keyboard::LAlt
LSystem =

LSystem key

sf::Keyboard::LSystem
RControl =

RControl key

sf::Keyboard::RControl
RShift =

RShift key

sf::Keyboard::RShift
RAlt =

RAlt key

sf::Keyboard::RAlt
RSystem =

RSystem key

sf::Keyboard::RSystem
sf::Keyboard::Menu
LBracket =

LBracket key

sf::Keyboard::LBracket
RBracket =

RBracket key

sf::Keyboard::RBracket
Semicolon =

Semicolon key

sf::Keyboard::Semicolon
Comma =

Comma key

sf::Keyboard::Comma
Period =

Period key

sf::Keyboard::Period
Quote =

Quote key

sf::Keyboard::Quote
Slash =

Slash key

sf::Keyboard::Slash
Backslash =

Backslash key

sf::Keyboard::Backslash
Tilde =

Tilde key

sf::Keyboard::Tilde
Equal =

Equal key

sf::Keyboard::Equal
Hyphen =

Hyphen key

sf::Keyboard::Hyphen
Space =

Space key

sf::Keyboard::Space
Enter =

Enter key

sf::Keyboard::Enter
Backspace =

Backspace key

sf::Keyboard::Backspace
Tab =

Tab key

sf::Keyboard::Tab
PageUp =

PageUp key

sf::Keyboard::PageUp
PageDown =

PageDown key

sf::Keyboard::PageDown
End =

End key

sf::Keyboard::End
Home =

Home key

sf::Keyboard::Home
Insert =

Insert key

sf::Keyboard::Insert
Delete =

Delete key

sf::Keyboard::Delete
Add =

Add key

sf::Keyboard::Add
Subtract =

Subtract key

sf::Keyboard::Subtract
Multiply =

Multiply key

sf::Keyboard::Multiply
Divide =

Divide key

sf::Keyboard::Divide
Left =

Left key

sf::Keyboard::Left
Right =

Right key

sf::Keyboard::Right
Up =

Up key

sf::Keyboard::Up
Down =

Down key

sf::Keyboard::Down
Numpad0 =

Numpad0 key

sf::Keyboard::Numpad0
Numpad1 =

Numpad1 key

sf::Keyboard::Numpad1
Numpad2 =

Numpad2 key

sf::Keyboard::Numpad2
Numpad3 =

Numpad3 key

sf::Keyboard::Numpad3
Numpad4 =

Numpad4 key

sf::Keyboard::Numpad4
Numpad5 =

Numpad5 key

sf::Keyboard::Numpad5
Numpad6 =

Numpad6 key

sf::Keyboard::Numpad6
Numpad7 =

Numpad7 key

sf::Keyboard::Numpad7
Numpad8 =

Numpad8 key

sf::Keyboard::Numpad8
Numpad9 =

Numpad9 key

sf::Keyboard::Numpad9
F1 =

F1 key

sf::Keyboard::F1
F2 =

F2 key

sf::Keyboard::F2
F3 =

F3 key

sf::Keyboard::F3
F4 =

F4 key

sf::Keyboard::F4
F5 =

F5 key

sf::Keyboard::F5
F6 =

F6 key

sf::Keyboard::F6
F7 =

F7 key

sf::Keyboard::F7
F8 =

F8 key

sf::Keyboard::F8
F9 =

F9 key

sf::Keyboard::F9
F10 =

F10 key

sf::Keyboard::F10
F11 =

F11 key

sf::Keyboard::F11
F12 =

F12 key

sf::Keyboard::F12
F13 =

F13 key

sf::Keyboard::F13
F14 =

F14 key

sf::Keyboard::F14
F15 =

F15 key

sf::Keyboard::F15
Pause =

Pause key

sf::Keyboard::Pause

Class Method Summary collapse

Class Method Details

.delocalize(key) ⇒ Integer

Get the corresponding keyboard scan_code for the given key

Parameters:

  • key (Integer)

Returns:

  • (Integer)


2001
2002
2003
# File 'LiteRGSS.rb.yard.rb', line 2001

def self.delocalize(key)

end

.localize(scan_code) ⇒ Integer

Get the corresponding keyboard Key for the given scan_code

Parameters:

  • scan_code (Integer)

Returns:

  • (Integer)


1995
1996
1997
# File 'LiteRGSS.rb.yard.rb', line 1995

def self.localize(scan_code)

end

.press?(key) ⇒ Boolean

Tell if the key is pressed

Parameters:

  • key (Integer)

Returns:

  • (Boolean)


1989
1990
1991
# File 'LiteRGSS.rb.yard.rb', line 1989

def self.press?(key)

end