Top Description Fields Constructors Methods
org.lwjgl.openxr

public Class FBKeyboardTracking

extends Object
Class Inheritance
Imports
org.lwjgl.*, org.lwjgl.system.*

The XR_FB_keyboard_tracking extension.

This extension allows the application to query the system for a supported trackable keyboard type and obtain an XrSpace handle to track it. It also provides relevant metadata about the keyboard itself, including bounds and a human readable identifier.

Field Summary

Modifier and TypeField and Description
public static final String
public static final int
XR_FB_keyboard_tracking_SPEC_VERSION

The extension specification version.

public static final int
XR_KEYBOARD_TRACKING_CONNECTED_BIT_FB

XrKeyboardTrackingFlagBitsFB - XrKeyboardTrackingFlagBitsFB Flag Descriptions

  • KEYBOARD_TRACKING_EXISTS_BIT_FB — indicates that the system has a physically tracked keyboard to report. If not set then no other bits should be considered to be valid or meaningful. If set either XR_KEYBOARD_TRACKING_LOCAL_BIT_FB or XR_KEYBOARD_TRACKING_REMOTE_BIT_FB must also be set.
  • KEYBOARD_TRACKING_LOCAL_BIT_FB — indicates that the physically tracked keyboard is intended to be used in a local pairing with the system. Mutally exclusive with XR_KEYBOARD_TRACKING_REMOTE_BIT_FB.
  • KEYBOARD_TRACKING_REMOTE_BIT_FB — indicates that the physically tracked keyboard is intended to be used while paired to a separate remote computing device. Mutally exclusive with XR_KEYBOARD_TRACKING_LOCAL_BIT_FB.
  • KEYBOARD_TRACKING_CONNECTED_BIT_FB — indicates that the physically tracked keyboard is actively connected to the headset and capable of sending key data
public static final int
XR_KEYBOARD_TRACKING_EXISTS_BIT_FB

XrKeyboardTrackingFlagBitsFB - XrKeyboardTrackingFlagBitsFB Flag Descriptions

  • KEYBOARD_TRACKING_EXISTS_BIT_FB — indicates that the system has a physically tracked keyboard to report. If not set then no other bits should be considered to be valid or meaningful. If set either XR_KEYBOARD_TRACKING_LOCAL_BIT_FB or XR_KEYBOARD_TRACKING_REMOTE_BIT_FB must also be set.
  • KEYBOARD_TRACKING_LOCAL_BIT_FB — indicates that the physically tracked keyboard is intended to be used in a local pairing with the system. Mutally exclusive with XR_KEYBOARD_TRACKING_REMOTE_BIT_FB.
  • KEYBOARD_TRACKING_REMOTE_BIT_FB — indicates that the physically tracked keyboard is intended to be used while paired to a separate remote computing device. Mutally exclusive with XR_KEYBOARD_TRACKING_LOCAL_BIT_FB.
  • KEYBOARD_TRACKING_CONNECTED_BIT_FB — indicates that the physically tracked keyboard is actively connected to the headset and capable of sending key data
public static final int
XR_KEYBOARD_TRACKING_LOCAL_BIT_FB

XrKeyboardTrackingFlagBitsFB - XrKeyboardTrackingFlagBitsFB Flag Descriptions

  • KEYBOARD_TRACKING_EXISTS_BIT_FB — indicates that the system has a physically tracked keyboard to report. If not set then no other bits should be considered to be valid or meaningful. If set either XR_KEYBOARD_TRACKING_LOCAL_BIT_FB or XR_KEYBOARD_TRACKING_REMOTE_BIT_FB must also be set.
  • KEYBOARD_TRACKING_LOCAL_BIT_FB — indicates that the physically tracked keyboard is intended to be used in a local pairing with the system. Mutally exclusive with XR_KEYBOARD_TRACKING_REMOTE_BIT_FB.
  • KEYBOARD_TRACKING_REMOTE_BIT_FB — indicates that the physically tracked keyboard is intended to be used while paired to a separate remote computing device. Mutally exclusive with XR_KEYBOARD_TRACKING_LOCAL_BIT_FB.
  • KEYBOARD_TRACKING_CONNECTED_BIT_FB — indicates that the physically tracked keyboard is actively connected to the headset and capable of sending key data
