kangengine

This page documents application-wide entry points and helpers exported directly by the kangengine package. With the conventional import kangengine as ke alias, these are accessed as ke.App, ke.DebugGeometry, and similar top-level names.

Specialized APIs are grouped by responsibility under domain modules such as ke.scene, ke.physics, ke.material, and ke.sim. Use the documented public paths regardless of whether an object is implemented in C++ or Python.

Use the API Reference navigation to jump to a specific area.

Application

Application lifecycle, camera access, and viewport interaction.

Use app.debug.overlay, app.debug.geometry, app.debug.world_text, and app.debug.screen_text for debug visualization. These reference existing helpers; only geometry creates SceneGraph objects.

class kangengine.app.DebugContext(app: App)[python]

Access existing debug helpers without changing their scene ownership.

overlay
geometry
world_text
screen_text
class kangengine.App[native]

Bases: App

Base class for Python KangEngine apps.

This mirrors the C++ App lifecycle:

  • setup() runs once before the loop starts.

  • pre_update() handles per-frame input before simulation updates.

  • fixed_update(dt) runs zero or more times in update_and_draw().

  • pre_render() runs before scene rendering each frame.

  • render() runs inside the render frame; ImGui requires Native rendering.

  • post_render() runs after UI rendering and before capture/presentation.

start() repeats update_and_draw(). External simulation loops use process_events() and draw_frame(); drawing runs the render hooks without invoking pre_update() or fixed_update().

The C++ implementation still handles the default camera controls: WASD/mouse navigation, H to hide UI, Escape to close, framebuffer updates, and the built-in scene/performance panels.

Fixed-step simulations may opt into Enter play/pause and Space pause/single-step controls with set_simulation_hotkeys_enabled(True).

add_ground(path: str = '/ground', scale: float = 20.0, material=None)
add_mesh(path: str, mesh_data, material=None, color=None, *, uri=None)
add_obj(path: str, obj_path, **kwargs)
add_playback_target(target)

Link a motion editor or panel to shared play/pause controls.

Space controls registered targets and the simulation clock. Legacy simulation Enter/Space shortcuts are bypassed while targets are registered. The first target adopts the App’s current paused/running state.

add_render_hook(phase, callback, *, pipeline=None)

Register a custom draw callback and optionally track its pipeline.

add_skinned_mesh(prim, material, skinned_mesh_data, transform_source=None)

Register a skinned mesh prim and return a RenderablePrimView.

The bind mesh is registered as the shared resource identity. Runtime skinning and deformable vertex updates remain per-renderable state.

as_vec3(value)
property automation

Common observation service; create it on the App thread before sharing.

capture_frame(
*,
output_path: str | Path | None = None,
) → Future[CaptureResult]

Request the next scene frame as a future of CaptureResult.

Parameters:

output_path (str | Path | None) – Optional PNG beneath tmp/captures. Relative paths are relative to that directory; existing files are rejected.

Return type:

Future[CaptureResult]

Returns:

A future containing PNG bytes and native frame identity. Wait from a worker thread or after rendering a frame, never in a render hook.

cleanup()
close()

Finalize App services and release graphics resources on the owner thread.

This is idempotent and is called by start even after a callback raises. Manually stepped apps must call it in a finally block. App-owned native views must not be used after this call.

configure_run(config)

Apply the rendering policy used by App-owned services.

configure_timing(config)

Apply a SimulationTimingConfig to this application loop.

create_color_material(
*,
style=<ColorStyle.UNTEXTURED: 0>,
) → ColorMaterial

Create and retain a color material.

Return type:

ColorMaterial

create_pbr_material(
preset=None,
*,
base_color=None,
metallic=None,
roughness=None,
emissive_color=None,
emissive_strength=None,
base_color_texture=None,
normal_texture=None,
metallic_roughness_texture=None,
metallic_texture=None,
roughness_texture=None,
ao_texture=None,
orm_texture=None,
emissive_texture=None,
opacity_texture=None,
) → PBRMaterial

Create and retain a PBR material instance.

Material identity is intentionally per instance: sharing one material shares its parameters, while separate materials can use the same shader with different factors/textures.

Return type:

PBRMaterial

