Back to index

libsfml  1.6+dfsg2
Enumerations
sf::Key Namespace Reference

Definition of key codes for keyboard events /////////////////////////////////////////////////////////. More...

Enumerations

enum  Code {
  A = 'a', B = 'b', C = 'c', D = 'd',
  E = 'e', F = 'f', G = 'g', H = 'h',
  I = 'i', J = 'j', K = 'k', L = 'l',
  M = 'm', N = 'n', O = 'o', P = 'p',
  Q = 'q', R = 'r', S = 's', T = 't',
  U = 'u', V = 'v', W = 'w', X = 'x',
  Y = 'y', Z = 'z', Num0 = '0', Num1 = '1',
  Num2 = '2', Num3 = '3', Num4 = '4', Num5 = '5',
  Num6 = '6', Num7 = '7', Num8 = '8', Num9 = '9',
  Escape = 256, LControl, LShift, LAlt,
  LSystem, RControl, RShift, RAlt,
  RSystem, Menu, LBracket, RBracket,
  SemiColon, Comma, Period, Quote,
  Slash, BackSlash, Tilde, Equal,
  Dash, Space, Return, Back,
  Tab, PageUp, PageDown, End,
  Home, Insert, Delete, Add,
  Subtract, Multiply, Divide, Left,
  Right, Up, Down, Numpad0,
  Numpad1, Numpad2, Numpad3, Numpad4,
  Numpad5, Numpad6, Numpad7, Numpad8,
  Numpad9, F1, F2, F3,
  F4, F5, F6, F7,
  F8, F9, F10, F11,
  F12, F13, F14, F15,
  Pause, Count
}

Detailed Description

Definition of key codes for keyboard events /////////////////////////////////////////////////////////.


Enumeration Type Documentation

Enumerator:
A 
B 
C 
D 
E 
F 
G 
H 
I 
J 
K 
L 
M 
N 
O 
P 
Q 
R 
S 
T 
U 
V 
W 
X 
Y 
Z 
Num0 
Num1 
Num2 
Num3 
Num4 
Num5 
Num6 
Num7 
Num8 
Num9 
Escape 
LControl 
LShift 
LAlt 
LSystem 

OS specific key (left side) : windows (Win and Linux), apple (MacOS), ...

RControl 
RShift 
RAlt 
RSystem 

OS specific key (right side) : windows (Win and Linux), apple (MacOS), ...

Menu 
LBracket 

[

RBracket 

]

SemiColon 

;

Comma 

,

Period 
Quote 

'

Slash 

/

BackSlash 
Tilde 

~

Equal 

=

Dash 
Space 
Return 
Back 
Tab 
PageUp 
PageDown 
End 
Home 
Insert 
Delete 
Add 
Subtract 
Multiply 
Divide 

/

Left 

Left arrow.

Right 

Right arrow.

Up 

Up arrow.

Down 

Down arrow.

Numpad0 
Numpad1 
Numpad2 
Numpad3 
Numpad4 
Numpad5 
Numpad6 
Numpad7 
Numpad8 
Numpad9 
F1 
F2 
F3 
F4 
F5 
F6 
F7 
F8 
F9 
F10 
F11 
F12 
F13 
F14 
F15 
Pause 
Count 

Definition at line 41 of file Event.hpp.

    {
        A = 'a',
        B = 'b',
        C = 'c',
        D = 'd',
        E = 'e',
        F = 'f',
        G = 'g',
        H = 'h',
        I = 'i',
        J = 'j',
        K = 'k',
        L = 'l',
        M = 'm',
        N = 'n',
        O = 'o',
        P = 'p',
        Q = 'q',
        R = 'r',
        S = 's',
        T = 't',
        U = 'u',
        V = 'v',
        W = 'w',
        X = 'x',
        Y = 'y',
        Z = 'z',
        Num0 = '0',
        Num1 = '1',
        Num2 = '2',
        Num3 = '3',
        Num4 = '4',
        Num5 = '5',
        Num6 = '6',
        Num7 = '7',
        Num8 = '8',
        Num9 = '9', 
        Escape = 256,
        LControl,
        LShift,
        LAlt,
        LSystem,      
        RControl,
        RShift,
        RAlt,
        RSystem,      
        Menu,
        LBracket,     
        RBracket,     
        SemiColon,    
        Comma,        
        Period,       
        Quote,        
        Slash,        
        BackSlash,
        Tilde,        
        Equal,        
        Dash,         
        Space,
        Return,
        Back,
        Tab,
        PageUp,
        PageDown,
        End,
        Home,
        Insert,
        Delete,
        Add,          
        Subtract,     
        Multiply,     
        Divide,       
        Left,         
        Right,        
        Up,           
        Down,         
        Numpad0,
        Numpad1,
        Numpad2,
        Numpad3,
        Numpad4,
        Numpad5,
        Numpad6,
        Numpad7,
        Numpad8,
        Numpad9,
        F1,
        F2,
        F3,
        F4,
        F5,
        F6,
        F7,
        F8,
        F9,
        F10,
        F11,
        F12,
        F13,
        F14,
        F15,
        Pause,

        Count // Keep last -- total number of keyboard keys
    };