public static final int
XR_KEYBOARD_TRACKING_QUERY_LOCAL_BIT_FB

XrKeyboardTrackingQueryFlagBitsFB - XrKeyboardTrackingQueryFlagBitsFB Flag Descriptions

  • KEYBOARD_TRACKING_QUERY_LOCAL_BIT_FB — indicates the query is for the physically tracked keyboard that is intended to be used in a local pairing with the System. Mutally exclusive with XR_KEYBOARD_TRACKING_QUERY_REMOTE_BIT_FB.
  • KEYBOARD_TRACKING_QUERY_REMOTE_BIT_FB — indicates the query is for the physically tracked keyboard that may be connected to a separate remote computing device. Mutally exclusive with XR_KEYBOARD_TRACKING_QUERY_LOCAL_BIT_FB.
public static final int
XR_KEYBOARD_TRACKING_QUERY_REMOTE_BIT_FB

XrKeyboardTrackingQueryFlagBitsFB - XrKeyboardTrackingQueryFlagBitsFB Flag Descriptions

  • KEYBOARD_TRACKING_QUERY_LOCAL_BIT_FB — indicates the query is for the physically tracked keyboard that is intended to be used in a local pairing with the System. Mutally exclusive with XR_KEYBOARD_TRACKING_QUERY_REMOTE_BIT_FB.
  • KEYBOARD_TRACKING_QUERY_REMOTE_BIT_FB — indicates the query is for the physically tracked keyboard that may be connected to a separate remote computing device. Mutally exclusive with XR_KEYBOARD_TRACKING_QUERY_LOCAL_BIT_FB.
public static final int
XR_KEYBOARD_TRACKING_REMOTE_BIT_FB

XrKeyboardTrackingFlagBitsFB - XrKeyboardTrackingFlagBitsFB Flag Descriptions

  • KEYBOARD_TRACKING_EXISTS_BIT_FB — indicates that the system has a physically tracked keyboard to report. If not set then no other bits should be considered to be valid or meaningful. If set either XR_KEYBOARD_TRACKING_LOCAL_BIT_FB or XR_KEYBOARD_TRACKING_REMOTE_BIT_FB must also be set.
  • KEYBOARD_TRACKING_LOCAL_BIT_FB — indicates that the physically tracked keyboard is intended to be used in a local pairing with the system. Mutally exclusive with XR_KEYBOARD_TRACKING_REMOTE_BIT_FB.
  • KEYBOARD_TRACKING_REMOTE_BIT_FB — indicates that the physically tracked keyboard is intended to be used while paired to a separate remote computing device. Mutally exclusive with XR_KEYBOARD_TRACKING_LOCAL_BIT_FB.
  • KEYBOARD_TRACKING_CONNECTED_BIT_FB — indicates that the physically tracked keyboard is actively connected to the headset and capable of sending key data
public static final int
XR_MAX_KEYBOARD_TRACKING_NAME_SIZE_FB

XR_MAX_KEYBOARD_TRACKING_NAME_SIZE_FB

public static final int
XR_TYPE_KEYBOARD_SPACE_CREATE_INFO_FB

Extends XrStructureType.

public static final int
XR_TYPE_KEYBOARD_TRACKING_QUERY_FB

Extends XrStructureType.

public static final int

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static int
nxrCreateKeyboardSpaceFB(XrSession session, long createInfo, long keyboardSpace)

Unsafe version of: CreateKeyboardSpaceFB

public static int
nxrQuerySystemTrackedKeyboardFB(XrSession session, long queryInfo, long keyboard)

Unsafe version of: QuerySystemTrackedKeyboardFB

public static int
xrCreateKeyboardSpaceFB(XrSession
the session that will be associated with the returned keyboard space.
session
,
XrKeyboardSpaceCreateInfoFB
the XrKeyboardSpaceCreateInfoFB that describes the type of keyboard to track.
createInfo
,
PointerBuffer
the XrSpace output structure.
keyboardSpace
)

