alias ImGui::TopLevel::ImGuiKey

Alias Definition

ImGui::ImGuiKey

Defined in:

types.cr

Constant Summary

A = 546
Apostrophe = 596

'

AppBack = 629

Available on some keyboard/mouses. Often referred as "Browser Back"

AppForward = 630
B = 547
Backslash = 604

\ (this text inhibit multiline comment caused by backslash)

Backspace = 523
C = 548
CapsLock = 607
Comma = 597

,

COUNT = 666
D = 549
Delete = 522
DownArrow = 516
E = 550
End = 520
Enter = 525
Equal = 602

=

Escape = 526
F = 551
F1 = 572
F10 = 581
F11 = 582
F12 = 583
F13 = 584
F14 = 585
F15 = 586
F16 = 587
F17 = 588
F18 = 589
F19 = 590
F2 = 573
F20 = 591
F21 = 592
F22 = 593
F23 = 594
F24 = 595
F3 = 574
F4 = 575
F5 = 576
F6 = 577
F7 = 578
F8 = 579
F9 = 580
G = 552
GamepadBack = 632

View (Xbox) - (Switch) Share (PS)

GamepadDpadDown = 640

D-pad Down Move / Tweak / Resize Window (in Windowing mode)

GamepadDpadLeft = 637

D-pad Left Move / Tweak / Resize Window (in Windowing mode)

GamepadDpadRight = 638

D-pad Right Move / Tweak / Resize Window (in Windowing mode)

GamepadDpadUp = 639

D-pad Up Move / Tweak / Resize Window (in Windowing mode)

GamepadFaceDown = 636

A (Xbox) B (Switch) Cross (PS) Activate / Open / Toggle / Tweak

GamepadFaceLeft = 633

X (Xbox) Y (Switch) Square (PS) Tap: Toggle Menu. Hold: Windowing mode (Focus/Move/Resize windows)

GamepadFaceRight = 634

B (Xbox) A (Switch) Circle (PS) Cancel / Close / Exit

GamepadFaceUp = 635

Y (Xbox) X (Switch) Triangle (PS) Text Input / On-screen Keyboard

GamepadL1 = 641

L Bumper (Xbox) L (Switch) L1 (PS) Tweak Slower / Focus Previous (in Windowing mode)

GamepadL2 = 643

L Trig. (Xbox) ZL (Switch) L2 (PS) [Analog]

GamepadL3 = 645

L Stick (Xbox) L3 (Switch) L3 (PS)

GamepadLStickDown = 650

[Analog] Move Window (in Windowing mode)

GamepadLStickLeft = 647

[Analog] Move Window (in Windowing mode)

GamepadLStickRight = 648

[Analog] Move Window (in Windowing mode)

GamepadLStickUp = 649

[Analog] Move Window (in Windowing mode)

GamepadR1 = 642

R Bumper (Xbox) R (Switch) R1 (PS) Tweak Faster / Focus Next (in Windowing mode)

GamepadR2 = 644

R Trig. (Xbox) ZR (Switch) R2 (PS) [Analog]

GamepadR3 = 646

R Stick (Xbox) R3 (Switch) R3 (PS)

GamepadRStickDown = 654

[Analog]

GamepadRStickLeft = 651

[Analog]

GamepadRStickRight = 652

[Analog]

GamepadRStickUp = 653

[Analog]

GamepadStart = 631

Menu (Xbox) + (Switch) Start/Options (PS)

GraveAccent = 606

`

H = 553
Home = 519
I = 554
Insert = 521
J = 555
K = 556
Keypad0 = 612
Keypad1 = 613
Keypad2 = 614
Keypad3 = 615
Keypad4 = 616
Keypad5 = 617
Keypad6 = 618
Keypad7 = 619
Keypad8 = 620
Keypad9 = 621
KeypadAdd = 626
KeypadDecimal = 622
KeypadDivide = 623
KeypadEnter = 627
KeypadEqual = 628
KeypadMultiply = 624
KeypadSubtract = 625
L = 557
LeftAlt = 529
LeftArrow = 513
LeftBracket = 603

[

LeftCtrl = 527
LeftShift = 528
LeftSuper = 530
M = 558
Menu = 535
Minus = 598
Mod_Alt = 16384

Option/Menu

Mod_Ctrl = 4096

Ctrl

Mod_Mask_ = 63488

5-bits

Mod_None = 0
Mod_Shift = 8192

Shift

Mod_Shortcut = 2048

Alias for Ctrl (non-macOS) or Super (macOS).

Mod_Super = 32768

Cmd/Super/Windows

MouseLeft = 655
MouseMiddle = 657
MouseRight = 656
MouseWheelX = 660
MouseWheelY = 661
MouseX1 = 658
MouseX2 = 659
N = 559
None = 0
Num0 = 536
Num1 = 537
Num2 = 538
Num3 = 539
Num4 = 540
Num5 = 541
Num6 = 542
Num7 = 543
Num8 = 544
Num9 = 545
NumLock = 609
O = 560
P = 561
PageDown = 518
PageUp = 517
Pause = 611
Period = 599

.

PrintScreen = 610
Q = 562
R = 563
ReservedForModAlt = 664
ReservedForModCtrl = 662
ReservedForModShift = 663
ReservedForModSuper = 665
RightAlt = 533
RightArrow = 514
RightBracket = 605

]

RightCtrl = 531
RightShift = 532
RightSuper = 534
S = 564
ScrollLock = 608
Semicolon = 601

;

Slash = 600

/

Space = 524
T = 565
Tab = 512

== ImGuiKey_NamedKey_BEGIN

U = 566
UpArrow = 515
V = 567
W = 568
X = 569
Y = 570
Z = 571