create_phong_material(
preset=None,
*,
ambient=None,
diffuse=None,
specular=None,
shininess=None,
diffuse_map=None,
specular_map=None,
alpha_map=None,
normal_map=None,
) → PhongMaterial

Create and retain a Phong material instance.

Each call returns a distinct material, so two meshes can share the same shader while carrying different colors/textures and batching keys.

Return type:

PhongMaterial

create_scene_hook_pipeline(desc, *, shader_uris=None, shader_languages=None)

Create a custom scene pipeline and mirror its authored definition.

The returned backend pipeline remains caller-owned. Shader sources and the pipeline definition are copied into /.Resources for editor inspection; compiled backend objects are not scene resources.

create_standard_materials(*, force: bool = False)

Create or return the cached standard material bundle.

The bundle contains shared defaults for common scene and visualization work. Use create_phong_material() or create_pbr_material() when an object needs independently mutable surface parameters.

create_standard_shaders(*, force: bool = False)

Compatibility alias for the built-in material bundle.

Standard render paths no longer expose backend Shader objects. New code should call create_standard_materials() directly.

create_texture(
pixels,
*,
srgb: bool = False,
flip: bool = True,
) → Texture | TextureSource

Create a texture from contiguous uint8 [height, width, 3 or 4] pixels.

Copies the input as an immutable source. Later edits to the input do not change the texture; create a new texture to replace it. flip and srgb have the same meaning as in load_texture().

Return type:

Texture | TextureSource

create_vertex_color_material(
*,
style=<ColorStyle.UNTEXTURED: 0>,
) → ColorMaterial

Create and retain a color material.

Return type:

ColorMaterial

enable_mcp(*, port: int = 8765, token: str | None = None)

Start the optional loopback observation server on this App.

Connection credentials are saved per session in the user’s MCP runtime or cache directory, with owner-only POSIX permissions. Enable it also by KANGENGINE_MCP=1 when calling start().

fixed_update(self: App, fixed_dt: float) → None

User override called zero or more times at a fixed timestep.

get_native_scene()

Return the native SceneBackend escape hatch.

Public Python code should prefer self.scene for authored scene workflows. Use this only when a C++ or pybind API explicitly requires SceneBackend.

get_renderer()

Return the renderer facade exposed through ke.render.

get_scene()

Return the Python-friendly SceneContext facade.

This mirrors the app.scene property. Use get_native_scene() or scene.native only when a C++ or pybind API explicitly requires the native SceneBackend.

get_video_recording_path()
initialize(
width=1920,
height=1080,
hide_ui=False,
up_axis=None,
graphics_backend_type=None,
scene_backend_type=None,
headless=False,
*,
renderer=None,
render_backend=None,
)

Initialize the selected renderer; Native is the default.

ovrtx supports skinning, CPU deformation, CPU/CUDA instances, picking, and built-in Color/Phong/PBR materials with unlit and alpha masking. Standard checker ground uses a filtered texture; Phong ground and grid emission are unsupported. Lit PBR BLEND uses USD opacity; unlit/color fading and DebugChecker are unsupported. Its window requires CUDA–OpenGL interop on the same GPU. Use headless=True, hide_ui=True for CPU image output without a window. CUDA instance inputs also require cuda-bindings. Unsupported scene features raise when submitted.

is_key_down(key)
is_video_recording() → bool
Return type:

bool

load_texture(
path,
*,
flip: bool = True,
srgb: bool = False,
) → Texture | TextureSource

Load and retain a texture, with optional sRGB decoding for color maps.

Normal, roughness, metallic and other data maps use srgb=False. Cache identity includes image orientation and color space. External renderers retain a file source instead of a native GPU texture.

Return type:

Texture | TextureSource

load_ui_texture(path, *, flip: bool = True) → Texture

Load and retain an ImGui texture; requires a window graphics device.

Return type:

Texture

package_asset_path(*parts: str) → str
Return type:

str

property physics_inspector

Viewport inspector; connect a source after initialize(). Display defaults to off.

post_render(self: App) → None

User override called after each frame is rendered.

pre_render(self: App) → None

User override called before each frame is rendered.

pre_update(self: App) → None

User override called once before fixed updates each frame.

register_mcp_scenario_target(
name: str,
target: McpScenarioTarget,
) → None