Create a foveation profile.

public static int
xrQuerySystemTrackedKeyboardFB(XrSession
the session that will be associated with a keyboard space.
session
,
XrKeyboardTrackingQueryFB
the XrKeyboardTrackingQueryFB that describes the type of keyboard to return. queryInfo must have either KEYBOARD_TRACKING_QUERY_LOCAL_BIT_FB or KEYBOARD_TRACKING_QUERY_REMOTE_BIT_FB set.
queryInfo
,
XrKeyboardTrackingDescriptionFB
the XrKeyboardTrackingDescriptionFB output structure.
keyboard
)

Queries the system keyboard.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

XR_FB_KEYBOARD_TRACKING_EXTENSION_NAMEback to summary
public static final String XR_FB_KEYBOARD_TRACKING_EXTENSION_NAME

The extension name.

XR_FB_keyboard_tracking_SPEC_VERSIONback to summary
public static final int XR_FB_keyboard_tracking_SPEC_VERSION

The extension specification version.

XR_KEYBOARD_TRACKING_CONNECTED_BIT_FBback to summary
public static final int XR_KEYBOARD_TRACKING_CONNECTED_BIT_FB

XrKeyboardTrackingFlagBitsFB - XrKeyboardTrackingFlagBitsFB

Flag Descriptions
  • KEYBOARD_TRACKING_EXISTS_BIT_FB — indicates that the system has a physically tracked keyboard to report. If not set then no other bits should be considered to be valid or meaningful. If set either XR_KEYBOARD_TRACKING_LOCAL_BIT_FB or XR_KEYBOARD_TRACKING_REMOTE_BIT_FB must also be set.
  • KEYBOARD_TRACKING_LOCAL_BIT_FB — indicates that the physically tracked keyboard is intended to be used in a local pairing with the system. Mutally exclusive with XR_KEYBOARD_TRACKING_REMOTE_BIT_FB.
  • KEYBOARD_TRACKING_REMOTE_BIT_FB — indicates that the physically tracked keyboard is intended to be used while paired to a separate remote computing device. Mutally exclusive with XR_KEYBOARD_TRACKING_LOCAL_BIT_FB.
  • KEYBOARD_TRACKING_CONNECTED_BIT_FB — indicates that the physically tracked keyboard is actively connected to the headset and capable of sending key data
XR_KEYBOARD_TRACKING_EXISTS_BIT_FBback to summary
public static final int XR_KEYBOARD_TRACKING_EXISTS_BIT_FB

XrKeyboardTrackingFlagBitsFB - XrKeyboardTrackingFlagBitsFB

Flag Descriptions
  • KEYBOARD_TRACKING_EXISTS_BIT_FB — indicates that the system has a physically tracked keyboard to report. If not set then no other bits should be considered to be valid or meaningful. If set either XR_KEYBOARD_TRACKING_LOCAL_BIT_FB or XR_KEYBOARD_TRACKING_REMOTE_BIT_FB must also be set.
  • KEYBOARD_TRACKING_LOCAL_BIT_FB — indicates that the physically tracked keyboard is intended to be used in a local pairing with the system. Mutally exclusive with XR_KEYBOARD_TRACKING_REMOTE_BIT_FB.
  • KEYBOARD_TRACKING_REMOTE_BIT_FB — indicates that the physically tracked keyboard is intended to be used while paired to a separate remote computing device. Mutally exclusive with XR_KEYBOARD_TRACKING_LOCAL_BIT_FB.
  • KEYBOARD_TRACKING_CONNECTED_BIT_FB — indicates that the physically tracked keyboard is actively connected to the headset and capable of sending key data
XR_KEYBOARD_TRACKING_LOCAL_BIT_FBback to summary
public static final int XR_KEYBOARD_TRACKING_LOCAL_BIT_FB

XrKeyboardTrackingFlagBitsFB - XrKeyboardTrackingFlagBitsFB

