kraken-engine 1.0.0__cp313-cp313-win_amd64.whl → 1.1.0__cp313-cp313-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of kraken-engine might be problematic. Click here for more details.
- {kraken_engine-1.0.0.dist-info → kraken_engine-1.1.0.dist-info}/METADATA +1 -1
- {kraken_engine-1.0.0.dist-info → kraken_engine-1.1.0.dist-info}/RECORD +12 -9
- pykraken/__init__.py +1 -0
- pykraken/__init__.pyi +109 -6
- pykraken/_core/__init__.pyi +373 -133
- pykraken/_core/collision.pyi +235 -0
- pykraken/_core/renderer.pyi +22 -11
- pykraken/_core.cp313-win_amd64.pyd +0 -0
- pykraken/shader_uniform.py +55 -0
- pykraken/shader_uniform.pyi +59 -0
- {kraken_engine-1.0.0.dist-info → kraken_engine-1.1.0.dist-info}/WHEEL +0 -0
- {kraken_engine-1.0.0.dist-info → kraken_engine-1.1.0.dist-info}/licenses/LICENSE +0 -0
pykraken/_core/__init__.pyi
CHANGED
|
@@ -2,6 +2,7 @@ from __future__ import annotations
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import enum
|
|
4
4
|
import typing
|
|
5
|
+
from . import collision
|
|
5
6
|
from . import color
|
|
6
7
|
from . import draw
|
|
7
8
|
from . import ease
|
|
@@ -17,7 +18,7 @@ from . import renderer
|
|
|
17
18
|
from . import time
|
|
18
19
|
from . import transform
|
|
19
20
|
from . import window
|
|
20
|
-
__all__: list[str] = ['AUDIO_DEVICE_ADDED', 'AUDIO_DEVICE_FORMAT_CHANGED', 'AUDIO_DEVICE_REMOVED', 'Anchor', 'Animation', 'AnimationController', 'Audio', 'AudioStream', 'BOTTOM_LEFT', 'BOTTOM_MID', 'BOTTOM_RIGHT', '
|
|
21
|
+
__all__: list[str] = ['AUDIO_DEVICE_ADDED', 'AUDIO_DEVICE_FORMAT_CHANGED', 'AUDIO_DEVICE_REMOVED', 'Anchor', 'Animation', 'AnimationController', 'Audio', 'AudioStream', 'BOTTOM_LEFT', 'BOTTOM_MID', 'BOTTOM_RIGHT', 'CAMERA_DEVICE_ADDED', 'CAMERA_DEVICE_APPROVED', 'CAMERA_DEVICE_DENIED', 'CAMERA_DEVICE_REMOVED', 'CENTER', 'CLIPBOARD_UPDATE', 'C_BACK', 'C_DPAD_DOWN', 'C_DPAD_LEFT', 'C_DPAD_RIGHT', 'C_DPAD_UP', 'C_EAST', 'C_GUIDE', 'C_LSHOULDER', 'C_LSTICK', 'C_LTRIGGER', 'C_LX', 'C_LY', 'C_NORTH', 'C_PS3', 'C_PS4', 'C_PS5', 'C_RSHOULDER', 'C_RSTICK', 'C_RTRIGGER', 'C_RX', 'C_RY', 'C_SOUTH', 'C_STANDARD', 'C_START', 'C_SWITCH_JOYCON_LEFT', 'C_SWITCH_JOYCON_PAIR', 'C_SWITCH_JOYCON_RIGHT', 'C_SWITCH_PRO', 'C_WEST', 'C_XBOX_360', 'C_XBOX_ONE', 'Camera', 'Circle', 'Color', 'DID_ENTER_BACKGROUND', 'DID_ENTER_FOREGROUND', 'DISPLAY_ADDED', 'DISPLAY_CONTENT_SCALE_CHANGED', 'DISPLAY_CURRENT_MODE_CHANGED', 'DISPLAY_DESKTOP_MODE_CHANGED', 'DISPLAY_MOVED', 'DISPLAY_ORIENTATION', 'DISPLAY_REMOVED', 'DROP_BEGIN', 'DROP_COMPLETE', 'DROP_FILE', 'DROP_POSITION', 'DROP_TEXT', 'EasingAnimation', 'Event', 'EventType', 'FINGER_CANCELED', 'FINGER_DOWN', 'FINGER_MOTION', 'FINGER_UP', 'Font', 'Frame', 'GAMEPAD_ADDED', 'GAMEPAD_AXIS_MOTION', 'GAMEPAD_BUTTON_DOWN', 'GAMEPAD_BUTTON_UP', 'GAMEPAD_REMAPPED', 'GAMEPAD_REMOVED', 'GAMEPAD_SENSOR_UPDATE', 'GAMEPAD_STEAM_HANDLE_UPDATED', 'GAMEPAD_TOUCHPAD_DOWN', 'GAMEPAD_TOUCHPAD_MOTION', 'GAMEPAD_TOUCHPAD_UP', 'GAMEPAD_UPDATE_COMPLETE', 'GamepadAxis', 'GamepadButton', 'GamepadType', 'InputAction', 'KEYBOARD_ADDED', 'KEYBOARD_REMOVED', 'KEYMAP_CHANGED', 'KEY_DOWN', 'KEY_UP', 'K_0', 'K_1', 'K_2', 'K_3', 'K_4', 'K_5', 'K_6', 'K_7', 'K_8', 'K_9', 'K_AGAIN', 'K_AMPERSAND', 'K_APPLICATION', 'K_ASTERISK', 'K_AT', 'K_BACKSLASH', 'K_BACKSPACE', 'K_CALL', 'K_CAPS', 'K_CARET', 'K_CHANNEL_DEC', 'K_CHANNEL_INC', 'K_COLON', 'K_COMMA', 'K_COPY', 'K_CUT', 'K_DBLQUOTE', 'K_DEL', 'K_DOLLAR', 'K_DOWN', 'K_END', 'K_ENDCALL', 'K_EQ', 'K_ESC', 'K_EXCLAIM', 'K_EXECUTE', 'K_F1', 'K_F10', 'K_F11', 'K_F12', 'K_F13', 'K_F14', 'K_F15', 'K_F2', 'K_F3', 'K_F4', 'K_F5', 'K_F6', 'K_F7', 'K_F8', 'K_F9', 'K_FIND', 'K_GRAVE', 'K_GT', 'K_HASH', 'K_HELP', 'K_HOME', 'K_INS', 'K_KP_0', 'K_KP_1', 'K_KP_2', 'K_KP_3', 'K_KP_4', 'K_KP_5', 'K_KP_6', 'K_KP_7', 'K_KP_8', 'K_KP_9', 'K_KP_DIV', 'K_KP_ENTER', 'K_KP_MINUS', 'K_KP_MULT', 'K_KP_PERIOD', 'K_KP_PLUS', 'K_LALT', 'K_LBRACE', 'K_LBRACKET', 'K_LCTRL', 'K_LEFT', 'K_LGUI', 'K_LPAREN', 'K_LSHIFT', 'K_LT', 'K_MEDIA_EJECT', 'K_MEDIA_FF', 'K_MEDIA_NEXT', 'K_MEDIA_PAUSE', 'K_MEDIA_PLAY', 'K_MEDIA_PLAY_PAUSE', 'K_MEDIA_PREV', 'K_MEDIA_REC', 'K_MEDIA_REWIND', 'K_MEDIA_SELECT', 'K_MEDIA_STOP', 'K_MENU', 'K_MINUS', 'K_MODE', 'K_MUTE', 'K_NUMLOCK', 'K_PASTE', 'K_PAUSE', 'K_PERCENT', 'K_PERIOD', 'K_PGDOWN', 'K_PGUP', 'K_PIPE', 'K_PLUS', 'K_POWER', 'K_PRTSCR', 'K_QUESTION', 'K_RALT', 'K_RBRACE', 'K_RBRACKET', 'K_RCTRL', 'K_RETURN', 'K_RGUI', 'K_RIGHT', 'K_RPAREN', 'K_RSHIFT', 'K_SCRLK', 'K_SELECT', 'K_SEMICOLON', 'K_SGLQUOTE', 'K_SLASH', 'K_SLEEP', 'K_SOFTLEFT', 'K_SOFTRIGHT', 'K_SPACE', 'K_STOP', 'K_TAB', 'K_TILDE', 'K_UNDERSCORE', 'K_UNDO', 'K_UNKNOWN', 'K_UP', 'K_VOLDOWN', 'K_VOLUP', 'K_WAKE', 'K_a', 'K_b', 'K_c', 'K_d', 'K_e', 'K_f', 'K_g', 'K_h', 'K_i', 'K_j', 'K_k', 'K_l', 'K_m', 'K_n', 'K_o', 'K_p', 'K_q', 'K_r', 'K_s', 'K_t', 'K_u', 'K_v', 'K_w', 'K_x', 'K_y', 'K_z', 'Keycode', 'LOCALE_CHANGED', 'LOW_MEMORY', 'Line', 'MID_LEFT', 'MID_RIGHT', 'MOUSE_ADDED', 'MOUSE_BUTTON_DOWN', 'MOUSE_BUTTON_UP', 'MOUSE_MOTION', 'MOUSE_REMOVED', 'MOUSE_WHEEL', 'M_LEFT', 'M_MIDDLE', 'M_RIGHT', 'M_SIDE1', 'M_SIDE2', 'Mask', 'MouseButton', 'PEN_AXIS', 'PEN_BUTTON_DOWN', 'PEN_BUTTON_UP', 'PEN_DOWN', 'PEN_MOTION', 'PEN_PROXIMITY_IN', 'PEN_PROXIMITY_OUT', 'PEN_UP', 'P_DISTANCE', 'P_PRESSURE', 'P_ROTATION', 'P_SLIDER', 'P_TANGENTIAL_PRESSURE', 'P_TILT_X', 'P_TILT_Y', 'PenAxis', 'PixelArray', 'PolarCoordinate', 'Polygon', 'QUIT', 'RENDER_DEVICE_LOST', 'RENDER_DEVICE_RESET', 'RENDER_TARGETS_RESET', 'Rect', 'SENSOR_UPDATE', 'SYSTEM_THEME_CHANGED', 'S_0', 'S_1', 'S_2', 'S_3', 'S_4', 'S_5', 'S_6', 'S_7', 'S_8', 'S_9', 'S_AGAIN', 'S_APOSTROPHE', 'S_APPLICATION', 'S_BACKSLASH', 'S_BACKSPACE', 'S_CALL', 'S_CAPS', 'S_CHANNEL_DEC', 'S_CHANNEL_INC', 'S_COMMA', 'S_COPY', 'S_CUT', 'S_DEL', 'S_DOWN', 'S_END', 'S_ENDCALL', 'S_EQ', 'S_ESC', 'S_EXECUTE', 'S_F1', 'S_F10', 'S_F11', 'S_F12', 'S_F13', 'S_F14', 'S_F15', 'S_F2', 'S_F3', 'S_F4', 'S_F5', 'S_F6', 'S_F7', 'S_F8', 'S_F9', 'S_FIND', 'S_GRAVE', 'S_HELP', 'S_HOME', 'S_INS', 'S_KP_0', 'S_KP_1', 'S_KP_2', 'S_KP_3', 'S_KP_4', 'S_KP_5', 'S_KP_6', 'S_KP_7', 'S_KP_8', 'S_KP_9', 'S_KP_DIV', 'S_KP_ENTER', 'S_KP_MINUS', 'S_KP_MULT', 'S_KP_PERIOD', 'S_KP_PLUS', 'S_LALT', 'S_LBRACKET', 'S_LCTRL', 'S_LEFT', 'S_LGUI', 'S_LSHIFT', 'S_MEDIA_EJECT', 'S_MEDIA_FAST_FORWARD', 'S_MEDIA_NEXT', 'S_MEDIA_PAUSE', 'S_MEDIA_PLAY', 'S_MEDIA_PLAY_PAUSE', 'S_MEDIA_PREV', 'S_MEDIA_REC', 'S_MEDIA_REWIND', 'S_MEDIA_SELECT', 'S_MEDIA_STOP', 'S_MENU', 'S_MINUS', 'S_MODE', 'S_MUTE', 'S_NUMLOCK', 'S_PASTE', 'S_PAUSE', 'S_PERIOD', 'S_PGDOWN', 'S_PGUP', 'S_POWER', 'S_PRTSCR', 'S_RALT', 'S_RBRACKET', 'S_RCTRL', 'S_RETURN', 'S_RGUI', 'S_RIGHT', 'S_RSHIFT', 'S_SCRLK', 'S_SELECT', 'S_SEMICOLON', 'S_SLASH', 'S_SLEEP', 'S_SOFTLEFT', 'S_SOFTRIGHT', 'S_SPACE', 'S_STOP', 'S_TAB', 'S_UNDO', 'S_UP', 'S_VOLDOWN', 'S_VOLUP', 'S_WAKE', 'S_a', 'S_b', 'S_c', 'S_d', 'S_e', 'S_f', 'S_g', 'S_h', 'S_i', 'S_j', 'S_k', 'S_l', 'S_m', 'S_n', 'S_o', 'S_p', 'S_q', 'S_r', 'S_s', 'S_t', 'S_u', 'S_v', 'S_w', 'S_x', 'S_y', 'S_z', 'Scancode', 'ShaderState', 'TERMINATING', 'TEXT_EDITING', 'TEXT_EDITING_CANDIDATES', 'TEXT_INPUT', 'TOP_LEFT', 'TOP_MID', 'TOP_RIGHT', 'Texture', 'Tile', 'TileLayer', 'TileMap', 'Timer', 'Vec2', 'WILL_ENTER_BACKGROUND', 'WILL_ENTER_FOREGROUND', 'WINDOW_CLOSE_REQUESTED', 'WINDOW_DESTROYED', 'WINDOW_DISPLAY_CHANGED', 'WINDOW_DISPLAY_SCALE_CHANGED', 'WINDOW_ENTER_FULLSCREEN', 'WINDOW_EXPOSED', 'WINDOW_FOCUS_GAINED', 'WINDOW_FOCUS_LOST', 'WINDOW_HDR_STATE_CHANGED', 'WINDOW_HIDDEN', 'WINDOW_HIT_TEST', 'WINDOW_ICCPROF_CHANGED', 'WINDOW_LEAVE_FULLSCREEN', 'WINDOW_MAXIMIZED', 'WINDOW_MINIMIZED', 'WINDOW_MOUSE_ENTER', 'WINDOW_MOUSE_LEAVE', 'WINDOW_MOVED', 'WINDOW_OCCLUDED', 'WINDOW_RESIZED', 'WINDOW_RESTORED', 'WINDOW_SAFE_AREA_CHANGED', 'WINDOW_SHOWN', 'collision', 'color', 'draw', 'ease', 'event', 'gamepad', 'init', 'input', 'key', 'line', 'math', 'mouse', 'quit', 'rect', 'renderer', 'time', 'transform', 'window']
|
|
21
22
|
class Anchor(enum.IntEnum):
|
|
22
23
|
BOTTOM_LEFT: typing.ClassVar[Anchor] # value = <Anchor.BOTTOM_LEFT: 6>
|
|
23
24
|
BOTTOM_MID: typing.ClassVar[Anchor] # value = <Anchor.BOTTOM_MID: 7>
|
|
@@ -419,41 +420,6 @@ class Circle:
|
|
|
419
420
|
"""
|
|
420
421
|
Return the smallest rectangle that fully contains the circle.
|
|
421
422
|
"""
|
|
422
|
-
def collide_circle(self, circle: Circle) -> bool:
|
|
423
|
-
"""
|
|
424
|
-
Check collision with another circle.
|
|
425
|
-
|
|
426
|
-
Args:
|
|
427
|
-
circle (Circle): The circle to test.
|
|
428
|
-
"""
|
|
429
|
-
def collide_line(self, line: Line) -> bool:
|
|
430
|
-
"""
|
|
431
|
-
Check collision with a line.
|
|
432
|
-
|
|
433
|
-
Args:
|
|
434
|
-
line (Line): The line to test.
|
|
435
|
-
"""
|
|
436
|
-
def collide_point(self, point: Vec2) -> bool:
|
|
437
|
-
"""
|
|
438
|
-
Check if a point lies inside the circle.
|
|
439
|
-
|
|
440
|
-
Args:
|
|
441
|
-
point (Vec2): The point to test.
|
|
442
|
-
"""
|
|
443
|
-
def collide_rect(self, rect: Rect) -> bool:
|
|
444
|
-
"""
|
|
445
|
-
Check collision with a rectangle.
|
|
446
|
-
|
|
447
|
-
Args:
|
|
448
|
-
rect (Rect): The rectangle to test.
|
|
449
|
-
"""
|
|
450
|
-
def contains(self, shape: typing.Any) -> bool:
|
|
451
|
-
"""
|
|
452
|
-
Check if the circle fully contains the given shape.
|
|
453
|
-
|
|
454
|
-
Args:
|
|
455
|
-
shape (Vec2, Circle, or Rect): The shape to test.
|
|
456
|
-
"""
|
|
457
423
|
def copy(self) -> Circle:
|
|
458
424
|
"""
|
|
459
425
|
Return a copy of the circle.
|
|
@@ -533,14 +499,22 @@ class Color:
|
|
|
533
499
|
a (int, optional): Alpha value [0-255]. Defaults to 255.
|
|
534
500
|
"""
|
|
535
501
|
@typing.overload
|
|
536
|
-
def __init__(self,
|
|
502
|
+
def __init__(self, hex: str) -> None:
|
|
537
503
|
"""
|
|
538
|
-
Create a Color from a hex string
|
|
504
|
+
Create a Color from a hex string.
|
|
539
505
|
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
506
|
+
Args:
|
|
507
|
+
hex (str): Hex color string (with or without '#' prefix).
|
|
508
|
+
"""
|
|
509
|
+
@typing.overload
|
|
510
|
+
def __init__(self, sequence: collections.abc.Sequence) -> None:
|
|
511
|
+
"""
|
|
512
|
+
Create a Color from a sequence of RGB(A) integers.
|
|
513
|
+
|
|
514
|
+
Args:
|
|
515
|
+
sequence (list or tuple): A sequence of 3 or 4 integers [0-255].
|
|
516
|
+
- 3 values: RGB (alpha defaults to 255)
|
|
517
|
+
- 4 values: RGBA
|
|
544
518
|
"""
|
|
545
519
|
def __iter__(self) -> collections.abc.Iterator:
|
|
546
520
|
"""
|
|
@@ -560,6 +534,20 @@ class Color:
|
|
|
560
534
|
Returns:
|
|
561
535
|
int: Always returns 4 (for r, g, b, a channels).
|
|
562
536
|
"""
|
|
537
|
+
def __mul__(self, scalar: typing.SupportsFloat) -> Color:
|
|
538
|
+
"""
|
|
539
|
+
Multiply RGB color channels by a scalar value.
|
|
540
|
+
|
|
541
|
+
Multiplies each RGB component by the scalar. Results are clamped to [0, 255].
|
|
542
|
+
The alpha channel is preserved unchanged.
|
|
543
|
+
Negative scalars invert the color before applying the absolute value.
|
|
544
|
+
|
|
545
|
+
Args:
|
|
546
|
+
scalar (float): Scalar multiplier (any positive or negative value).
|
|
547
|
+
|
|
548
|
+
Returns:
|
|
549
|
+
Color: New Color with scaled RGB values and original alpha.
|
|
550
|
+
"""
|
|
563
551
|
def __ne__(self, other: Color) -> bool:
|
|
564
552
|
"""
|
|
565
553
|
Check if two Color objects are not equal.
|
|
@@ -570,6 +558,16 @@ class Color:
|
|
|
570
558
|
Returns:
|
|
571
559
|
bool: True if any component differs, False otherwise.
|
|
572
560
|
"""
|
|
561
|
+
def __neg__(self) -> Color:
|
|
562
|
+
"""
|
|
563
|
+
Unary negation operator to invert the color.
|
|
564
|
+
|
|
565
|
+
Returns the inverted color by flipping RGB channels (255 - value).
|
|
566
|
+
The alpha channel is preserved unchanged.
|
|
567
|
+
|
|
568
|
+
Returns:
|
|
569
|
+
Color: New Color with inverted RGB values and original alpha.
|
|
570
|
+
"""
|
|
573
571
|
def __repr__(self) -> str:
|
|
574
572
|
"""
|
|
575
573
|
Return a string suitable for debugging and recreation.
|
|
@@ -577,6 +575,20 @@ class Color:
|
|
|
577
575
|
Returns:
|
|
578
576
|
str: String in format "Color(r, g, b, a)" that can recreate the object.
|
|
579
577
|
"""
|
|
578
|
+
def __rmul__(self, scalar: typing.SupportsFloat) -> Color:
|
|
579
|
+
"""
|
|
580
|
+
Multiply RGB color channels by a scalar value (reverse multiplication).
|
|
581
|
+
|
|
582
|
+
Allows scalar * color syntax in addition to color * scalar.
|
|
583
|
+
Results are clamped to [0, 255]. The alpha channel is preserved unchanged.
|
|
584
|
+
Negative scalars invert the color before applying the absolute value.
|
|
585
|
+
|
|
586
|
+
Args:
|
|
587
|
+
scalar (float): Scalar multiplier (any positive or negative value).
|
|
588
|
+
|
|
589
|
+
Returns:
|
|
590
|
+
Color: New Color with scaled RGB values and original alpha.
|
|
591
|
+
"""
|
|
580
592
|
def __setitem__(self, index: typing.SupportsInt, value: typing.SupportsInt) -> None:
|
|
581
593
|
"""
|
|
582
594
|
Set a color channel by index.
|
|
@@ -595,6 +607,23 @@ class Color:
|
|
|
595
607
|
Returns:
|
|
596
608
|
str: String in format "(r, g, b, a)" with integer values.
|
|
597
609
|
"""
|
|
610
|
+
def __truediv__(self, scalar: typing.SupportsFloat) -> Color:
|
|
611
|
+
"""
|
|
612
|
+
Divide RGB color channels by a scalar value.
|
|
613
|
+
|
|
614
|
+
Divides each RGB component by the scalar. Results are clamped to [0, 255].
|
|
615
|
+
The alpha channel is preserved unchanged.
|
|
616
|
+
Negative scalars invert the color before applying the absolute value.
|
|
617
|
+
|
|
618
|
+
Args:
|
|
619
|
+
scalar (float): Scalar divisor (any positive or negative value except 0).
|
|
620
|
+
|
|
621
|
+
Returns:
|
|
622
|
+
Color: New Color with divided RGB values and original alpha.
|
|
623
|
+
|
|
624
|
+
Raises:
|
|
625
|
+
ValueError: If scalar is zero.
|
|
626
|
+
"""
|
|
598
627
|
def copy(self) -> Color:
|
|
599
628
|
"""
|
|
600
629
|
Create a copy of the color.
|
|
@@ -760,27 +789,48 @@ class EventType(enum.IntEnum):
|
|
|
760
789
|
AUDIO_DEVICE_ADDED: typing.ClassVar[EventType] # value = <EventType.AUDIO_DEVICE_ADDED: 4352>
|
|
761
790
|
AUDIO_DEVICE_FORMAT_CHANGED: typing.ClassVar[EventType] # value = <EventType.AUDIO_DEVICE_FORMAT_CHANGED: 4354>
|
|
762
791
|
AUDIO_DEVICE_REMOVED: typing.ClassVar[EventType] # value = <EventType.AUDIO_DEVICE_REMOVED: 4353>
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
792
|
+
CAMERA_DEVICE_ADDED: typing.ClassVar[EventType] # value = <EventType.CAMERA_DEVICE_ADDED: 5120>
|
|
793
|
+
CAMERA_DEVICE_APPROVED: typing.ClassVar[EventType] # value = <EventType.CAMERA_DEVICE_APPROVED: 5122>
|
|
794
|
+
CAMERA_DEVICE_DENIED: typing.ClassVar[EventType] # value = <EventType.CAMERA_DEVICE_DENIED: 5123>
|
|
795
|
+
CAMERA_DEVICE_REMOVED: typing.ClassVar[EventType] # value = <EventType.CAMERA_DEVICE_REMOVED: 5121>
|
|
796
|
+
CLIPBOARD_UPDATE: typing.ClassVar[EventType] # value = <EventType.CLIPBOARD_UPDATE: 2304>
|
|
797
|
+
DID_ENTER_BACKGROUND: typing.ClassVar[EventType] # value = <EventType.DID_ENTER_BACKGROUND: 260>
|
|
798
|
+
DID_ENTER_FOREGROUND: typing.ClassVar[EventType] # value = <EventType.DID_ENTER_FOREGROUND: 262>
|
|
799
|
+
DISPLAY_ADDED: typing.ClassVar[EventType] # value = <EventType.DISPLAY_ADDED: 338>
|
|
800
|
+
DISPLAY_CONTENT_SCALE_CHANGED: typing.ClassVar[EventType] # value = <EventType.DISPLAY_CONTENT_SCALE_CHANGED: 343>
|
|
801
|
+
DISPLAY_CURRENT_MODE_CHANGED: typing.ClassVar[EventType] # value = <EventType.DISPLAY_CURRENT_MODE_CHANGED: 342>
|
|
802
|
+
DISPLAY_DESKTOP_MODE_CHANGED: typing.ClassVar[EventType] # value = <EventType.DISPLAY_DESKTOP_MODE_CHANGED: 341>
|
|
803
|
+
DISPLAY_MOVED: typing.ClassVar[EventType] # value = <EventType.DISPLAY_MOVED: 340>
|
|
804
|
+
DISPLAY_ORIENTATION: typing.ClassVar[EventType] # value = <EventType.DISPLAY_ORIENTATION: 337>
|
|
805
|
+
DISPLAY_REMOVED: typing.ClassVar[EventType] # value = <EventType.DISPLAY_REMOVED: 339>
|
|
767
806
|
DROP_BEGIN: typing.ClassVar[EventType] # value = <EventType.DROP_BEGIN: 4098>
|
|
768
807
|
DROP_COMPLETE: typing.ClassVar[EventType] # value = <EventType.DROP_COMPLETE: 4099>
|
|
769
808
|
DROP_FILE: typing.ClassVar[EventType] # value = <EventType.DROP_FILE: 4096>
|
|
770
809
|
DROP_POSITION: typing.ClassVar[EventType] # value = <EventType.DROP_POSITION: 4100>
|
|
771
810
|
DROP_TEXT: typing.ClassVar[EventType] # value = <EventType.DROP_TEXT: 4097>
|
|
811
|
+
FINGER_CANCELED: typing.ClassVar[EventType] # value = <EventType.FINGER_CANCELED: 1795>
|
|
812
|
+
FINGER_DOWN: typing.ClassVar[EventType] # value = <EventType.FINGER_DOWN: 1792>
|
|
813
|
+
FINGER_MOTION: typing.ClassVar[EventType] # value = <EventType.FINGER_MOTION: 1794>
|
|
814
|
+
FINGER_UP: typing.ClassVar[EventType] # value = <EventType.FINGER_UP: 1793>
|
|
772
815
|
GAMEPAD_ADDED: typing.ClassVar[EventType] # value = <EventType.GAMEPAD_ADDED: 1619>
|
|
773
816
|
GAMEPAD_AXIS_MOTION: typing.ClassVar[EventType] # value = <EventType.GAMEPAD_AXIS_MOTION: 1616>
|
|
774
817
|
GAMEPAD_BUTTON_DOWN: typing.ClassVar[EventType] # value = <EventType.GAMEPAD_BUTTON_DOWN: 1617>
|
|
775
818
|
GAMEPAD_BUTTON_UP: typing.ClassVar[EventType] # value = <EventType.GAMEPAD_BUTTON_UP: 1618>
|
|
819
|
+
GAMEPAD_REMAPPED: typing.ClassVar[EventType] # value = <EventType.GAMEPAD_REMAPPED: 1621>
|
|
776
820
|
GAMEPAD_REMOVED: typing.ClassVar[EventType] # value = <EventType.GAMEPAD_REMOVED: 1620>
|
|
821
|
+
GAMEPAD_SENSOR_UPDATE: typing.ClassVar[EventType] # value = <EventType.GAMEPAD_SENSOR_UPDATE: 1625>
|
|
822
|
+
GAMEPAD_STEAM_HANDLE_UPDATED: typing.ClassVar[EventType] # value = <EventType.GAMEPAD_STEAM_HANDLE_UPDATED: 1627>
|
|
777
823
|
GAMEPAD_TOUCHPAD_DOWN: typing.ClassVar[EventType] # value = <EventType.GAMEPAD_TOUCHPAD_DOWN: 1622>
|
|
778
824
|
GAMEPAD_TOUCHPAD_MOTION: typing.ClassVar[EventType] # value = <EventType.GAMEPAD_TOUCHPAD_MOTION: 1623>
|
|
779
825
|
GAMEPAD_TOUCHPAD_UP: typing.ClassVar[EventType] # value = <EventType.GAMEPAD_TOUCHPAD_UP: 1624>
|
|
826
|
+
GAMEPAD_UPDATE_COMPLETE: typing.ClassVar[EventType] # value = <EventType.GAMEPAD_UPDATE_COMPLETE: 1626>
|
|
780
827
|
KEYBOARD_ADDED: typing.ClassVar[EventType] # value = <EventType.KEYBOARD_ADDED: 773>
|
|
781
828
|
KEYBOARD_REMOVED: typing.ClassVar[EventType] # value = <EventType.KEYBOARD_REMOVED: 774>
|
|
829
|
+
KEYMAP_CHANGED: typing.ClassVar[EventType] # value = <EventType.KEYMAP_CHANGED: 772>
|
|
782
830
|
KEY_DOWN: typing.ClassVar[EventType] # value = <EventType.KEY_DOWN: 768>
|
|
783
831
|
KEY_UP: typing.ClassVar[EventType] # value = <EventType.KEY_UP: 769>
|
|
832
|
+
LOCALE_CHANGED: typing.ClassVar[EventType] # value = <EventType.LOCALE_CHANGED: 263>
|
|
833
|
+
LOW_MEMORY: typing.ClassVar[EventType] # value = <EventType.LOW_MEMORY: 258>
|
|
784
834
|
MOUSE_ADDED: typing.ClassVar[EventType] # value = <EventType.MOUSE_ADDED: 1028>
|
|
785
835
|
MOUSE_BUTTON_DOWN: typing.ClassVar[EventType] # value = <EventType.MOUSE_BUTTON_DOWN: 1025>
|
|
786
836
|
MOUSE_BUTTON_UP: typing.ClassVar[EventType] # value = <EventType.MOUSE_BUTTON_UP: 1026>
|
|
@@ -796,13 +846,29 @@ class EventType(enum.IntEnum):
|
|
|
796
846
|
PEN_PROXIMITY_OUT: typing.ClassVar[EventType] # value = <EventType.PEN_PROXIMITY_OUT: 4865>
|
|
797
847
|
PEN_UP: typing.ClassVar[EventType] # value = <EventType.PEN_UP: 4867>
|
|
798
848
|
QUIT: typing.ClassVar[EventType] # value = <EventType.QUIT: 256>
|
|
849
|
+
RENDER_DEVICE_LOST: typing.ClassVar[EventType] # value = <EventType.RENDER_DEVICE_LOST: 8194>
|
|
850
|
+
RENDER_DEVICE_RESET: typing.ClassVar[EventType] # value = <EventType.RENDER_DEVICE_RESET: 8193>
|
|
851
|
+
RENDER_TARGETS_RESET: typing.ClassVar[EventType] # value = <EventType.RENDER_TARGETS_RESET: 8192>
|
|
852
|
+
SENSOR_UPDATE: typing.ClassVar[EventType] # value = <EventType.SENSOR_UPDATE: 4608>
|
|
853
|
+
SYSTEM_THEME_CHANGED: typing.ClassVar[EventType] # value = <EventType.SYSTEM_THEME_CHANGED: 264>
|
|
854
|
+
TERMINATING: typing.ClassVar[EventType] # value = <EventType.TERMINATING: 257>
|
|
799
855
|
TEXT_EDITING: typing.ClassVar[EventType] # value = <EventType.TEXT_EDITING: 770>
|
|
856
|
+
TEXT_EDITING_CANDIDATES: typing.ClassVar[EventType] # value = <EventType.TEXT_EDITING_CANDIDATES: 775>
|
|
800
857
|
TEXT_INPUT: typing.ClassVar[EventType] # value = <EventType.TEXT_INPUT: 771>
|
|
858
|
+
WILL_ENTER_BACKGROUND: typing.ClassVar[EventType] # value = <EventType.WILL_ENTER_BACKGROUND: 259>
|
|
859
|
+
WILL_ENTER_FOREGROUND: typing.ClassVar[EventType] # value = <EventType.WILL_ENTER_FOREGROUND: 261>
|
|
860
|
+
WINDOW_CLOSE_REQUESTED: typing.ClassVar[EventType] # value = <EventType.WINDOW_CLOSE_REQUESTED: 528>
|
|
861
|
+
WINDOW_DESTROYED: typing.ClassVar[EventType] # value = <EventType.WINDOW_DESTROYED: 537>
|
|
862
|
+
WINDOW_DISPLAY_CHANGED: typing.ClassVar[EventType] # value = <EventType.WINDOW_DISPLAY_CHANGED: 531>
|
|
863
|
+
WINDOW_DISPLAY_SCALE_CHANGED: typing.ClassVar[EventType] # value = <EventType.WINDOW_DISPLAY_SCALE_CHANGED: 532>
|
|
801
864
|
WINDOW_ENTER_FULLSCREEN: typing.ClassVar[EventType] # value = <EventType.WINDOW_ENTER_FULLSCREEN: 535>
|
|
802
865
|
WINDOW_EXPOSED: typing.ClassVar[EventType] # value = <EventType.WINDOW_EXPOSED: 516>
|
|
803
866
|
WINDOW_FOCUS_GAINED: typing.ClassVar[EventType] # value = <EventType.WINDOW_FOCUS_GAINED: 526>
|
|
804
867
|
WINDOW_FOCUS_LOST: typing.ClassVar[EventType] # value = <EventType.WINDOW_FOCUS_LOST: 527>
|
|
868
|
+
WINDOW_HDR_STATE_CHANGED: typing.ClassVar[EventType] # value = <EventType.WINDOW_HDR_STATE_CHANGED: 538>
|
|
805
869
|
WINDOW_HIDDEN: typing.ClassVar[EventType] # value = <EventType.WINDOW_HIDDEN: 515>
|
|
870
|
+
WINDOW_HIT_TEST: typing.ClassVar[EventType] # value = <EventType.WINDOW_HIT_TEST: 529>
|
|
871
|
+
WINDOW_ICCPROF_CHANGED: typing.ClassVar[EventType] # value = <EventType.WINDOW_ICCPROF_CHANGED: 530>
|
|
806
872
|
WINDOW_LEAVE_FULLSCREEN: typing.ClassVar[EventType] # value = <EventType.WINDOW_LEAVE_FULLSCREEN: 536>
|
|
807
873
|
WINDOW_MAXIMIZED: typing.ClassVar[EventType] # value = <EventType.WINDOW_MAXIMIZED: 522>
|
|
808
874
|
WINDOW_MINIMIZED: typing.ClassVar[EventType] # value = <EventType.WINDOW_MINIMIZED: 521>
|
|
@@ -812,6 +878,7 @@ class EventType(enum.IntEnum):
|
|
|
812
878
|
WINDOW_OCCLUDED: typing.ClassVar[EventType] # value = <EventType.WINDOW_OCCLUDED: 534>
|
|
813
879
|
WINDOW_RESIZED: typing.ClassVar[EventType] # value = <EventType.WINDOW_RESIZED: 518>
|
|
814
880
|
WINDOW_RESTORED: typing.ClassVar[EventType] # value = <EventType.WINDOW_RESTORED: 523>
|
|
881
|
+
WINDOW_SAFE_AREA_CHANGED: typing.ClassVar[EventType] # value = <EventType.WINDOW_SAFE_AREA_CHANGED: 533>
|
|
815
882
|
WINDOW_SHOWN: typing.ClassVar[EventType] # value = <EventType.WINDOW_SHOWN: 514>
|
|
816
883
|
@classmethod
|
|
817
884
|
def __new__(cls, value):
|
|
@@ -1052,12 +1119,16 @@ class Keycode(enum.IntEnum):
|
|
|
1052
1119
|
K_9: typing.ClassVar[Keycode] # value = <Keycode.K_9: 57>
|
|
1053
1120
|
K_AGAIN: typing.ClassVar[Keycode] # value = <Keycode.K_AGAIN: 1073741945>
|
|
1054
1121
|
K_AMPERSAND: typing.ClassVar[Keycode] # value = <Keycode.K_AMPERSAND: 38>
|
|
1122
|
+
K_APPLICATION: typing.ClassVar[Keycode] # value = <Keycode.K_APPLICATION: 1073741925>
|
|
1055
1123
|
K_ASTERISK: typing.ClassVar[Keycode] # value = <Keycode.K_ASTERISK: 42>
|
|
1056
1124
|
K_AT: typing.ClassVar[Keycode] # value = <Keycode.K_AT: 64>
|
|
1057
1125
|
K_BACKSLASH: typing.ClassVar[Keycode] # value = <Keycode.K_BACKSLASH: 92>
|
|
1058
1126
|
K_BACKSPACE: typing.ClassVar[Keycode] # value = <Keycode.K_BACKSPACE: 8>
|
|
1127
|
+
K_CALL: typing.ClassVar[Keycode] # value = <Keycode.K_CALL: 1073742113>
|
|
1059
1128
|
K_CAPS: typing.ClassVar[Keycode] # value = <Keycode.K_CAPS: 1073741881>
|
|
1060
1129
|
K_CARET: typing.ClassVar[Keycode] # value = <Keycode.K_CARET: 94>
|
|
1130
|
+
K_CHANNEL_DEC: typing.ClassVar[Keycode] # value = <Keycode.K_CHANNEL_DEC: 1073742085>
|
|
1131
|
+
K_CHANNEL_INC: typing.ClassVar[Keycode] # value = <Keycode.K_CHANNEL_INC: 1073742084>
|
|
1061
1132
|
K_COLON: typing.ClassVar[Keycode] # value = <Keycode.K_COLON: 58>
|
|
1062
1133
|
K_COMMA: typing.ClassVar[Keycode] # value = <Keycode.K_COMMA: 44>
|
|
1063
1134
|
K_COPY: typing.ClassVar[Keycode] # value = <Keycode.K_COPY: 1073741948>
|
|
@@ -1067,13 +1138,18 @@ class Keycode(enum.IntEnum):
|
|
|
1067
1138
|
K_DOLLAR: typing.ClassVar[Keycode] # value = <Keycode.K_DOLLAR: 36>
|
|
1068
1139
|
K_DOWN: typing.ClassVar[Keycode] # value = <Keycode.K_DOWN: 1073741905>
|
|
1069
1140
|
K_END: typing.ClassVar[Keycode] # value = <Keycode.K_END: 1073741901>
|
|
1141
|
+
K_ENDCALL: typing.ClassVar[Keycode] # value = <Keycode.K_ENDCALL: 1073742114>
|
|
1070
1142
|
K_EQ: typing.ClassVar[Keycode] # value = <Keycode.K_EQ: 61>
|
|
1071
1143
|
K_ESC: typing.ClassVar[Keycode] # value = <Keycode.K_ESC: 27>
|
|
1072
1144
|
K_EXCLAIM: typing.ClassVar[Keycode] # value = <Keycode.K_EXCLAIM: 33>
|
|
1145
|
+
K_EXECUTE: typing.ClassVar[Keycode] # value = <Keycode.K_EXECUTE: 1073741940>
|
|
1073
1146
|
K_F1: typing.ClassVar[Keycode] # value = <Keycode.K_F1: 1073741882>
|
|
1074
1147
|
K_F10: typing.ClassVar[Keycode] # value = <Keycode.K_F10: 1073741891>
|
|
1075
1148
|
K_F11: typing.ClassVar[Keycode] # value = <Keycode.K_F11: 1073741892>
|
|
1076
1149
|
K_F12: typing.ClassVar[Keycode] # value = <Keycode.K_F12: 1073741893>
|
|
1150
|
+
K_F13: typing.ClassVar[Keycode] # value = <Keycode.K_F13: 1073741928>
|
|
1151
|
+
K_F14: typing.ClassVar[Keycode] # value = <Keycode.K_F14: 1073741929>
|
|
1152
|
+
K_F15: typing.ClassVar[Keycode] # value = <Keycode.K_F15: 1073741930>
|
|
1077
1153
|
K_F2: typing.ClassVar[Keycode] # value = <Keycode.K_F2: 1073741883>
|
|
1078
1154
|
K_F3: typing.ClassVar[Keycode] # value = <Keycode.K_F3: 1073741884>
|
|
1079
1155
|
K_F4: typing.ClassVar[Keycode] # value = <Keycode.K_F4: 1073741885>
|
|
@@ -1086,6 +1162,7 @@ class Keycode(enum.IntEnum):
|
|
|
1086
1162
|
K_GRAVE: typing.ClassVar[Keycode] # value = <Keycode.K_GRAVE: 96>
|
|
1087
1163
|
K_GT: typing.ClassVar[Keycode] # value = <Keycode.K_GT: 62>
|
|
1088
1164
|
K_HASH: typing.ClassVar[Keycode] # value = <Keycode.K_HASH: 35>
|
|
1165
|
+
K_HELP: typing.ClassVar[Keycode] # value = <Keycode.K_HELP: 1073741941>
|
|
1089
1166
|
K_HOME: typing.ClassVar[Keycode] # value = <Keycode.K_HOME: 1073741898>
|
|
1090
1167
|
K_INS: typing.ClassVar[Keycode] # value = <Keycode.K_INS: 1073741897>
|
|
1091
1168
|
K_KP_0: typing.ClassVar[Keycode] # value = <Keycode.K_KP_0: 1073741922>
|
|
@@ -1113,7 +1190,20 @@ class Keycode(enum.IntEnum):
|
|
|
1113
1190
|
K_LPAREN: typing.ClassVar[Keycode] # value = <Keycode.K_LPAREN: 40>
|
|
1114
1191
|
K_LSHIFT: typing.ClassVar[Keycode] # value = <Keycode.K_LSHIFT: 1073742049>
|
|
1115
1192
|
K_LT: typing.ClassVar[Keycode] # value = <Keycode.K_LT: 60>
|
|
1193
|
+
K_MEDIA_EJECT: typing.ClassVar[Keycode] # value = <Keycode.K_MEDIA_EJECT: 1073742094>
|
|
1194
|
+
K_MEDIA_FF: typing.ClassVar[Keycode] # value = <Keycode.K_MEDIA_FF: 1073742089>
|
|
1195
|
+
K_MEDIA_NEXT: typing.ClassVar[Keycode] # value = <Keycode.K_MEDIA_NEXT: 1073742091>
|
|
1196
|
+
K_MEDIA_PAUSE: typing.ClassVar[Keycode] # value = <Keycode.K_MEDIA_PAUSE: 1073742087>
|
|
1197
|
+
K_MEDIA_PLAY: typing.ClassVar[Keycode] # value = <Keycode.K_MEDIA_PLAY: 1073742086>
|
|
1198
|
+
K_MEDIA_PLAY_PAUSE: typing.ClassVar[Keycode] # value = <Keycode.K_MEDIA_PLAY_PAUSE: 1073742095>
|
|
1199
|
+
K_MEDIA_PREV: typing.ClassVar[Keycode] # value = <Keycode.K_MEDIA_PREV: 1073742092>
|
|
1200
|
+
K_MEDIA_REC: typing.ClassVar[Keycode] # value = <Keycode.K_MEDIA_REC: 1073742088>
|
|
1201
|
+
K_MEDIA_REWIND: typing.ClassVar[Keycode] # value = <Keycode.K_MEDIA_REWIND: 1073742090>
|
|
1202
|
+
K_MEDIA_SELECT: typing.ClassVar[Keycode] # value = <Keycode.K_MEDIA_SELECT: 1073742096>
|
|
1203
|
+
K_MEDIA_STOP: typing.ClassVar[Keycode] # value = <Keycode.K_MEDIA_STOP: 1073742093>
|
|
1204
|
+
K_MENU: typing.ClassVar[Keycode] # value = <Keycode.K_MENU: 1073741942>
|
|
1116
1205
|
K_MINUS: typing.ClassVar[Keycode] # value = <Keycode.K_MINUS: 45>
|
|
1206
|
+
K_MODE: typing.ClassVar[Keycode] # value = <Keycode.K_MODE: 1073742081>
|
|
1117
1207
|
K_MUTE: typing.ClassVar[Keycode] # value = <Keycode.K_MUTE: 1073741951>
|
|
1118
1208
|
K_NUMLOCK: typing.ClassVar[Keycode] # value = <Keycode.K_NUMLOCK: 1073741907>
|
|
1119
1209
|
K_PASTE: typing.ClassVar[Keycode] # value = <Keycode.K_PASTE: 1073741949>
|
|
@@ -1124,6 +1214,7 @@ class Keycode(enum.IntEnum):
|
|
|
1124
1214
|
K_PGUP: typing.ClassVar[Keycode] # value = <Keycode.K_PGUP: 1073741899>
|
|
1125
1215
|
K_PIPE: typing.ClassVar[Keycode] # value = <Keycode.K_PIPE: 124>
|
|
1126
1216
|
K_PLUS: typing.ClassVar[Keycode] # value = <Keycode.K_PLUS: 43>
|
|
1217
|
+
K_POWER: typing.ClassVar[Keycode] # value = <Keycode.K_POWER: 1073741926>
|
|
1127
1218
|
K_PRTSCR: typing.ClassVar[Keycode] # value = <Keycode.K_PRTSCR: 1073741894>
|
|
1128
1219
|
K_QUESTION: typing.ClassVar[Keycode] # value = <Keycode.K_QUESTION: 63>
|
|
1129
1220
|
K_RALT: typing.ClassVar[Keycode] # value = <Keycode.K_RALT: 1073742054>
|
|
@@ -1136,17 +1227,24 @@ class Keycode(enum.IntEnum):
|
|
|
1136
1227
|
K_RPAREN: typing.ClassVar[Keycode] # value = <Keycode.K_RPAREN: 41>
|
|
1137
1228
|
K_RSHIFT: typing.ClassVar[Keycode] # value = <Keycode.K_RSHIFT: 1073742053>
|
|
1138
1229
|
K_SCRLK: typing.ClassVar[Keycode] # value = <Keycode.K_SCRLK: 1073741895>
|
|
1230
|
+
K_SELECT: typing.ClassVar[Keycode] # value = <Keycode.K_SELECT: 1073741943>
|
|
1139
1231
|
K_SEMICOLON: typing.ClassVar[Keycode] # value = <Keycode.K_SEMICOLON: 59>
|
|
1140
1232
|
K_SGLQUOTE: typing.ClassVar[Keycode] # value = <Keycode.K_SGLQUOTE: 39>
|
|
1141
1233
|
K_SLASH: typing.ClassVar[Keycode] # value = <Keycode.K_SLASH: 47>
|
|
1234
|
+
K_SLEEP: typing.ClassVar[Keycode] # value = <Keycode.K_SLEEP: 1073742082>
|
|
1235
|
+
K_SOFTLEFT: typing.ClassVar[Keycode] # value = <Keycode.K_SOFTLEFT: 1073742111>
|
|
1236
|
+
K_SOFTRIGHT: typing.ClassVar[Keycode] # value = <Keycode.K_SOFTRIGHT: 1073742112>
|
|
1142
1237
|
K_SPACE: typing.ClassVar[Keycode] # value = <Keycode.K_SPACE: 32>
|
|
1238
|
+
K_STOP: typing.ClassVar[Keycode] # value = <Keycode.K_STOP: 1073741944>
|
|
1143
1239
|
K_TAB: typing.ClassVar[Keycode] # value = <Keycode.K_TAB: 9>
|
|
1144
1240
|
K_TILDE: typing.ClassVar[Keycode] # value = <Keycode.K_TILDE: 126>
|
|
1145
1241
|
K_UNDERSCORE: typing.ClassVar[Keycode] # value = <Keycode.K_UNDERSCORE: 95>
|
|
1146
1242
|
K_UNDO: typing.ClassVar[Keycode] # value = <Keycode.K_UNDO: 1073741946>
|
|
1243
|
+
K_UNKNOWN: typing.ClassVar[Keycode] # value = <Keycode.K_UNKNOWN: 0>
|
|
1147
1244
|
K_UP: typing.ClassVar[Keycode] # value = <Keycode.K_UP: 1073741906>
|
|
1148
1245
|
K_VOLDOWN: typing.ClassVar[Keycode] # value = <Keycode.K_VOLDOWN: 1073741953>
|
|
1149
1246
|
K_VOLUP: typing.ClassVar[Keycode] # value = <Keycode.K_VOLUP: 1073741952>
|
|
1247
|
+
K_WAKE: typing.ClassVar[Keycode] # value = <Keycode.K_WAKE: 1073742083>
|
|
1150
1248
|
K_a: typing.ClassVar[Keycode] # value = <Keycode.K_a: 97>
|
|
1151
1249
|
K_b: typing.ClassVar[Keycode] # value = <Keycode.K_b: 98>
|
|
1152
1250
|
K_c: typing.ClassVar[Keycode] # value = <Keycode.K_c: 99>
|
|
@@ -1180,55 +1278,6 @@ class Keycode(enum.IntEnum):
|
|
|
1180
1278
|
"""
|
|
1181
1279
|
Convert to a string according to format_spec.
|
|
1182
1280
|
"""
|
|
1183
|
-
class Layer:
|
|
1184
|
-
"""
|
|
1185
|
-
|
|
1186
|
-
A layer within a tile map.
|
|
1187
|
-
|
|
1188
|
-
Layers can be either tile layers or object layers and contain a list of tiles.
|
|
1189
|
-
|
|
1190
|
-
"""
|
|
1191
|
-
class Type(enum.IntEnum):
|
|
1192
|
-
"""
|
|
1193
|
-
|
|
1194
|
-
The type of a Layer.
|
|
1195
|
-
|
|
1196
|
-
"""
|
|
1197
|
-
OBJECT: typing.ClassVar[Layer.Type] # value = <Type.OBJECT: 0>
|
|
1198
|
-
TILE: typing.ClassVar[Layer.Type] # value = <Type.TILE: 1>
|
|
1199
|
-
@classmethod
|
|
1200
|
-
def __new__(cls, value):
|
|
1201
|
-
...
|
|
1202
|
-
def __format__(self, format_spec):
|
|
1203
|
-
"""
|
|
1204
|
-
Convert to a string according to format_spec.
|
|
1205
|
-
"""
|
|
1206
|
-
OBJECT: typing.ClassVar[Layer.Type] # value = <Type.OBJECT: 0>
|
|
1207
|
-
TILE: typing.ClassVar[Layer.Type] # value = <Type.TILE: 1>
|
|
1208
|
-
def render(self) -> None:
|
|
1209
|
-
"""
|
|
1210
|
-
Render the layer.
|
|
1211
|
-
"""
|
|
1212
|
-
@property
|
|
1213
|
-
def is_visible(self) -> bool:
|
|
1214
|
-
"""
|
|
1215
|
-
Whether the layer is visible.
|
|
1216
|
-
"""
|
|
1217
|
-
@property
|
|
1218
|
-
def name(self) -> str:
|
|
1219
|
-
"""
|
|
1220
|
-
The name of the layer.
|
|
1221
|
-
"""
|
|
1222
|
-
@property
|
|
1223
|
-
def tiles(self) -> list[Tile]:
|
|
1224
|
-
"""
|
|
1225
|
-
The list of Tile instances contained in this layer.
|
|
1226
|
-
"""
|
|
1227
|
-
@property
|
|
1228
|
-
def type(self) -> Layer.Type:
|
|
1229
|
-
"""
|
|
1230
|
-
The layer type (OBJECT or TILE).
|
|
1231
|
-
"""
|
|
1232
1281
|
class Line:
|
|
1233
1282
|
"""
|
|
1234
1283
|
|
|
@@ -2148,36 +2197,6 @@ class Rect:
|
|
|
2148
2197
|
Raises:
|
|
2149
2198
|
ValueError: If min >= max or rectangle is larger than the clamp area.
|
|
2150
2199
|
"""
|
|
2151
|
-
def collide_point(self, point: Vec2) -> bool:
|
|
2152
|
-
"""
|
|
2153
|
-
Check if a point is inside this rectangle.
|
|
2154
|
-
|
|
2155
|
-
Args:
|
|
2156
|
-
point (Vec2): The point to check.
|
|
2157
|
-
|
|
2158
|
-
Returns:
|
|
2159
|
-
bool: True if the point is inside this rectangle.
|
|
2160
|
-
"""
|
|
2161
|
-
def collide_rect(self, other: Rect) -> bool:
|
|
2162
|
-
"""
|
|
2163
|
-
Check if this rectangle collides with another rectangle.
|
|
2164
|
-
|
|
2165
|
-
Args:
|
|
2166
|
-
other (Rect): The rectangle to check collision with.
|
|
2167
|
-
|
|
2168
|
-
Returns:
|
|
2169
|
-
bool: True if the rectangles overlap.
|
|
2170
|
-
"""
|
|
2171
|
-
def contains(self, other: Rect) -> bool:
|
|
2172
|
-
"""
|
|
2173
|
-
Check if this rectangle completely contains another rectangle.
|
|
2174
|
-
|
|
2175
|
-
Args:
|
|
2176
|
-
other (Rect): The rectangle to check.
|
|
2177
|
-
|
|
2178
|
-
Returns:
|
|
2179
|
-
bool: True if this rectangle completely contains the other.
|
|
2180
|
-
"""
|
|
2181
2200
|
def copy(self) -> Rect:
|
|
2182
2201
|
"""
|
|
2183
2202
|
Create a copy of this rectangle.
|
|
@@ -2401,21 +2420,30 @@ class Scancode(enum.IntEnum):
|
|
|
2401
2420
|
S_9: typing.ClassVar[Scancode] # value = <Scancode.S_9: 38>
|
|
2402
2421
|
S_AGAIN: typing.ClassVar[Scancode] # value = <Scancode.S_AGAIN: 121>
|
|
2403
2422
|
S_APOSTROPHE: typing.ClassVar[Scancode] # value = <Scancode.S_APOSTROPHE: 52>
|
|
2423
|
+
S_APPLICATION: typing.ClassVar[Scancode] # value = <Scancode.S_APPLICATION: 101>
|
|
2404
2424
|
S_BACKSLASH: typing.ClassVar[Scancode] # value = <Scancode.S_BACKSLASH: 49>
|
|
2405
2425
|
S_BACKSPACE: typing.ClassVar[Scancode] # value = <Scancode.S_BACKSPACE: 42>
|
|
2426
|
+
S_CALL: typing.ClassVar[Scancode] # value = <Scancode.S_CALL: 289>
|
|
2406
2427
|
S_CAPS: typing.ClassVar[Scancode] # value = <Scancode.S_CAPS: 57>
|
|
2428
|
+
S_CHANNEL_DEC: typing.ClassVar[Scancode] # value = <Scancode.S_CHANNEL_DEC: 261>
|
|
2429
|
+
S_CHANNEL_INC: typing.ClassVar[Scancode] # value = <Scancode.S_CHANNEL_INC: 260>
|
|
2407
2430
|
S_COMMA: typing.ClassVar[Scancode] # value = <Scancode.S_COMMA: 54>
|
|
2408
2431
|
S_COPY: typing.ClassVar[Scancode] # value = <Scancode.S_COPY: 124>
|
|
2409
2432
|
S_CUT: typing.ClassVar[Scancode] # value = <Scancode.S_CUT: 123>
|
|
2410
2433
|
S_DEL: typing.ClassVar[Scancode] # value = <Scancode.S_DEL: 76>
|
|
2411
2434
|
S_DOWN: typing.ClassVar[Scancode] # value = <Scancode.S_DOWN: 81>
|
|
2412
2435
|
S_END: typing.ClassVar[Scancode] # value = <Scancode.S_END: 77>
|
|
2436
|
+
S_ENDCALL: typing.ClassVar[Scancode] # value = <Scancode.S_ENDCALL: 290>
|
|
2413
2437
|
S_EQ: typing.ClassVar[Scancode] # value = <Scancode.S_EQ: 46>
|
|
2414
2438
|
S_ESC: typing.ClassVar[Scancode] # value = <Scancode.S_ESC: 41>
|
|
2439
|
+
S_EXECUTE: typing.ClassVar[Scancode] # value = <Scancode.S_EXECUTE: 116>
|
|
2415
2440
|
S_F1: typing.ClassVar[Scancode] # value = <Scancode.S_F1: 58>
|
|
2416
2441
|
S_F10: typing.ClassVar[Scancode] # value = <Scancode.S_F10: 67>
|
|
2417
2442
|
S_F11: typing.ClassVar[Scancode] # value = <Scancode.S_F11: 68>
|
|
2418
2443
|
S_F12: typing.ClassVar[Scancode] # value = <Scancode.S_F12: 69>
|
|
2444
|
+
S_F13: typing.ClassVar[Scancode] # value = <Scancode.S_F13: 104>
|
|
2445
|
+
S_F14: typing.ClassVar[Scancode] # value = <Scancode.S_F14: 105>
|
|
2446
|
+
S_F15: typing.ClassVar[Scancode] # value = <Scancode.S_F15: 106>
|
|
2419
2447
|
S_F2: typing.ClassVar[Scancode] # value = <Scancode.S_F2: 59>
|
|
2420
2448
|
S_F3: typing.ClassVar[Scancode] # value = <Scancode.S_F3: 60>
|
|
2421
2449
|
S_F4: typing.ClassVar[Scancode] # value = <Scancode.S_F4: 61>
|
|
@@ -2426,6 +2454,7 @@ class Scancode(enum.IntEnum):
|
|
|
2426
2454
|
S_F9: typing.ClassVar[Scancode] # value = <Scancode.S_F9: 66>
|
|
2427
2455
|
S_FIND: typing.ClassVar[Scancode] # value = <Scancode.S_FIND: 126>
|
|
2428
2456
|
S_GRAVE: typing.ClassVar[Scancode] # value = <Scancode.S_GRAVE: 53>
|
|
2457
|
+
S_HELP: typing.ClassVar[Scancode] # value = <Scancode.S_HELP: 117>
|
|
2429
2458
|
S_HOME: typing.ClassVar[Scancode] # value = <Scancode.S_HOME: 74>
|
|
2430
2459
|
S_INS: typing.ClassVar[Scancode] # value = <Scancode.S_INS: 73>
|
|
2431
2460
|
S_KP_0: typing.ClassVar[Scancode] # value = <Scancode.S_KP_0: 98>
|
|
@@ -2450,7 +2479,20 @@ class Scancode(enum.IntEnum):
|
|
|
2450
2479
|
S_LEFT: typing.ClassVar[Scancode] # value = <Scancode.S_LEFT: 80>
|
|
2451
2480
|
S_LGUI: typing.ClassVar[Scancode] # value = <Scancode.S_LGUI: 227>
|
|
2452
2481
|
S_LSHIFT: typing.ClassVar[Scancode] # value = <Scancode.S_LSHIFT: 225>
|
|
2482
|
+
S_MEDIA_EJECT: typing.ClassVar[Scancode] # value = <Scancode.S_MEDIA_EJECT: 270>
|
|
2483
|
+
S_MEDIA_FAST_FORWARD: typing.ClassVar[Scancode] # value = <Scancode.S_MEDIA_FAST_FORWARD: 265>
|
|
2484
|
+
S_MEDIA_NEXT: typing.ClassVar[Scancode] # value = <Scancode.S_MEDIA_NEXT: 267>
|
|
2485
|
+
S_MEDIA_PAUSE: typing.ClassVar[Scancode] # value = <Scancode.S_MEDIA_PAUSE: 263>
|
|
2486
|
+
S_MEDIA_PLAY: typing.ClassVar[Scancode] # value = <Scancode.S_MEDIA_PLAY: 262>
|
|
2487
|
+
S_MEDIA_PLAY_PAUSE: typing.ClassVar[Scancode] # value = <Scancode.S_MEDIA_PLAY_PAUSE: 271>
|
|
2488
|
+
S_MEDIA_PREV: typing.ClassVar[Scancode] # value = <Scancode.S_MEDIA_PREV: 268>
|
|
2489
|
+
S_MEDIA_REC: typing.ClassVar[Scancode] # value = <Scancode.S_MEDIA_REC: 264>
|
|
2490
|
+
S_MEDIA_REWIND: typing.ClassVar[Scancode] # value = <Scancode.S_MEDIA_REWIND: 266>
|
|
2491
|
+
S_MEDIA_SELECT: typing.ClassVar[Scancode] # value = <Scancode.S_MEDIA_SELECT: 272>
|
|
2492
|
+
S_MEDIA_STOP: typing.ClassVar[Scancode] # value = <Scancode.S_MEDIA_STOP: 269>
|
|
2493
|
+
S_MENU: typing.ClassVar[Scancode] # value = <Scancode.S_MENU: 118>
|
|
2453
2494
|
S_MINUS: typing.ClassVar[Scancode] # value = <Scancode.S_MINUS: 45>
|
|
2495
|
+
S_MODE: typing.ClassVar[Scancode] # value = <Scancode.S_MODE: 257>
|
|
2454
2496
|
S_MUTE: typing.ClassVar[Scancode] # value = <Scancode.S_MUTE: 127>
|
|
2455
2497
|
S_NUMLOCK: typing.ClassVar[Scancode] # value = <Scancode.S_NUMLOCK: 83>
|
|
2456
2498
|
S_PASTE: typing.ClassVar[Scancode] # value = <Scancode.S_PASTE: 125>
|
|
@@ -2458,6 +2500,7 @@ class Scancode(enum.IntEnum):
|
|
|
2458
2500
|
S_PERIOD: typing.ClassVar[Scancode] # value = <Scancode.S_PERIOD: 55>
|
|
2459
2501
|
S_PGDOWN: typing.ClassVar[Scancode] # value = <Scancode.S_PGDOWN: 78>
|
|
2460
2502
|
S_PGUP: typing.ClassVar[Scancode] # value = <Scancode.S_PGUP: 75>
|
|
2503
|
+
S_POWER: typing.ClassVar[Scancode] # value = <Scancode.S_POWER: 102>
|
|
2461
2504
|
S_PRTSCR: typing.ClassVar[Scancode] # value = <Scancode.S_PRTSCR: 70>
|
|
2462
2505
|
S_RALT: typing.ClassVar[Scancode] # value = <Scancode.S_RALT: 230>
|
|
2463
2506
|
S_RBRACKET: typing.ClassVar[Scancode] # value = <Scancode.S_RBRACKET: 48>
|
|
@@ -2467,14 +2510,20 @@ class Scancode(enum.IntEnum):
|
|
|
2467
2510
|
S_RIGHT: typing.ClassVar[Scancode] # value = <Scancode.S_RIGHT: 79>
|
|
2468
2511
|
S_RSHIFT: typing.ClassVar[Scancode] # value = <Scancode.S_RSHIFT: 229>
|
|
2469
2512
|
S_SCRLK: typing.ClassVar[Scancode] # value = <Scancode.S_SCRLK: 71>
|
|
2513
|
+
S_SELECT: typing.ClassVar[Scancode] # value = <Scancode.S_SELECT: 119>
|
|
2470
2514
|
S_SEMICOLON: typing.ClassVar[Scancode] # value = <Scancode.S_SEMICOLON: 51>
|
|
2471
2515
|
S_SLASH: typing.ClassVar[Scancode] # value = <Scancode.S_SLASH: 56>
|
|
2516
|
+
S_SLEEP: typing.ClassVar[Scancode] # value = <Scancode.S_SLEEP: 258>
|
|
2517
|
+
S_SOFTLEFT: typing.ClassVar[Scancode] # value = <Scancode.S_SOFTLEFT: 287>
|
|
2518
|
+
S_SOFTRIGHT: typing.ClassVar[Scancode] # value = <Scancode.S_SOFTRIGHT: 288>
|
|
2472
2519
|
S_SPACE: typing.ClassVar[Scancode] # value = <Scancode.S_SPACE: 44>
|
|
2520
|
+
S_STOP: typing.ClassVar[Scancode] # value = <Scancode.S_STOP: 120>
|
|
2473
2521
|
S_TAB: typing.ClassVar[Scancode] # value = <Scancode.S_TAB: 43>
|
|
2474
2522
|
S_UNDO: typing.ClassVar[Scancode] # value = <Scancode.S_UNDO: 122>
|
|
2475
2523
|
S_UP: typing.ClassVar[Scancode] # value = <Scancode.S_UP: 82>
|
|
2476
2524
|
S_VOLDOWN: typing.ClassVar[Scancode] # value = <Scancode.S_VOLDOWN: 129>
|
|
2477
2525
|
S_VOLUP: typing.ClassVar[Scancode] # value = <Scancode.S_VOLUP: 128>
|
|
2526
|
+
S_WAKE: typing.ClassVar[Scancode] # value = <Scancode.S_WAKE: 259>
|
|
2478
2527
|
S_a: typing.ClassVar[Scancode] # value = <Scancode.S_a: 4>
|
|
2479
2528
|
S_b: typing.ClassVar[Scancode] # value = <Scancode.S_b: 5>
|
|
2480
2529
|
S_c: typing.ClassVar[Scancode] # value = <Scancode.S_c: 6>
|
|
@@ -2508,6 +2557,28 @@ class Scancode(enum.IntEnum):
|
|
|
2508
2557
|
"""
|
|
2509
2558
|
Convert to a string according to format_spec.
|
|
2510
2559
|
"""
|
|
2560
|
+
class ShaderState:
|
|
2561
|
+
"""
|
|
2562
|
+
Encapsulates a GPU shader and its associated render state.
|
|
2563
|
+
"""
|
|
2564
|
+
def __init__(self, fragment_file_path: str, sampler_count: typing.SupportsInt, storage_texture_count: typing.SupportsInt, storage_buffer_count: typing.SupportsInt, uniform_buffer_count: typing.SupportsInt) -> None:
|
|
2565
|
+
...
|
|
2566
|
+
def bind(self) -> None:
|
|
2567
|
+
"""
|
|
2568
|
+
Binds this shader state to the current render pass, making it active for subsequent draw calls.
|
|
2569
|
+
"""
|
|
2570
|
+
def set_uniform(self, binding: typing.SupportsInt, data: collections.abc.Buffer) -> None:
|
|
2571
|
+
"""
|
|
2572
|
+
Sets uniform data for the fragment shader at the specified binding point.
|
|
2573
|
+
|
|
2574
|
+
Parameters:
|
|
2575
|
+
binding (int): The uniform buffer binding index.
|
|
2576
|
+
data (buffer): A buffer or bytes object containing the uniform data to upload.
|
|
2577
|
+
"""
|
|
2578
|
+
def unbind(self) -> None:
|
|
2579
|
+
"""
|
|
2580
|
+
Unbinds the current shader state, reverting to the default render state.
|
|
2581
|
+
"""
|
|
2511
2582
|
class Texture:
|
|
2512
2583
|
"""
|
|
2513
2584
|
|
|
@@ -2676,7 +2747,7 @@ class Tile:
|
|
|
2676
2747
|
Whether the tile is flipped horizontally.
|
|
2677
2748
|
"""
|
|
2678
2749
|
@property
|
|
2679
|
-
def layer(self) ->
|
|
2750
|
+
def layer(self) -> TileLayer:
|
|
2680
2751
|
"""
|
|
2681
2752
|
Get the owning Layer.
|
|
2682
2753
|
|
|
@@ -2693,6 +2764,76 @@ class Tile:
|
|
|
2693
2764
|
"""
|
|
2694
2765
|
Whether the tile is flipped vertically.
|
|
2695
2766
|
"""
|
|
2767
|
+
class TileLayer:
|
|
2768
|
+
"""
|
|
2769
|
+
|
|
2770
|
+
A layer of a tile map.
|
|
2771
|
+
|
|
2772
|
+
Layers can be either tile layers or object layers and contain a list of tiles.
|
|
2773
|
+
|
|
2774
|
+
"""
|
|
2775
|
+
class Type(enum.IntEnum):
|
|
2776
|
+
"""
|
|
2777
|
+
|
|
2778
|
+
The type of a Layer.
|
|
2779
|
+
|
|
2780
|
+
"""
|
|
2781
|
+
OBJECT: typing.ClassVar[TileLayer.Type] # value = <Type.OBJECT: 0>
|
|
2782
|
+
TILE: typing.ClassVar[TileLayer.Type] # value = <Type.TILE: 1>
|
|
2783
|
+
@classmethod
|
|
2784
|
+
def __new__(cls, value):
|
|
2785
|
+
...
|
|
2786
|
+
def __format__(self, format_spec):
|
|
2787
|
+
"""
|
|
2788
|
+
Convert to a string according to format_spec.
|
|
2789
|
+
"""
|
|
2790
|
+
OBJECT: typing.ClassVar[TileLayer.Type] # value = <Type.OBJECT: 0>
|
|
2791
|
+
TILE: typing.ClassVar[TileLayer.Type] # value = <Type.TILE: 1>
|
|
2792
|
+
def get_from_area(self, area: Rect) -> list[Tile]:
|
|
2793
|
+
"""
|
|
2794
|
+
Get all tiles whose destination rectangles fall within a query rect.
|
|
2795
|
+
|
|
2796
|
+
Args:
|
|
2797
|
+
area (Rect): The world-space rectangle to test.
|
|
2798
|
+
|
|
2799
|
+
Returns:
|
|
2800
|
+
list[Tile]: Tiles intersecting the given area.
|
|
2801
|
+
"""
|
|
2802
|
+
def get_tile_at(self, column: typing.SupportsInt, row: typing.SupportsInt) -> pykraken._core.Tile | None:
|
|
2803
|
+
"""
|
|
2804
|
+
Get the tile located at the specified grid coordinates.
|
|
2805
|
+
|
|
2806
|
+
Args:
|
|
2807
|
+
column (int): The tile column index.
|
|
2808
|
+
row (int): The tile row index.
|
|
2809
|
+
|
|
2810
|
+
Returns:
|
|
2811
|
+
Tile | None: The tile at the grid coordinate, or None if empty/out of range.
|
|
2812
|
+
"""
|
|
2813
|
+
def render(self) -> None:
|
|
2814
|
+
"""
|
|
2815
|
+
Render the layer.
|
|
2816
|
+
"""
|
|
2817
|
+
@property
|
|
2818
|
+
def is_visible(self) -> bool:
|
|
2819
|
+
"""
|
|
2820
|
+
Whether the layer is visible.
|
|
2821
|
+
"""
|
|
2822
|
+
@property
|
|
2823
|
+
def name(self) -> str:
|
|
2824
|
+
"""
|
|
2825
|
+
The name of the layer.
|
|
2826
|
+
"""
|
|
2827
|
+
@property
|
|
2828
|
+
def tiles(self) -> list[Tile]:
|
|
2829
|
+
"""
|
|
2830
|
+
The list of Tile instances contained in this layer.
|
|
2831
|
+
"""
|
|
2832
|
+
@property
|
|
2833
|
+
def type(self) -> TileLayer.Type:
|
|
2834
|
+
"""
|
|
2835
|
+
The layer type (OBJECT or TILE).
|
|
2836
|
+
"""
|
|
2696
2837
|
class TileMap:
|
|
2697
2838
|
"""
|
|
2698
2839
|
|
|
@@ -2702,7 +2843,7 @@ class TileMap:
|
|
|
2702
2843
|
|
|
2703
2844
|
"""
|
|
2704
2845
|
@staticmethod
|
|
2705
|
-
def get_tile_collection(layers: collections.abc.Sequence[
|
|
2846
|
+
def get_tile_collection(layers: collections.abc.Sequence[TileLayer]) -> list[Tile]:
|
|
2706
2847
|
"""
|
|
2707
2848
|
Collect all tiles from the provided layers into a single list.
|
|
2708
2849
|
|
|
@@ -2723,7 +2864,7 @@ class TileMap:
|
|
|
2723
2864
|
Raises:
|
|
2724
2865
|
RuntimeError: If the TMX or TSX files cannot be loaded or parsed.
|
|
2725
2866
|
"""
|
|
2726
|
-
def get_layer(self, name: str, type:
|
|
2867
|
+
def get_layer(self, name: str, type: TileLayer.Type = TileLayer.Type.TILE) -> TileLayer:
|
|
2727
2868
|
"""
|
|
2728
2869
|
Get a layer by name and type.
|
|
2729
2870
|
|
|
@@ -2737,7 +2878,7 @@ class TileMap:
|
|
|
2737
2878
|
Raises:
|
|
2738
2879
|
ValueError: If no matching layer is found or the type doesn't match.
|
|
2739
2880
|
"""
|
|
2740
|
-
def get_layers(self) -> list[
|
|
2881
|
+
def get_layers(self) -> list[TileLayer]:
|
|
2741
2882
|
"""
|
|
2742
2883
|
Get all layers in the map.
|
|
2743
2884
|
|
|
@@ -3227,11 +3368,12 @@ AUDIO_DEVICE_REMOVED: EventType # value = <EventType.AUDIO_DEVICE_REMOVED: 4353
|
|
|
3227
3368
|
BOTTOM_LEFT: Anchor # value = <Anchor.BOTTOM_LEFT: 6>
|
|
3228
3369
|
BOTTOM_MID: Anchor # value = <Anchor.BOTTOM_MID: 7>
|
|
3229
3370
|
BOTTOM_RIGHT: Anchor # value = <Anchor.BOTTOM_RIGHT: 8>
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3371
|
+
CAMERA_DEVICE_ADDED: EventType # value = <EventType.CAMERA_DEVICE_ADDED: 5120>
|
|
3372
|
+
CAMERA_DEVICE_APPROVED: EventType # value = <EventType.CAMERA_DEVICE_APPROVED: 5122>
|
|
3373
|
+
CAMERA_DEVICE_DENIED: EventType # value = <EventType.CAMERA_DEVICE_DENIED: 5123>
|
|
3374
|
+
CAMERA_DEVICE_REMOVED: EventType # value = <EventType.CAMERA_DEVICE_REMOVED: 5121>
|
|
3234
3375
|
CENTER: Anchor # value = <Anchor.CENTER: 4>
|
|
3376
|
+
CLIPBOARD_UPDATE: EventType # value = <EventType.CLIPBOARD_UPDATE: 2304>
|
|
3235
3377
|
C_BACK: GamepadButton # value = <GamepadButton.C_BACK: 4>
|
|
3236
3378
|
C_DPAD_DOWN: GamepadButton # value = <GamepadButton.C_DPAD_DOWN: 12>
|
|
3237
3379
|
C_DPAD_LEFT: GamepadButton # value = <GamepadButton.C_DPAD_LEFT: 13>
|
|
@@ -3263,21 +3405,39 @@ C_SWITCH_PRO: GamepadType # value = <GamepadType.C_SWITCH_PRO: 7>
|
|
|
3263
3405
|
C_WEST: GamepadButton # value = <GamepadButton.C_WEST: 2>
|
|
3264
3406
|
C_XBOX_360: GamepadType # value = <GamepadType.C_XBOX_360: 2>
|
|
3265
3407
|
C_XBOX_ONE: GamepadType # value = <GamepadType.C_XBOX_ONE: 3>
|
|
3408
|
+
DID_ENTER_BACKGROUND: EventType # value = <EventType.DID_ENTER_BACKGROUND: 260>
|
|
3409
|
+
DID_ENTER_FOREGROUND: EventType # value = <EventType.DID_ENTER_FOREGROUND: 262>
|
|
3410
|
+
DISPLAY_ADDED: EventType # value = <EventType.DISPLAY_ADDED: 338>
|
|
3411
|
+
DISPLAY_CONTENT_SCALE_CHANGED: EventType # value = <EventType.DISPLAY_CONTENT_SCALE_CHANGED: 343>
|
|
3412
|
+
DISPLAY_CURRENT_MODE_CHANGED: EventType # value = <EventType.DISPLAY_CURRENT_MODE_CHANGED: 342>
|
|
3413
|
+
DISPLAY_DESKTOP_MODE_CHANGED: EventType # value = <EventType.DISPLAY_DESKTOP_MODE_CHANGED: 341>
|
|
3414
|
+
DISPLAY_MOVED: EventType # value = <EventType.DISPLAY_MOVED: 340>
|
|
3415
|
+
DISPLAY_ORIENTATION: EventType # value = <EventType.DISPLAY_ORIENTATION: 337>
|
|
3416
|
+
DISPLAY_REMOVED: EventType # value = <EventType.DISPLAY_REMOVED: 339>
|
|
3266
3417
|
DROP_BEGIN: EventType # value = <EventType.DROP_BEGIN: 4098>
|
|
3267
3418
|
DROP_COMPLETE: EventType # value = <EventType.DROP_COMPLETE: 4099>
|
|
3268
3419
|
DROP_FILE: EventType # value = <EventType.DROP_FILE: 4096>
|
|
3269
3420
|
DROP_POSITION: EventType # value = <EventType.DROP_POSITION: 4100>
|
|
3270
3421
|
DROP_TEXT: EventType # value = <EventType.DROP_TEXT: 4097>
|
|
3422
|
+
FINGER_CANCELED: EventType # value = <EventType.FINGER_CANCELED: 1795>
|
|
3423
|
+
FINGER_DOWN: EventType # value = <EventType.FINGER_DOWN: 1792>
|
|
3424
|
+
FINGER_MOTION: EventType # value = <EventType.FINGER_MOTION: 1794>
|
|
3425
|
+
FINGER_UP: EventType # value = <EventType.FINGER_UP: 1793>
|
|
3271
3426
|
GAMEPAD_ADDED: EventType # value = <EventType.GAMEPAD_ADDED: 1619>
|
|
3272
3427
|
GAMEPAD_AXIS_MOTION: EventType # value = <EventType.GAMEPAD_AXIS_MOTION: 1616>
|
|
3273
3428
|
GAMEPAD_BUTTON_DOWN: EventType # value = <EventType.GAMEPAD_BUTTON_DOWN: 1617>
|
|
3274
3429
|
GAMEPAD_BUTTON_UP: EventType # value = <EventType.GAMEPAD_BUTTON_UP: 1618>
|
|
3430
|
+
GAMEPAD_REMAPPED: EventType # value = <EventType.GAMEPAD_REMAPPED: 1621>
|
|
3275
3431
|
GAMEPAD_REMOVED: EventType # value = <EventType.GAMEPAD_REMOVED: 1620>
|
|
3432
|
+
GAMEPAD_SENSOR_UPDATE: EventType # value = <EventType.GAMEPAD_SENSOR_UPDATE: 1625>
|
|
3433
|
+
GAMEPAD_STEAM_HANDLE_UPDATED: EventType # value = <EventType.GAMEPAD_STEAM_HANDLE_UPDATED: 1627>
|
|
3276
3434
|
GAMEPAD_TOUCHPAD_DOWN: EventType # value = <EventType.GAMEPAD_TOUCHPAD_DOWN: 1622>
|
|
3277
3435
|
GAMEPAD_TOUCHPAD_MOTION: EventType # value = <EventType.GAMEPAD_TOUCHPAD_MOTION: 1623>
|
|
3278
3436
|
GAMEPAD_TOUCHPAD_UP: EventType # value = <EventType.GAMEPAD_TOUCHPAD_UP: 1624>
|
|
3437
|
+
GAMEPAD_UPDATE_COMPLETE: EventType # value = <EventType.GAMEPAD_UPDATE_COMPLETE: 1626>
|
|
3279
3438
|
KEYBOARD_ADDED: EventType # value = <EventType.KEYBOARD_ADDED: 773>
|
|
3280
3439
|
KEYBOARD_REMOVED: EventType # value = <EventType.KEYBOARD_REMOVED: 774>
|
|
3440
|
+
KEYMAP_CHANGED: EventType # value = <EventType.KEYMAP_CHANGED: 772>
|
|
3281
3441
|
KEY_DOWN: EventType # value = <EventType.KEY_DOWN: 768>
|
|
3282
3442
|
KEY_UP: EventType # value = <EventType.KEY_UP: 769>
|
|
3283
3443
|
K_0: Keycode # value = <Keycode.K_0: 48>
|
|
@@ -3292,12 +3452,16 @@ K_8: Keycode # value = <Keycode.K_8: 56>
|
|
|
3292
3452
|
K_9: Keycode # value = <Keycode.K_9: 57>
|
|
3293
3453
|
K_AGAIN: Keycode # value = <Keycode.K_AGAIN: 1073741945>
|
|
3294
3454
|
K_AMPERSAND: Keycode # value = <Keycode.K_AMPERSAND: 38>
|
|
3455
|
+
K_APPLICATION: Keycode # value = <Keycode.K_APPLICATION: 1073741925>
|
|
3295
3456
|
K_ASTERISK: Keycode # value = <Keycode.K_ASTERISK: 42>
|
|
3296
3457
|
K_AT: Keycode # value = <Keycode.K_AT: 64>
|
|
3297
3458
|
K_BACKSLASH: Keycode # value = <Keycode.K_BACKSLASH: 92>
|
|
3298
3459
|
K_BACKSPACE: Keycode # value = <Keycode.K_BACKSPACE: 8>
|
|
3460
|
+
K_CALL: Keycode # value = <Keycode.K_CALL: 1073742113>
|
|
3299
3461
|
K_CAPS: Keycode # value = <Keycode.K_CAPS: 1073741881>
|
|
3300
3462
|
K_CARET: Keycode # value = <Keycode.K_CARET: 94>
|
|
3463
|
+
K_CHANNEL_DEC: Keycode # value = <Keycode.K_CHANNEL_DEC: 1073742085>
|
|
3464
|
+
K_CHANNEL_INC: Keycode # value = <Keycode.K_CHANNEL_INC: 1073742084>
|
|
3301
3465
|
K_COLON: Keycode # value = <Keycode.K_COLON: 58>
|
|
3302
3466
|
K_COMMA: Keycode # value = <Keycode.K_COMMA: 44>
|
|
3303
3467
|
K_COPY: Keycode # value = <Keycode.K_COPY: 1073741948>
|
|
@@ -3307,13 +3471,18 @@ K_DEL: Keycode # value = <Keycode.K_DEL: 127>
|
|
|
3307
3471
|
K_DOLLAR: Keycode # value = <Keycode.K_DOLLAR: 36>
|
|
3308
3472
|
K_DOWN: Keycode # value = <Keycode.K_DOWN: 1073741905>
|
|
3309
3473
|
K_END: Keycode # value = <Keycode.K_END: 1073741901>
|
|
3474
|
+
K_ENDCALL: Keycode # value = <Keycode.K_ENDCALL: 1073742114>
|
|
3310
3475
|
K_EQ: Keycode # value = <Keycode.K_EQ: 61>
|
|
3311
3476
|
K_ESC: Keycode # value = <Keycode.K_ESC: 27>
|
|
3312
3477
|
K_EXCLAIM: Keycode # value = <Keycode.K_EXCLAIM: 33>
|
|
3478
|
+
K_EXECUTE: Keycode # value = <Keycode.K_EXECUTE: 1073741940>
|
|
3313
3479
|
K_F1: Keycode # value = <Keycode.K_F1: 1073741882>
|
|
3314
3480
|
K_F10: Keycode # value = <Keycode.K_F10: 1073741891>
|
|
3315
3481
|
K_F11: Keycode # value = <Keycode.K_F11: 1073741892>
|
|
3316
3482
|
K_F12: Keycode # value = <Keycode.K_F12: 1073741893>
|
|
3483
|
+
K_F13: Keycode # value = <Keycode.K_F13: 1073741928>
|
|
3484
|
+
K_F14: Keycode # value = <Keycode.K_F14: 1073741929>
|
|
3485
|
+
K_F15: Keycode # value = <Keycode.K_F15: 1073741930>
|
|
3317
3486
|
K_F2: Keycode # value = <Keycode.K_F2: 1073741883>
|
|
3318
3487
|
K_F3: Keycode # value = <Keycode.K_F3: 1073741884>
|
|
3319
3488
|
K_F4: Keycode # value = <Keycode.K_F4: 1073741885>
|
|
@@ -3326,6 +3495,7 @@ K_FIND: Keycode # value = <Keycode.K_FIND: 1073741950>
|
|
|
3326
3495
|
K_GRAVE: Keycode # value = <Keycode.K_GRAVE: 96>
|
|
3327
3496
|
K_GT: Keycode # value = <Keycode.K_GT: 62>
|
|
3328
3497
|
K_HASH: Keycode # value = <Keycode.K_HASH: 35>
|
|
3498
|
+
K_HELP: Keycode # value = <Keycode.K_HELP: 1073741941>
|
|
3329
3499
|
K_HOME: Keycode # value = <Keycode.K_HOME: 1073741898>
|
|
3330
3500
|
K_INS: Keycode # value = <Keycode.K_INS: 1073741897>
|
|
3331
3501
|
K_KP_0: Keycode # value = <Keycode.K_KP_0: 1073741922>
|
|
@@ -3353,7 +3523,20 @@ K_LGUI: Keycode # value = <Keycode.K_LGUI: 1073742051>
|
|
|
3353
3523
|
K_LPAREN: Keycode # value = <Keycode.K_LPAREN: 40>
|
|
3354
3524
|
K_LSHIFT: Keycode # value = <Keycode.K_LSHIFT: 1073742049>
|
|
3355
3525
|
K_LT: Keycode # value = <Keycode.K_LT: 60>
|
|
3526
|
+
K_MEDIA_EJECT: Keycode # value = <Keycode.K_MEDIA_EJECT: 1073742094>
|
|
3527
|
+
K_MEDIA_FF: Keycode # value = <Keycode.K_MEDIA_FF: 1073742089>
|
|
3528
|
+
K_MEDIA_NEXT: Keycode # value = <Keycode.K_MEDIA_NEXT: 1073742091>
|
|
3529
|
+
K_MEDIA_PAUSE: Keycode # value = <Keycode.K_MEDIA_PAUSE: 1073742087>
|
|
3530
|
+
K_MEDIA_PLAY: Keycode # value = <Keycode.K_MEDIA_PLAY: 1073742086>
|
|
3531
|
+
K_MEDIA_PLAY_PAUSE: Keycode # value = <Keycode.K_MEDIA_PLAY_PAUSE: 1073742095>
|
|
3532
|
+
K_MEDIA_PREV: Keycode # value = <Keycode.K_MEDIA_PREV: 1073742092>
|
|
3533
|
+
K_MEDIA_REC: Keycode # value = <Keycode.K_MEDIA_REC: 1073742088>
|
|
3534
|
+
K_MEDIA_REWIND: Keycode # value = <Keycode.K_MEDIA_REWIND: 1073742090>
|
|
3535
|
+
K_MEDIA_SELECT: Keycode # value = <Keycode.K_MEDIA_SELECT: 1073742096>
|
|
3536
|
+
K_MEDIA_STOP: Keycode # value = <Keycode.K_MEDIA_STOP: 1073742093>
|
|
3537
|
+
K_MENU: Keycode # value = <Keycode.K_MENU: 1073741942>
|
|
3356
3538
|
K_MINUS: Keycode # value = <Keycode.K_MINUS: 45>
|
|
3539
|
+
K_MODE: Keycode # value = <Keycode.K_MODE: 1073742081>
|
|
3357
3540
|
K_MUTE: Keycode # value = <Keycode.K_MUTE: 1073741951>
|
|
3358
3541
|
K_NUMLOCK: Keycode # value = <Keycode.K_NUMLOCK: 1073741907>
|
|
3359
3542
|
K_PASTE: Keycode # value = <Keycode.K_PASTE: 1073741949>
|
|
@@ -3364,6 +3547,7 @@ K_PGDOWN: Keycode # value = <Keycode.K_PGDOWN: 1073741902>
|
|
|
3364
3547
|
K_PGUP: Keycode # value = <Keycode.K_PGUP: 1073741899>
|
|
3365
3548
|
K_PIPE: Keycode # value = <Keycode.K_PIPE: 124>
|
|
3366
3549
|
K_PLUS: Keycode # value = <Keycode.K_PLUS: 43>
|
|
3550
|
+
K_POWER: Keycode # value = <Keycode.K_POWER: 1073741926>
|
|
3367
3551
|
K_PRTSCR: Keycode # value = <Keycode.K_PRTSCR: 1073741894>
|
|
3368
3552
|
K_QUESTION: Keycode # value = <Keycode.K_QUESTION: 63>
|
|
3369
3553
|
K_RALT: Keycode # value = <Keycode.K_RALT: 1073742054>
|
|
@@ -3376,17 +3560,24 @@ K_RIGHT: Keycode # value = <Keycode.K_RIGHT: 1073741903>
|
|
|
3376
3560
|
K_RPAREN: Keycode # value = <Keycode.K_RPAREN: 41>
|
|
3377
3561
|
K_RSHIFT: Keycode # value = <Keycode.K_RSHIFT: 1073742053>
|
|
3378
3562
|
K_SCRLK: Keycode # value = <Keycode.K_SCRLK: 1073741895>
|
|
3563
|
+
K_SELECT: Keycode # value = <Keycode.K_SELECT: 1073741943>
|
|
3379
3564
|
K_SEMICOLON: Keycode # value = <Keycode.K_SEMICOLON: 59>
|
|
3380
3565
|
K_SGLQUOTE: Keycode # value = <Keycode.K_SGLQUOTE: 39>
|
|
3381
3566
|
K_SLASH: Keycode # value = <Keycode.K_SLASH: 47>
|
|
3567
|
+
K_SLEEP: Keycode # value = <Keycode.K_SLEEP: 1073742082>
|
|
3568
|
+
K_SOFTLEFT: Keycode # value = <Keycode.K_SOFTLEFT: 1073742111>
|
|
3569
|
+
K_SOFTRIGHT: Keycode # value = <Keycode.K_SOFTRIGHT: 1073742112>
|
|
3382
3570
|
K_SPACE: Keycode # value = <Keycode.K_SPACE: 32>
|
|
3571
|
+
K_STOP: Keycode # value = <Keycode.K_STOP: 1073741944>
|
|
3383
3572
|
K_TAB: Keycode # value = <Keycode.K_TAB: 9>
|
|
3384
3573
|
K_TILDE: Keycode # value = <Keycode.K_TILDE: 126>
|
|
3385
3574
|
K_UNDERSCORE: Keycode # value = <Keycode.K_UNDERSCORE: 95>
|
|
3386
3575
|
K_UNDO: Keycode # value = <Keycode.K_UNDO: 1073741946>
|
|
3576
|
+
K_UNKNOWN: Keycode # value = <Keycode.K_UNKNOWN: 0>
|
|
3387
3577
|
K_UP: Keycode # value = <Keycode.K_UP: 1073741906>
|
|
3388
3578
|
K_VOLDOWN: Keycode # value = <Keycode.K_VOLDOWN: 1073741953>
|
|
3389
3579
|
K_VOLUP: Keycode # value = <Keycode.K_VOLUP: 1073741952>
|
|
3580
|
+
K_WAKE: Keycode # value = <Keycode.K_WAKE: 1073742083>
|
|
3390
3581
|
K_a: Keycode # value = <Keycode.K_a: 97>
|
|
3391
3582
|
K_b: Keycode # value = <Keycode.K_b: 98>
|
|
3392
3583
|
K_c: Keycode # value = <Keycode.K_c: 99>
|
|
@@ -3413,6 +3604,8 @@ K_w: Keycode # value = <Keycode.K_w: 119>
|
|
|
3413
3604
|
K_x: Keycode # value = <Keycode.K_x: 120>
|
|
3414
3605
|
K_y: Keycode # value = <Keycode.K_y: 121>
|
|
3415
3606
|
K_z: Keycode # value = <Keycode.K_z: 122>
|
|
3607
|
+
LOCALE_CHANGED: EventType # value = <EventType.LOCALE_CHANGED: 263>
|
|
3608
|
+
LOW_MEMORY: EventType # value = <EventType.LOW_MEMORY: 258>
|
|
3416
3609
|
MID_LEFT: Anchor # value = <Anchor.MID_LEFT: 3>
|
|
3417
3610
|
MID_RIGHT: Anchor # value = <Anchor.MID_RIGHT: 5>
|
|
3418
3611
|
MOUSE_ADDED: EventType # value = <EventType.MOUSE_ADDED: 1028>
|
|
@@ -3442,6 +3635,11 @@ P_TANGENTIAL_PRESSURE: PenAxis # value = <PenAxis.P_TANGENTIAL_PRESSURE: 6>
|
|
|
3442
3635
|
P_TILT_X: PenAxis # value = <PenAxis.P_TILT_X: 1>
|
|
3443
3636
|
P_TILT_Y: PenAxis # value = <PenAxis.P_TILT_Y: 2>
|
|
3444
3637
|
QUIT: EventType # value = <EventType.QUIT: 256>
|
|
3638
|
+
RENDER_DEVICE_LOST: EventType # value = <EventType.RENDER_DEVICE_LOST: 8194>
|
|
3639
|
+
RENDER_DEVICE_RESET: EventType # value = <EventType.RENDER_DEVICE_RESET: 8193>
|
|
3640
|
+
RENDER_TARGETS_RESET: EventType # value = <EventType.RENDER_TARGETS_RESET: 8192>
|
|
3641
|
+
SENSOR_UPDATE: EventType # value = <EventType.SENSOR_UPDATE: 4608>
|
|
3642
|
+
SYSTEM_THEME_CHANGED: EventType # value = <EventType.SYSTEM_THEME_CHANGED: 264>
|
|
3445
3643
|
S_0: Scancode # value = <Scancode.S_0: 39>
|
|
3446
3644
|
S_1: Scancode # value = <Scancode.S_1: 30>
|
|
3447
3645
|
S_2: Scancode # value = <Scancode.S_2: 31>
|
|
@@ -3454,21 +3652,30 @@ S_8: Scancode # value = <Scancode.S_8: 37>
|
|
|
3454
3652
|
S_9: Scancode # value = <Scancode.S_9: 38>
|
|
3455
3653
|
S_AGAIN: Scancode # value = <Scancode.S_AGAIN: 121>
|
|
3456
3654
|
S_APOSTROPHE: Scancode # value = <Scancode.S_APOSTROPHE: 52>
|
|
3655
|
+
S_APPLICATION: Scancode # value = <Scancode.S_APPLICATION: 101>
|
|
3457
3656
|
S_BACKSLASH: Scancode # value = <Scancode.S_BACKSLASH: 49>
|
|
3458
3657
|
S_BACKSPACE: Scancode # value = <Scancode.S_BACKSPACE: 42>
|
|
3658
|
+
S_CALL: Scancode # value = <Scancode.S_CALL: 289>
|
|
3459
3659
|
S_CAPS: Scancode # value = <Scancode.S_CAPS: 57>
|
|
3660
|
+
S_CHANNEL_DEC: Scancode # value = <Scancode.S_CHANNEL_DEC: 261>
|
|
3661
|
+
S_CHANNEL_INC: Scancode # value = <Scancode.S_CHANNEL_INC: 260>
|
|
3460
3662
|
S_COMMA: Scancode # value = <Scancode.S_COMMA: 54>
|
|
3461
3663
|
S_COPY: Scancode # value = <Scancode.S_COPY: 124>
|
|
3462
3664
|
S_CUT: Scancode # value = <Scancode.S_CUT: 123>
|
|
3463
3665
|
S_DEL: Scancode # value = <Scancode.S_DEL: 76>
|
|
3464
3666
|
S_DOWN: Scancode # value = <Scancode.S_DOWN: 81>
|
|
3465
3667
|
S_END: Scancode # value = <Scancode.S_END: 77>
|
|
3668
|
+
S_ENDCALL: Scancode # value = <Scancode.S_ENDCALL: 290>
|
|
3466
3669
|
S_EQ: Scancode # value = <Scancode.S_EQ: 46>
|
|
3467
3670
|
S_ESC: Scancode # value = <Scancode.S_ESC: 41>
|
|
3671
|
+
S_EXECUTE: Scancode # value = <Scancode.S_EXECUTE: 116>
|
|
3468
3672
|
S_F1: Scancode # value = <Scancode.S_F1: 58>
|
|
3469
3673
|
S_F10: Scancode # value = <Scancode.S_F10: 67>
|
|
3470
3674
|
S_F11: Scancode # value = <Scancode.S_F11: 68>
|
|
3471
3675
|
S_F12: Scancode # value = <Scancode.S_F12: 69>
|
|
3676
|
+
S_F13: Scancode # value = <Scancode.S_F13: 104>
|
|
3677
|
+
S_F14: Scancode # value = <Scancode.S_F14: 105>
|
|
3678
|
+
S_F15: Scancode # value = <Scancode.S_F15: 106>
|
|
3472
3679
|
S_F2: Scancode # value = <Scancode.S_F2: 59>
|
|
3473
3680
|
S_F3: Scancode # value = <Scancode.S_F3: 60>
|
|
3474
3681
|
S_F4: Scancode # value = <Scancode.S_F4: 61>
|
|
@@ -3479,6 +3686,7 @@ S_F8: Scancode # value = <Scancode.S_F8: 65>
|
|
|
3479
3686
|
S_F9: Scancode # value = <Scancode.S_F9: 66>
|
|
3480
3687
|
S_FIND: Scancode # value = <Scancode.S_FIND: 126>
|
|
3481
3688
|
S_GRAVE: Scancode # value = <Scancode.S_GRAVE: 53>
|
|
3689
|
+
S_HELP: Scancode # value = <Scancode.S_HELP: 117>
|
|
3482
3690
|
S_HOME: Scancode # value = <Scancode.S_HOME: 74>
|
|
3483
3691
|
S_INS: Scancode # value = <Scancode.S_INS: 73>
|
|
3484
3692
|
S_KP_0: Scancode # value = <Scancode.S_KP_0: 98>
|
|
@@ -3503,7 +3711,20 @@ S_LCTRL: Scancode # value = <Scancode.S_LCTRL: 224>
|
|
|
3503
3711
|
S_LEFT: Scancode # value = <Scancode.S_LEFT: 80>
|
|
3504
3712
|
S_LGUI: Scancode # value = <Scancode.S_LGUI: 227>
|
|
3505
3713
|
S_LSHIFT: Scancode # value = <Scancode.S_LSHIFT: 225>
|
|
3714
|
+
S_MEDIA_EJECT: Scancode # value = <Scancode.S_MEDIA_EJECT: 270>
|
|
3715
|
+
S_MEDIA_FAST_FORWARD: Scancode # value = <Scancode.S_MEDIA_FAST_FORWARD: 265>
|
|
3716
|
+
S_MEDIA_NEXT: Scancode # value = <Scancode.S_MEDIA_NEXT: 267>
|
|
3717
|
+
S_MEDIA_PAUSE: Scancode # value = <Scancode.S_MEDIA_PAUSE: 263>
|
|
3718
|
+
S_MEDIA_PLAY: Scancode # value = <Scancode.S_MEDIA_PLAY: 262>
|
|
3719
|
+
S_MEDIA_PLAY_PAUSE: Scancode # value = <Scancode.S_MEDIA_PLAY_PAUSE: 271>
|
|
3720
|
+
S_MEDIA_PREV: Scancode # value = <Scancode.S_MEDIA_PREV: 268>
|
|
3721
|
+
S_MEDIA_REC: Scancode # value = <Scancode.S_MEDIA_REC: 264>
|
|
3722
|
+
S_MEDIA_REWIND: Scancode # value = <Scancode.S_MEDIA_REWIND: 266>
|
|
3723
|
+
S_MEDIA_SELECT: Scancode # value = <Scancode.S_MEDIA_SELECT: 272>
|
|
3724
|
+
S_MEDIA_STOP: Scancode # value = <Scancode.S_MEDIA_STOP: 269>
|
|
3725
|
+
S_MENU: Scancode # value = <Scancode.S_MENU: 118>
|
|
3506
3726
|
S_MINUS: Scancode # value = <Scancode.S_MINUS: 45>
|
|
3727
|
+
S_MODE: Scancode # value = <Scancode.S_MODE: 257>
|
|
3507
3728
|
S_MUTE: Scancode # value = <Scancode.S_MUTE: 127>
|
|
3508
3729
|
S_NUMLOCK: Scancode # value = <Scancode.S_NUMLOCK: 83>
|
|
3509
3730
|
S_PASTE: Scancode # value = <Scancode.S_PASTE: 125>
|
|
@@ -3511,6 +3732,7 @@ S_PAUSE: Scancode # value = <Scancode.S_PAUSE: 72>
|
|
|
3511
3732
|
S_PERIOD: Scancode # value = <Scancode.S_PERIOD: 55>
|
|
3512
3733
|
S_PGDOWN: Scancode # value = <Scancode.S_PGDOWN: 78>
|
|
3513
3734
|
S_PGUP: Scancode # value = <Scancode.S_PGUP: 75>
|
|
3735
|
+
S_POWER: Scancode # value = <Scancode.S_POWER: 102>
|
|
3514
3736
|
S_PRTSCR: Scancode # value = <Scancode.S_PRTSCR: 70>
|
|
3515
3737
|
S_RALT: Scancode # value = <Scancode.S_RALT: 230>
|
|
3516
3738
|
S_RBRACKET: Scancode # value = <Scancode.S_RBRACKET: 48>
|
|
@@ -3520,14 +3742,20 @@ S_RGUI: Scancode # value = <Scancode.S_RGUI: 231>
|
|
|
3520
3742
|
S_RIGHT: Scancode # value = <Scancode.S_RIGHT: 79>
|
|
3521
3743
|
S_RSHIFT: Scancode # value = <Scancode.S_RSHIFT: 229>
|
|
3522
3744
|
S_SCRLK: Scancode # value = <Scancode.S_SCRLK: 71>
|
|
3745
|
+
S_SELECT: Scancode # value = <Scancode.S_SELECT: 119>
|
|
3523
3746
|
S_SEMICOLON: Scancode # value = <Scancode.S_SEMICOLON: 51>
|
|
3524
3747
|
S_SLASH: Scancode # value = <Scancode.S_SLASH: 56>
|
|
3748
|
+
S_SLEEP: Scancode # value = <Scancode.S_SLEEP: 258>
|
|
3749
|
+
S_SOFTLEFT: Scancode # value = <Scancode.S_SOFTLEFT: 287>
|
|
3750
|
+
S_SOFTRIGHT: Scancode # value = <Scancode.S_SOFTRIGHT: 288>
|
|
3525
3751
|
S_SPACE: Scancode # value = <Scancode.S_SPACE: 44>
|
|
3752
|
+
S_STOP: Scancode # value = <Scancode.S_STOP: 120>
|
|
3526
3753
|
S_TAB: Scancode # value = <Scancode.S_TAB: 43>
|
|
3527
3754
|
S_UNDO: Scancode # value = <Scancode.S_UNDO: 122>
|
|
3528
3755
|
S_UP: Scancode # value = <Scancode.S_UP: 82>
|
|
3529
3756
|
S_VOLDOWN: Scancode # value = <Scancode.S_VOLDOWN: 129>
|
|
3530
3757
|
S_VOLUP: Scancode # value = <Scancode.S_VOLUP: 128>
|
|
3758
|
+
S_WAKE: Scancode # value = <Scancode.S_WAKE: 259>
|
|
3531
3759
|
S_a: Scancode # value = <Scancode.S_a: 4>
|
|
3532
3760
|
S_b: Scancode # value = <Scancode.S_b: 5>
|
|
3533
3761
|
S_c: Scancode # value = <Scancode.S_c: 6>
|
|
@@ -3554,16 +3782,27 @@ S_w: Scancode # value = <Scancode.S_w: 26>
|
|
|
3554
3782
|
S_x: Scancode # value = <Scancode.S_x: 27>
|
|
3555
3783
|
S_y: Scancode # value = <Scancode.S_y: 28>
|
|
3556
3784
|
S_z: Scancode # value = <Scancode.S_z: 29>
|
|
3785
|
+
TERMINATING: EventType # value = <EventType.TERMINATING: 257>
|
|
3557
3786
|
TEXT_EDITING: EventType # value = <EventType.TEXT_EDITING: 770>
|
|
3787
|
+
TEXT_EDITING_CANDIDATES: EventType # value = <EventType.TEXT_EDITING_CANDIDATES: 775>
|
|
3558
3788
|
TEXT_INPUT: EventType # value = <EventType.TEXT_INPUT: 771>
|
|
3559
3789
|
TOP_LEFT: Anchor # value = <Anchor.TOP_LEFT: 0>
|
|
3560
3790
|
TOP_MID: Anchor # value = <Anchor.TOP_MID: 1>
|
|
3561
3791
|
TOP_RIGHT: Anchor # value = <Anchor.TOP_RIGHT: 2>
|
|
3792
|
+
WILL_ENTER_BACKGROUND: EventType # value = <EventType.WILL_ENTER_BACKGROUND: 259>
|
|
3793
|
+
WILL_ENTER_FOREGROUND: EventType # value = <EventType.WILL_ENTER_FOREGROUND: 261>
|
|
3794
|
+
WINDOW_CLOSE_REQUESTED: EventType # value = <EventType.WINDOW_CLOSE_REQUESTED: 528>
|
|
3795
|
+
WINDOW_DESTROYED: EventType # value = <EventType.WINDOW_DESTROYED: 537>
|
|
3796
|
+
WINDOW_DISPLAY_CHANGED: EventType # value = <EventType.WINDOW_DISPLAY_CHANGED: 531>
|
|
3797
|
+
WINDOW_DISPLAY_SCALE_CHANGED: EventType # value = <EventType.WINDOW_DISPLAY_SCALE_CHANGED: 532>
|
|
3562
3798
|
WINDOW_ENTER_FULLSCREEN: EventType # value = <EventType.WINDOW_ENTER_FULLSCREEN: 535>
|
|
3563
3799
|
WINDOW_EXPOSED: EventType # value = <EventType.WINDOW_EXPOSED: 516>
|
|
3564
3800
|
WINDOW_FOCUS_GAINED: EventType # value = <EventType.WINDOW_FOCUS_GAINED: 526>
|
|
3565
3801
|
WINDOW_FOCUS_LOST: EventType # value = <EventType.WINDOW_FOCUS_LOST: 527>
|
|
3802
|
+
WINDOW_HDR_STATE_CHANGED: EventType # value = <EventType.WINDOW_HDR_STATE_CHANGED: 538>
|
|
3566
3803
|
WINDOW_HIDDEN: EventType # value = <EventType.WINDOW_HIDDEN: 515>
|
|
3804
|
+
WINDOW_HIT_TEST: EventType # value = <EventType.WINDOW_HIT_TEST: 529>
|
|
3805
|
+
WINDOW_ICCPROF_CHANGED: EventType # value = <EventType.WINDOW_ICCPROF_CHANGED: 530>
|
|
3567
3806
|
WINDOW_LEAVE_FULLSCREEN: EventType # value = <EventType.WINDOW_LEAVE_FULLSCREEN: 536>
|
|
3568
3807
|
WINDOW_MAXIMIZED: EventType # value = <EventType.WINDOW_MAXIMIZED: 522>
|
|
3569
3808
|
WINDOW_MINIMIZED: EventType # value = <EventType.WINDOW_MINIMIZED: 521>
|
|
@@ -3573,4 +3812,5 @@ WINDOW_MOVED: EventType # value = <EventType.WINDOW_MOVED: 517>
|
|
|
3573
3812
|
WINDOW_OCCLUDED: EventType # value = <EventType.WINDOW_OCCLUDED: 534>
|
|
3574
3813
|
WINDOW_RESIZED: EventType # value = <EventType.WINDOW_RESIZED: 518>
|
|
3575
3814
|
WINDOW_RESTORED: EventType # value = <EventType.WINDOW_RESTORED: 523>
|
|
3815
|
+
WINDOW_SAFE_AREA_CHANGED: EventType # value = <EventType.WINDOW_SAFE_AREA_CHANGED: 533>
|
|
3576
3816
|
WINDOW_SHOWN: EventType # value = <EventType.WINDOW_SHOWN: 514>
|