Register an optional MCP extension for scenario playback and capture.

Parameters:
  • name (str) – Unique nonempty name used by MCP scenario tools.

  • target (McpScenarioTarget) – An implementation of kangengine.app.mcp.scenario.McpScenarioTarget. Register before running frames; registration does not start MCP.

Return type:

None

remove_render_hook(handle)

Remove a custom scene draw callback.

render(self: App) → None

User override called during each frame render.

set_camera_view(position, target)
set_render_hz(hz: float)

Set the target render/update frequency in Hz.

set_video_recording_dir(output_dir)
set_video_recording_fps(fps: float)
set_video_recording_resolution(width: int | None, height: int | None = None)

Set the recording resolution cap, or pass None for native size.

setup(self: App) → None

User override called once after initialization.

should_close_shortcut_pressed()
start(self: App) → None

Enter the application loop; close after Python-owned cleanup.

start_video_recording(output_path=None, fps: float | None = None)

Start framebuffer recording using the configured run mode.

stop_video_recording()

Stop framebuffer recording and finalize the output file.

toggle_video_recording()

Toggle framebuffer recording, matching the Shift+T shortcut.

was_key_pressed(key)
was_key_released(key)
class kangengine.SimulationTimingConfig(
render_hz: float = 60.0,
physics_hz: float = 120.0,
fixed_update_hz: float = 60.0,
max_catch_up_steps: int = 8,
max_frame_delta: float = 0.25,
) → None[python]

Rates and safety limits for an App-driven simulation loop.

Rates are the writable source of truth. Time intervals are derived to avoid contradictory hz and dt settings.

render_hz
physics_hz
fixed_update_hz
max_catch_up_steps
max_frame_delta
property decimation

Physics substeps represented by one fixed update.

property fixed_dt

Duration in seconds of one App fixed update.

classmethod from_dt(
*,
physics_dt: float,
fixed_dt: float,
render_hz: float = 60.0,
max_catch_up_steps: int = 8,
max_frame_delta: float = 0.25,
) → SimulationTimingConfig

Create a config at a boundary that already expresses time in dt.

Return type:

SimulationTimingConfig

property physics_dt

Duration in seconds of one physics substep.

property sim_dt

Compatibility alias for physics_dt.

class kangengine.SceneContext(app: App)[python]

Scene-facing facade connected to the owning App renderer.

Use this for common add/remove workflows. It keeps renderer handles inside the app-facing layer while preserving access to the underlying scene backend for lower-level operations.

add_ground(path: str = '/ground', scale: float = 20.0, material=None)

Add a checkerboard ground plane.

add_mesh(
path: str,
mesh_data,
material,
color=None,
transform_source=None,
uri=None,
)
add_obj(path: str, obj_path, *, transform_source=None, double_sided=False)

Load an OBJ/MTL file and add material-subset mesh prims.

Multi-material OBJ files become one Xform root with one renderable child per material subset. Single-material OBJ files still use the same code path, which keeps resource registration and material creation consistent.

add_renderable(prim, material, transform_source=None)

Register a scene prim as renderable through RenderComponent.

This is the preferred public path for authored scene objects. It returns a RenderablePrimView facade instead of exposing the native renderer handle. Pass a Material describing the render surface.

define_prim(path: str, prim_type)
get_prim_at_path(path: str)
get_root_prim()
log_arrows(
path: str,
material,
starts,
ends,
colors=None,
radius: float = 0.02,
segments: int = 12,
)
log_lines(
path: str,
material,
starts,
ends,
colors=None,
radius: float = 0.005,
segments: int = 8,
)
property native

Return the native SceneBackend escape hatch.

Prefer SceneContext helpers such as add_mesh(), add_ground(), and define_prim() for authored scene objects. Use native only when a C++ or pybind API explicitly requires SceneBackend.

remove_prim(path_or_prim)
class kangengine.DebugGeometry(scene_context: SceneContext)[python]

Scene-registered debug meshes driven by external world transforms.

add_arrows(
path: str,
starts,
ends,
colors=None,
*,
material=None,
radius: float = 0.02,
segments: int = 12,
)

Add instanced arrow meshes and return a DebugPrimitiveView.