Flag Descriptions
  • KEYBOARD_TRACKING_EXISTS_BIT_FB — indicates that the system has a physically tracked keyboard to report. If not set then no other bits should be considered to be valid or meaningful. If set either XR_KEYBOARD_TRACKING_LOCAL_BIT_FB or XR_KEYBOARD_TRACKING_REMOTE_BIT_FB must also be set.
  • KEYBOARD_TRACKING_LOCAL_BIT_FB — indicates that the physically tracked keyboard is intended to be used in a local pairing with the system. Mutally exclusive with XR_KEYBOARD_TRACKING_REMOTE_BIT_FB.
  • KEYBOARD_TRACKING_REMOTE_BIT_FB — indicates that the physically tracked keyboard is intended to be used while paired to a separate remote computing device. Mutally exclusive with XR_KEYBOARD_TRACKING_LOCAL_BIT_FB.
  • KEYBOARD_TRACKING_CONNECTED_BIT_FB — indicates that the physically tracked keyboard is actively connected to the headset and capable of sending key data
XR_KEYBOARD_TRACKING_QUERY_LOCAL_BIT_FBback to summary
public static final int XR_KEYBOARD_TRACKING_QUERY_LOCAL_BIT_FB

XrKeyboardTrackingQueryFlagBitsFB - XrKeyboardTrackingQueryFlagBitsFB

Flag Descriptions
  • KEYBOARD_TRACKING_QUERY_LOCAL_BIT_FB — indicates the query is for the physically tracked keyboard that is intended to be used in a local pairing with the System. Mutally exclusive with XR_KEYBOARD_TRACKING_QUERY_REMOTE_BIT_FB.
  • KEYBOARD_TRACKING_QUERY_REMOTE_BIT_FB — indicates the query is for the physically tracked keyboard that may be connected to a separate remote computing device. Mutally exclusive with XR_KEYBOARD_TRACKING_QUERY_LOCAL_BIT_FB.
XR_KEYBOARD_TRACKING_QUERY_REMOTE_BIT_FBback to summary
public static final int XR_KEYBOARD_TRACKING_QUERY_REMOTE_BIT_FB

XrKeyboardTrackingQueryFlagBitsFB - XrKeyboardTrackingQueryFlagBitsFB

Flag Descriptions
  • KEYBOARD_TRACKING_QUERY_LOCAL_BIT_FB — indicates the query is for the physically tracked keyboard that is intended to be used in a local pairing with the System. Mutally exclusive with XR_KEYBOARD_TRACKING_QUERY_REMOTE_BIT_FB.
  • KEYBOARD_TRACKING_QUERY_REMOTE_BIT_FB — indicates the query is for the physically tracked keyboard that may be connected to a separate remote computing device. Mutally exclusive with XR_KEYBOARD_TRACKING_QUERY_LOCAL_BIT_FB.
XR_KEYBOARD_TRACKING_REMOTE_BIT_FBback to summary
public static final int XR_KEYBOARD_TRACKING_REMOTE_BIT_FB

XrKeyboardTrackingFlagBitsFB - XrKeyboardTrackingFlagBitsFB

Flag Descriptions
  • KEYBOARD_TRACKING_EXISTS_BIT_FB — indicates that the system has a physically tracked keyboard to report. If not set then no other bits should be considered to be valid or meaningful. If set either XR_KEYBOARD_TRACKING_LOCAL_BIT_FB or XR_KEYBOARD_TRACKING_REMOTE_BIT_FB must also be set.
  • KEYBOARD_TRACKING_LOCAL_BIT_FB — indicates that the physically tracked keyboard is intended to be used in a local pairing with the system. Mutally exclusive with XR_KEYBOARD_TRACKING_REMOTE_BIT_FB.
  • KEYBOARD_TRACKING_REMOTE_BIT_FB — indicates that the physically tracked keyboard is intended to be used while paired to a separate remote computing device. Mutally exclusive with XR_KEYBOARD_TRACKING_LOCAL_BIT_FB.
  • KEYBOARD_TRACKING_CONNECTED_BIT_FB — indicates that the physically tracked keyboard is actively connected to the headset and capable of sending key data
XR_MAX_KEYBOARD_TRACKING_NAME_SIZE_FBback to summary
public static final int XR_MAX_KEYBOARD_TRACKING_NAME_SIZE_FB

