Wise&mystical  1.0
Project about Europe
Loading...
Searching...
No Matches
Modifier key flags

Modifier key flags. More...

+ Collaboration diagram for Modifier key flags:

Macros

#define GLFW_MOD_SHIFT   0x0001
 If this bit is set one or more Shift keys were held down. More...
 
#define GLFW_MOD_CONTROL   0x0002
 If this bit is set one or more Control keys were held down. More...
 
#define GLFW_MOD_ALT   0x0004
 If this bit is set one or more Alt keys were held down. More...
 
#define GLFW_MOD_SUPER   0x0008
 If this bit is set one or more Super keys were held down. More...
 
#define GLFW_MOD_CAPS_LOCK   0x0010
 If this bit is set the Caps Lock key is enabled. More...
 
#define GLFW_MOD_NUM_LOCK   0x0020
 If this bit is set the Num Lock key is enabled. More...
 

Detailed Description

Modifier key flags.

See key input for how these are used.

Macro Definition Documentation

◆ GLFW_MOD_ALT

#define GLFW_MOD_ALT   0x0004

If this bit is set one or more Alt keys were held down.

If this bit is set one or more Alt keys were held down.

Definition at line 541 of file glfw3.h.

◆ GLFW_MOD_CAPS_LOCK

#define GLFW_MOD_CAPS_LOCK   0x0010

If this bit is set the Caps Lock key is enabled.

If this bit is set the Caps Lock key is enabled and the GLFW_LOCK_KEY_MODS input mode is set.

Definition at line 552 of file glfw3.h.

◆ GLFW_MOD_CONTROL

#define GLFW_MOD_CONTROL   0x0002

If this bit is set one or more Control keys were held down.

If this bit is set one or more Control keys were held down.

Definition at line 536 of file glfw3.h.

◆ GLFW_MOD_NUM_LOCK

#define GLFW_MOD_NUM_LOCK   0x0020

If this bit is set the Num Lock key is enabled.

If this bit is set the Num Lock key is enabled and the GLFW_LOCK_KEY_MODS input mode is set.

Definition at line 558 of file glfw3.h.

◆ GLFW_MOD_SHIFT

#define GLFW_MOD_SHIFT   0x0001

If this bit is set one or more Shift keys were held down.

If this bit is set one or more Shift keys were held down.

Definition at line 531 of file glfw3.h.

◆ GLFW_MOD_SUPER

#define GLFW_MOD_SUPER   0x0008

If this bit is set one or more Super keys were held down.

If this bit is set one or more Super keys were held down.

Definition at line 546 of file glfw3.h.