add_axes(
path: str,
origin,
rotation=None,
*,
length: float = 1.0,
material=None,
radius: float = 0.005,
segments: int = 8,
)

Add RGB axis meshes and return a DebugPrimitiveView.

add_lines(
path: str,
starts,
ends,
colors=None,
*,
material=None,
radius: float = 0.005,
segments: int = 8,
)

Add instanced line meshes and return a DebugPrimitiveView.

add_spheres(
path: str,
centers,
radii=0.5,
colors=None,
*,
material=None,
segments: int = 16,
rings: int = 12,
)

Add instanced solid spheres and return a DebugPrimitiveView.

class kangengine.DebugOverlay(app: App)[python]

Persistent Native/OVRTX debug batches; repeat a path to replace its data.

arrows(
path: str,
starts,
ends,
colors=None,
*,
width: float = 1.0,
hidden: bool = False,
overlay: bool = False,
)

Draw world-space arrows using line segments.

Parameters:
  • path (str) – Debug line batch to replace; delete with remove.

  • starts – Arrow origins, shape (N, 3).

  • ends – Arrow tips, shape (N, 3). Lengths at most 1e-8 are omitted.

  • colors – RGBA colors, shape (N, 4), (1, 4), or (4,), or None for white.

  • width (float) – Line width in pixels.

  • hidden (bool) – Keep the batch hidden.

  • overlay (bool) – Draw through scene geometry; defaults to False.

Heads occupy 20% of each arrow’s length, with an 8% half-width.

axes(
path: str,
origin,
rotation=None,
*,
length: float = 1.0,
width: float = 1.0,
hidden: bool = False,
overlay: bool = False,
)
clear(path: str)

Empty line and point data at an exact path, retaining reusable buffers.

clear_lines(path: str)

Empty line/axis/arrow data at an exact path, retaining reusable buffers.

clear_points(path: str)

Empty point data at an exact path, retaining reusable buffers.

lines(
path: str,
starts,
ends,
colors=None,
*,
width: float = 1.0,
hidden: bool = False,
overlay: bool = False,
)
points(
path: str,
points,
colors=None,
*,
size: float = 6.0,
hidden: bool = False,
overlay: bool = False,
)
remove(path: str)

Delete line/axis/arrow and point batches at an exact path, releasing buffers.

remove_all()

Delete all debug batches and release their buffers.

set_visible(path: str, visible: bool)

Show or hide existing batches at an exact path without resending data.

class kangengine.WorldText(app: App)[python]

Persistent screen-aligned text anchored at world-space positions.

clear()

Compatibility spelling; prefer remove_all().

remove(path: str)
remove_all()
set(
path: str,
text: str,
position,
*,
color=None,
pixel_size: float = 18.0,
alignment=None,
depth_test: bool = True,
hidden: bool = False,
)
set_hidden(path: str, hidden: bool)

Compatibility spelling; prefer set_visible(path, visible).

set_position(path: str, position)
set_text(path: str, text: str)
set_visible(path: str, visible: bool)
class kangengine.ScreenText(app: App)[python]

Persistent text positioned in viewport pixel(screen) coordinates.

clear()

Compatibility spelling; prefer remove_all().

remove(path: str)
remove_all()
set(
path: str,
text: str,
position,
*,
color=None,
pixel_size: float = 18.0,
alignment=None,
anchor=None,
hidden: bool = False,
)
set_hidden(path: str, hidden: bool)

Compatibility spelling; prefer set_visible(path, visible).

set_position(path: str, position)
set_text(path: str, text: str)
set_visible(path: str, visible: bool)
class kangengine.RenderablePrimView(app: App, prim, component)[python]

User-facing view for one scene prim and its renderer resources.

compute_local_matrix()

Compute the effective parent-relative transform matrix.

compute_world_matrix()

Compute the effective world-space transform matrix.

get_base_color()

Return the per-instance base-color multiplier.

get_local_quat()

Return the effective parent-relative quaternion rotation.

get_local_translation()

Return the effective parent-relative translation.

get_world_quat()

Return the effective world-space quaternion rotation.

get_world_translation()

Return the effective world-space translation.

property path
remove()
set_alpha_mode(mode, cutoff: float = 0.5)