XR_MAX_KEYBOARD_TRACKING_NAME_SIZE_FB

XR_TYPE_KEYBOARD_SPACE_CREATE_INFO_FBback to summary
public static final int XR_TYPE_KEYBOARD_SPACE_CREATE_INFO_FB

Extends XrStructureType.

Enum values:
XR_TYPE_KEYBOARD_TRACKING_QUERY_FBback to summary
public static final int XR_TYPE_KEYBOARD_TRACKING_QUERY_FB

Extends XrStructureType.

Enum values:
XR_TYPE_SYSTEM_KEYBOARD_TRACKING_PROPERTIES_FBback to summary
public static final int XR_TYPE_SYSTEM_KEYBOARD_TRACKING_PROPERTIES_FB

Extends XrStructureType.

Enum values:

Constructor Detail

FBKeyboardTrackingback to summary
protected FBKeyboardTracking()

Method Detail

nxrCreateKeyboardSpaceFBback to summary
public static int nxrCreateKeyboardSpaceFB(XrSession session, long createInfo, long keyboardSpace)

Unsafe version of: CreateKeyboardSpaceFB

nxrQuerySystemTrackedKeyboardFBback to summary
public static int nxrQuerySystemTrackedKeyboardFB(XrSession session, long queryInfo, long keyboard)

Unsafe version of: QuerySystemTrackedKeyboardFB

xrCreateKeyboardSpaceFBback to summary
public static int xrCreateKeyboardSpaceFB(XrSession session, XrKeyboardSpaceCreateInfoFB createInfo, PointerBuffer keyboardSpace)

Create a foveation profile.

C Specification

The CreateKeyboardSpaceFB function is defined as:


XrResult xrCreateKeyboardSpaceFB(
    XrSession                                   session,
    const XrKeyboardSpaceCreateInfoFB*          createInfo,
    XrSpace*                                    keyboardSpace);
Description

The CreateKeyboardSpaceFB function returns an XrSpace that can be used to locate a physical keyboard in space. The origin of the created XrSpace is located in the center of the bounding box in the x and z axes, and at the top of the y axis (meaning the keyboard is located entirely in negative y).

Valid Usage (Implicit)
Return Codes
On success, this command returns
On failure, this command returns
See Also

XrKeyboardSpaceCreateInfoFB

Parameters
session:XrSession

the session that will be associated with the returned keyboard space.

createInfo:XrKeyboardSpaceCreateInfoFB

the XrKeyboardSpaceCreateInfoFB that describes the type of keyboard to track.

keyboardSpace:PointerBuffer

the XrSpace output structure.

Annotations
@NativeType:XrResult
xrQuerySystemTrackedKeyboardFBback to summary
public static int xrQuerySystemTrackedKeyboardFB(XrSession session, XrKeyboardTrackingQueryFB queryInfo, XrKeyboardTrackingDescriptionFB keyboard)

Queries the system keyboard.

C Specification

The QuerySystemTrackedKeyboardFB function is defined as:


XrResult xrQuerySystemTrackedKeyboardFB(
    XrSession                                   session,
    const XrKeyboardTrackingQueryFB*            queryInfo,
    XrKeyboardTrackingDescriptionFB*            keyboard);
Description

The QuerySystemTrackedKeyboardFB function populates an XrKeyboardTrackingDescriptionFB structure with enough information to describe a keyboard that the system can locate.

Valid Usage (Implicit)
Return Codes
On success, this command returns
On failure, this command returns
See Also

XrKeyboardTrackingDescriptionFB, XrKeyboardTrackingQueryFB

Parameters
session:XrSession

the session that will be associated with a keyboard space.

queryInfo:XrKeyboardTrackingQueryFB

the XrKeyboardTrackingQueryFB that describes the type of keyboard to return. queryInfo must have either KEYBOARD_TRACKING_QUERY_LOCAL_BIT_FB or KEYBOARD_TRACKING_QUERY_REMOTE_BIT_FB set.

keyboard:XrKeyboardTrackingDescriptionFB

the XrKeyboardTrackingDescriptionFB output structure.

Annotations
@NativeType:XrResult