enum ImGui::ImGuiKey
Overview
Defined in:
types.crEnum Members
-
None =
0
-
Tab =
512
-
== ImGuiKey_NamedKey_BEGIN
-
LeftArrow =
513
-
RightArrow =
514
-
UpArrow =
515
-
DownArrow =
516
-
PageUp =
517
-
PageDown =
518
-
Home =
519
-
End =
520
-
Insert =
521
-
Delete =
522
-
Backspace =
523
-
Space =
524
-
Enter =
525
-
Escape =
526
-
LeftCtrl =
527
-
LeftShift =
528
-
LeftAlt =
529
-
LeftSuper =
530
-
RightCtrl =
531
-
RightShift =
532
-
RightAlt =
533
-
RightSuper =
534
-
Menu =
535
-
Num0 =
536
-
Num1 =
537
-
Num2 =
538
-
Num3 =
539
-
Num4 =
540
-
Num5 =
541
-
Num6 =
542
-
Num7 =
543
-
Num8 =
544
-
Num9 =
545
-
A =
546
-
B =
547
-
C =
548
-
D =
549
-
E =
550
-
F =
551
-
G =
552
-
H =
553
-
I =
554
-
J =
555
-
K =
556
-
L =
557
-
M =
558
-
N =
559
-
O =
560
-
P =
561
-
Q =
562
-
R =
563
-
S =
564
-
T =
565
-
U =
566
-
V =
567
-
W =
568
-
X =
569
-
Y =
570
-
Z =
571
-
F1 =
572
-
F2 =
573
-
F3 =
574
-
F4 =
575
-
F5 =
576
-
F6 =
577
-
F7 =
578
-
F8 =
579
-
F9 =
580
-
F10 =
581
-
F11 =
582
-
F12 =
583
-
F13 =
584
-
F14 =
585
-
F15 =
586
-
F16 =
587
-
F17 =
588
-
F18 =
589
-
F19 =
590
-
F20 =
591
-
F21 =
592
-
F22 =
593
-
F23 =
594
-
F24 =
595
-
Apostrophe =
596
-
'
-
Comma =
597
-
,
-
Minus =
598
-
-
Period =
599
-
.
-
Slash =
600
-
/
-
Semicolon =
601
-
;
-
Equal =
602
-
=
-
LeftBracket =
603
-
[
-
Backslash =
604
-
\ (this text inhibit multiline comment caused by backslash)
-
RightBracket =
605
-
]
-
GraveAccent =
606
-
`
-
CapsLock =
607
-
ScrollLock =
608
-
NumLock =
609
-
PrintScreen =
610
-
Pause =
611
-
Keypad0 =
612
-
Keypad1 =
613
-
Keypad2 =
614
-
Keypad3 =
615
-
Keypad4 =
616
-
Keypad5 =
617
-
Keypad6 =
618
-
Keypad7 =
619
-
Keypad8 =
620
-
Keypad9 =
621
-
KeypadDecimal =
622
-
KeypadDivide =
623
-
KeypadMultiply =
624
-
KeypadSubtract =
625
-
KeypadAdd =
626
-
KeypadEnter =
627
-
KeypadEqual =
628
-
AppBack =
629
-
Available on some keyboard/mouses. Often referred as "Browser Back"
-
AppForward =
630
-
GamepadStart =
631
-
Menu (Xbox) + (Switch) Start/Options (PS)
-
GamepadBack =
632
-
View (Xbox) - (Switch) Share (PS)
-
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
-
GamepadFaceDown =
636
-
A (Xbox) B (Switch) Cross (PS) Activate / Open / Toggle / Tweak
-
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)
-
GamepadDpadDown =
640
-
D-pad Down Move / Tweak / Resize Window (in Windowing mode)
-
GamepadL1 =
641
-
L Bumper (Xbox) L (Switch) L1 (PS) Tweak Slower / Focus Previous (in Windowing mode)
-
GamepadR1 =
642
-
R Bumper (Xbox) R (Switch) R1 (PS) Tweak Faster / Focus Next (in Windowing mode)
-
GamepadL2 =
643
-
L Trig. (Xbox) ZL (Switch) L2 (PS) [Analog]
-
GamepadR2 =
644
-
R Trig. (Xbox) ZR (Switch) R2 (PS) [Analog]
-
GamepadL3 =
645
-
L Stick (Xbox) L3 (Switch) L3 (PS)
-
GamepadR3 =
646
-
R Stick (Xbox) R3 (Switch) R3 (PS)
-
GamepadLStickLeft =
647
-
[Analog] Move Window (in Windowing mode)
-
GamepadLStickRight =
648
-
[Analog] Move Window (in Windowing mode)
-
GamepadLStickUp =
649
-
[Analog] Move Window (in Windowing mode)
-
GamepadLStickDown =
650
-
[Analog] Move Window (in Windowing mode)
-
GamepadRStickLeft =
651
-
[Analog]
-
GamepadRStickRight =
652
-
[Analog]
-
GamepadRStickUp =
653
-
[Analog]
-
GamepadRStickDown =
654
-
[Analog]
-
MouseLeft =
655
-
MouseRight =
656
-
MouseMiddle =
657
-
MouseX1 =
658
-
MouseX2 =
659
-
MouseWheelX =
660
-
MouseWheelY =
661
-
ReservedForModCtrl =
662
-
ReservedForModShift =
663
-
ReservedForModAlt =
664
-
ReservedForModSuper =
665
-
COUNT =
666
-
Mod_None =
0
-
Mod_Ctrl =
4096
-
Ctrl
-
Mod_Shift =
8192
-
Shift
-
Mod_Alt =
16384
-
Option/Menu
-
Mod_Super =
32768
-
Cmd/Super/Windows
-
Mod_Shortcut =
2048
-
Alias for Ctrl (non-macOS) or Super (macOS).
-
Mod_Mask_ =
63488
-
5-bits
Instance Method Summary
- #a?
- #apostrophe?
- #app_back?
- #app_forward?
- #b?
- #backslash?
- #backspace?
- #c?
- #caps_lock?
- #comma?
- #count?
- #d?
- #delete?
- #down_arrow?
- #e?
- #end?
- #enter?
- #equal?
- #escape?
- #f10?
- #f11?
- #f12?
- #f13?
- #f14?
- #f15?
- #f16?
- #f17?
- #f18?
- #f19?
- #f1?
- #f20?
- #f21?
- #f22?
- #f23?
- #f24?
- #f2?
- #f3?
- #f4?
- #f5?
- #f6?
- #f7?
- #f8?
- #f9?
- #f?
- #g?
- #gamepad_back?
- #gamepad_dpad_down?
- #gamepad_dpad_left?
- #gamepad_dpad_right?
- #gamepad_dpad_up?
- #gamepad_face_down?
- #gamepad_face_left?
- #gamepad_face_right?
- #gamepad_face_up?
- #gamepad_l1?
- #gamepad_l2?
- #gamepad_l3?
- #gamepad_l_stick_down?
- #gamepad_l_stick_left?
- #gamepad_l_stick_right?
- #gamepad_l_stick_up?
- #gamepad_r1?
- #gamepad_r2?
- #gamepad_r3?
- #gamepad_r_stick_down?
- #gamepad_r_stick_left?
- #gamepad_r_stick_right?
- #gamepad_r_stick_up?
- #gamepad_start?
- #grave_accent?
- #h?
- #home?
- #i?
- #insert?
- #j?
- #k?
- #keypad0?
- #keypad1?
- #keypad2?
- #keypad3?
- #keypad4?
- #keypad5?
- #keypad6?
- #keypad7?
- #keypad8?
- #keypad9?
- #keypad_add?
- #keypad_decimal?
- #keypad_divide?
- #keypad_enter?
- #keypad_equal?
- #keypad_multiply?
- #keypad_subtract?
- #l?
- #left_alt?
- #left_arrow?
- #left_bracket?
- #left_ctrl?
- #left_shift?
- #left_super?
- #m?
- #menu?
- #minus?
- #mod_alt?
- #mod_ctrl?
- #mod_mask_?
- #mod_none?
- #mod_shift?
- #mod_shortcut?
- #mod_super?
- #mouse_left?
- #mouse_middle?
- #mouse_right?
- #mouse_wheel_x?
- #mouse_wheel_y?
- #mouse_x1?
- #mouse_x2?
- #n?
- #none?
- #num0?
- #num1?
- #num2?
- #num3?
- #num4?
- #num5?
- #num6?
- #num7?
- #num8?
- #num9?
- #num_lock?
- #o?
- #p?
- #page_down?
- #page_up?
- #pause?
- #period?
- #print_screen?
- #q?
- #r?
- #reserved_for_mod_alt?
- #reserved_for_mod_ctrl?
- #reserved_for_mod_shift?
- #reserved_for_mod_super?
- #right_alt?
- #right_arrow?
- #right_bracket?
- #right_ctrl?
- #right_shift?
- #right_super?
- #s?
- #scroll_lock?
- #semicolon?
- #slash?
- #space?
- #t?
- #tab?
- #u?
- #up_arrow?
- #v?
- #w?
- #x?
- #y?
- #z?