Choose opaque, cutout-mask, or blended alpha rendering.

set_base_color(color)

Set the per-instance base-color multiplier for this renderable.

set_batch_texture(texture, role_or_slot=<TextureRole.BASE_COLOR: 0>)

Override a Native ColorMaterial texture for the entire render batch.

set_casts_shadow(enabled: bool = True)
set_double_sided(enabled: bool = True)
set_local_matrix(matrix)

Set the parent-relative transform matrix.

set_local_quat_wxyz(quat_wxyz)

Set parent-relative rotation from WXYZ values or a Quat.

set_local_rotation_axis_angle(axis, angle_radians: float)

Set parent-relative rotation from an axis and angle in radians.

set_local_scale(scale)

Set the parent-relative scale.

set_local_translation(translation)

Set the parent-relative translation.

set_material(material)

Replace this renderable’s material and move it to the right batch.

set_texture(texture, role_or_slot=<TextureRole.BASE_COLOR: 0>)

Override a Native ColorMaterial texture for the entire render batch.

set_transform_buffer(
transforms,
*,
sim_device=None,
sync_policy=None,
version=None,
)

Set an ExternalBuffer renderable’s [N, 4, 4] transform buffer.

version lets a versioned producer mark reused storage as changed without allocating a new NumPy array or Torch tensor.

set_visible(visible: bool)
set_world_matrix(matrix)

Set the transform matrix in world space.

set_world_quat_wxyz(quat_wxyz)

Set world-space rotation from WXYZ values or a Quat.

set_world_rotation_axis_angle(axis, angle_radians: float)

Set world rotation from an axis and angle in radians.

set_world_translation(translation)

Set translation in world space.

update_geometry(positions, normals=None)

Update mesh-local CPU positions and optional normals, shaped [N, 3].

Vertex count and topology stay fixed; omitted normals retain their values. Native updates the shared batch; ovrtx updates this object. Source MeshData is unchanged.

update_skinning(bone_matrices)

Update skinned bone matrices for this renderable.

class kangengine.RayPickResult[native]
property distance
property handle
property hit
property instance_index
property position
property prim
property transform_source

ke.imgui

Small Dear ImGui binding for application panels and controls. Access these functions through ke.imgui.

Small Dear ImGui wrapper for Python apps

Window flags

Name

Value

ke.imgui.WindowFlags_HorizontalScrollbar

2048

ke.imgui.WindowFlags_NoBackground

128

ke.imgui.WindowFlags_NoInputs

197120

ke.imgui.WindowFlags_NoMove

4

ke.imgui.WindowFlags_NoResize

2

ke.imgui.WindowFlags_NoScrollbar

8

ke.imgui.WindowFlags_NoTitleBar

1

ke.imgui.WindowFlags_None

0

kangengine.imgui.begin(name: str, flags: int = 0) → bool[native]
kangengine.imgui.begin_child(
id: str,
width: float = 0.0,
height: float = 0.0,
border: bool = False,
flags: int = 0,
) → bool[native]
kangengine.imgui.begin_disabled(disabled: bool = True) → None[native]
kangengine.imgui.button(arg0: str) → bool[native]
kangengine.imgui.calc_text_size(text: str) → tuple[native]
kangengine.imgui.checkbox(label: str, value: bool) → tuple[native]
kangengine.imgui.close_file_dialog() → None[native]
kangengine.imgui.collapsing_header(label: str) → bool[native]
kangengine.imgui.colored_button(label: str, color: kangengine.Vec4) → bool[native]
kangengine.imgui.content_region_avail() → tuple[native]
kangengine.imgui.cursor_screen_pos() → tuple[native]
kangengine.imgui.display_file_dialog(key: str) → tuple[native]

Render one open dialog and return (finished, selected_path). The path is None while pending or after cancellation.

kangengine.imgui.dock_window(name: str, target: str, position: str = 'tab', ratio: float = 0.25) → bool[native]

Dock once relative to an existing window; retry while false.

kangengine.imgui.dock_window_below(name: str, target: str, ratio: float = 0.2800000011920929) → bool[native]

Dock a window below a docked target within its area. Call once; returns false until target exists.

kangengine.imgui.draw_circle_filled(x: float, y: float, radius: float, color: kangengine.Vec4) → None[native]
kangengine.imgui.draw_convex_polygon_filled(
points: collections.abc.Sequence,
color: kangengine.Vec4,
) → None[native]
kangengine.imgui.draw_line(
x1: float,
y1: float,
x2: float,
y2: float,
color: kangengine.Vec4,
thickness: float = 1.0,
) → None[native]
kangengine.imgui.draw_rect_filled(
x1: float,
y1: float,
x2: float,
y2: float,
color: kangengine.Vec4,
rounding: float = 0.0,
) → None[native]
kangengine.imgui.end() → None[native]
kangengine.imgui.end_child() → None[native]
kangengine.imgui.end_disabled() → None[native]
kangengine.imgui.image(
texture: kangengine.Texture,
width: float,
height: float,
opacity: float = 1.0,
uv0: Annotated[collections.abc.Sequence[float], 'FixedSize(2)'] = [0.0, 1.0],
uv1: Annotated[collections.abc.Sequence[float], 'FixedSize(2)'] = [1.0, 0.0],
rounding: float = 0.0,
) → None[native]
kangengine.imgui.input_text(label: str, value: str, capacity: int = 4096) → tuple[native]

Edit one UTF-8 text value and return (changed, value).

kangengine.imgui.interval_track(
label: str,
current_frame: int,
frame_min: int,
frame_max: int,
intervals: collections.abc.Sequence[Annotated[collections.abc.Sequence[int], 'FixedSize(2)']],
colors: collections.abc.Sequence[kangengine.Vec4],
width: float = 0.0,
height: float = 22.0,
) → tuple[native]

Draw inclusive colored frame intervals and a playhead. Returns (active, frame, pressed). Later intervals overlay earlier ones; dragging outside clamps to the frame range.

kangengine.imgui.main_viewport_work_rect() → tuple[native]
kangengine.imgui.motion_sequencer(
label: str,
current_frame: int,
frame_min: int,
frame_max: int,
first_frame: int = 0,
expanded: bool = True,
selected_entry: int = -1,
item_label: str = 'Motion',
fit_to_content: bool = False,
) → tuple[native]
kangengine.imgui.motion_sequencer_resizable(
label: str,
current_frame: int,
frame_min: int,
frame_max: int,
first_frame: int = 0,
expanded: bool = True,
selected_entry: int = -1,
item_label: str = 'Motion',
fit_to_content: bool = False,
legend_width: float = 200.0,
) → tuple[native]
kangengine.imgui.open_directory_dialog(key: str, title: str, path: str = '.') → None[native]
kangengine.imgui.open_file_dialog(key: str, title: str, filters: str, path: str = '.') → None[native]
kangengine.imgui.open_save_dialog(
key: str,
title: str,
filters: str,
path: str = '.',
file_name: str = '',
) → None[native]
kangengine.imgui.progress_bar(
fraction: float,
width: float = -1.0,
height: float = 0.0,
overlay: str = '',
) → None[native]
kangengine.imgui.same_line() → None[native]
kangengine.imgui.selectable(label: str, selected: bool = False) → bool[native]
kangengine.imgui.separator() → None[native]
kangengine.imgui.set_cursor_screen_pos(x: float, y: float) → None[native]
kangengine.imgui.set_next_item_width(width: float) → None[native]

Set the width of the next ImGui input widget.

kangengine.imgui.set_next_window_pos(x: float, y: float) → None[native]
kangengine.imgui.set_next_window_size(width: float, height: float) → None[native]
kangengine.imgui.slider_float(
label: str,
value: float,
min: float,
max: float,
logarithmic: bool = False,
) → tuple[native]

Drag to adjust, or double-click to enter an exact value.

kangengine.imgui.slider_int(label: str, value: int, min: int, max: int) → tuple[native]

Drag integer steps or double-click to enter an integer; returns (changed, value).

kangengine.imgui.text(arg0: str) → None[native]
kangengine.imgui.text_disabled(arg0: str) → None[native]
kangengine.imgui.text_heading(text: str, scale: float = 1.2000000476837158) → None[native]

Draw a wrapped heading at a relative font size; restore the window font scale afterward.

kangengine.imgui.text_wrapped(text: str) → None[native]

ke.keys

Keyboard constants accepted by the App input helpers. Access them through ke.keys, for example ke.keys.ESCAPE, ke.keys.SPACE, or ke.keys.A.

GLFW keyboard key constants

Key constants

Name

Value

ke.keys.A

65

ke.keys.APOSTROPHE

39

ke.keys.B

66

ke.keys.BACKSLASH

92

ke.keys.BACKSPACE

259

ke.keys.C

67

ke.keys.CAPS_LOCK

280

ke.keys.COMMA

44

ke.keys.D

68

ke.keys.DELETE

261

ke.keys.DOWN

264

ke.keys.E

69

ke.keys.END

269

ke.keys.ENTER

257

ke.keys.EQUAL

61

ke.keys.ESCAPE

256

ke.keys.F

70

ke.keys.F1

290

ke.keys.F10

299

ke.keys.F11

300

ke.keys.F12

301

ke.keys.F13

302

ke.keys.F14

303

ke.keys.F15

304

ke.keys.F16

305

ke.keys.F17

306

ke.keys.F18

307

ke.keys.F19

308

ke.keys.F2

291

ke.keys.F20

309

ke.keys.F21

310

ke.keys.F22

311

ke.keys.F23

312

ke.keys.F24

313

ke.keys.F25

314

ke.keys.F3

292

ke.keys.F4

293

ke.keys.F5

294

ke.keys.F6

295

ke.keys.F7

296

ke.keys.F8

297

ke.keys.F9

298

ke.keys.G

71

ke.keys.GRAVE_ACCENT

96

ke.keys.H

72

ke.keys.HOME

268

ke.keys.I

73

ke.keys.INSERT

260

ke.keys.J

74

ke.keys.K

75

ke.keys.KP_0

320

ke.keys.KP_1

321

ke.keys.KP_2

322

ke.keys.KP_3

323

ke.keys.KP_4

324

ke.keys.KP_5

325

ke.keys.KP_6

326

ke.keys.KP_7

327

ke.keys.KP_8

328

ke.keys.KP_9

329

ke.keys.KP_ADD

334

ke.keys.KP_DECIMAL

330

ke.keys.KP_DIVIDE

331

ke.keys.KP_ENTER

335

ke.keys.KP_EQUAL

336

ke.keys.KP_MULTIPLY

332

ke.keys.KP_SUBTRACT

333

ke.keys.L

76

ke.keys.LEFT

263

ke.keys.LEFT_ALT

342

ke.keys.LEFT_BRACKET

91

ke.keys.LEFT_CONTROL

341

ke.keys.LEFT_SHIFT

340

ke.keys.LEFT_SUPER

343

ke.keys.M

77

ke.keys.MENU

348

ke.keys.MINUS

45

ke.keys.N

78

ke.keys.NUM_0

48

ke.keys.NUM_1

49

ke.keys.NUM_2

50

ke.keys.NUM_3

51

ke.keys.NUM_4

52

ke.keys.NUM_5

53

ke.keys.NUM_6

54

ke.keys.NUM_7

55

ke.keys.NUM_8

56

ke.keys.NUM_9

57

ke.keys.NUM_LOCK

282

ke.keys.O

79

ke.keys.P

80

ke.keys.PAGE_DOWN

267

ke.keys.PAGE_UP

266

ke.keys.PAUSE

284

ke.keys.PERIOD

46

ke.keys.PRINT_SCREEN

283

ke.keys.Q

81

ke.keys.R

82

ke.keys.RIGHT

262

ke.keys.RIGHT_ALT

346

ke.keys.RIGHT_BRACKET

93

ke.keys.RIGHT_CONTROL

345

ke.keys.RIGHT_SHIFT

344

ke.keys.RIGHT_SUPER

347

ke.keys.S

83

ke.keys.SCROLL_LOCK

281

ke.keys.SEMICOLON

59

ke.keys.SLASH

47

ke.keys.SPACE

32

ke.keys.T

84

ke.keys.TAB

258

ke.keys.U

85

ke.keys.UP

265

ke.keys.V

86

ke.keys.W

87

ke.keys.WORLD_1

161

ke.keys.WORLD_2

162

ke.keys.X

88

ke.keys.Y

89

ke.keys.Z

90