Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
HIDControllerGameCoreDesktop Class Reference
Inheritance diagram for HIDControllerGameCoreDesktop:

Public Types

using Base = ::HIDControllerWin32
using GamefaceTextEditContext = ::HIDController::GamefaceTextEditContext
enum class  InputOrigin : int { Unknown = 0 , Hardware = 1 , Virtual = 2 }
enum class  InputOrigin : int { Unknown = 0 , Hardware = 1 , Virtual = 2 }

Public Member Functions

virtual void update ()
virtual void onShowKeyboard (::std::string_view const currentText, int maxLength, bool isMultiline, ::InputMode inputMode)
virtual void onHideKeyboard ()
virtual void onTextEditComponentGainedFocus (::std::string_view const currentText, int maxLength)
virtual void onTextEditComponentLostFocus ()
virtual void onKeyDown (int keyCode, ::Bedrock::Input::KeyboardEventProcessor::InputOrigin origin)
virtual void onKeyUp (int keyCode)
virtual void updateEditContext (int keyCode)
virtual void onTextInput (::std::string const &utf8Text)
virtual void imeStartComposition ()
virtual void imeUpdateCompositionText (::std::string const &utf8Text)
virtual void imeConfirmComposition (::std::string const &utf8Text)
virtual void imeEndComposition ()
virtual void setCaretPosition (int position)
virtual void onAppFocusLost ()
virtual void onAppFocusGained ()
MCAPI void _disableCoreTextEdit ()
MCAPI void _enableCoreTextEdit ()
MCAPI void _notifyCoreTextEdit (bool textChanged)
MCAPI void $update ()
MCAPI void $onShowKeyboard (::std::string_view const currentText, int maxLength, bool isMultiline, ::InputMode inputMode)
MCAPI void $onHideKeyboard ()
MCAPI void $onTextEditComponentGainedFocus (::std::string_view const currentText, int maxLength)
MCAPI void $onTextEditComponentLostFocus ()
MCAPI void $onKeyDown (int keyCode, ::Bedrock::Input::KeyboardEventProcessor::InputOrigin origin)
MCAPI void $onKeyUp (int keyCode)
MCAPI void $updateEditContext (int keyCode)
MCAPI void $onTextInput (::std::string const &utf8Text)
MCAPI void $imeStartComposition ()
MCAPI void $imeUpdateCompositionText (::std::string const &utf8Text)
MCAPI void $imeConfirmComposition (::std::string const &utf8Text)
MCAPI void $imeEndComposition ()
MCAPI void $setCaretPosition (int position)
MCAPI void $onAppFocusLost ()
MCAPI void $onAppFocusGained ()
virtual int getCaretPosition () const
virtual void setIMEEnabled (bool)
MCAPI void _clipboardPasteHandler (::ApplicationSignal::ClipboardPaste const &signal)
MCAPI void deinitialize ()
MCAPI::std::string getTextBoxBackend () const
MCAPI void initialize (::Bedrock::NotNullNonOwnerPtr<::ITextBoxController > textBoxController)
MCAPI void setTextBoxBackend (::std::string_view newText)
MCAPI void * $ctor (::IKeyboardProxy *keyboardProxy)
MCAPI void $dtor ()
MCAPI int $getCaretPosition () const
MCAPI void $setIMEEnabled (bool)

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 1, 1, bool > mCallbacksRegistered
::ll::TypedStorage< 8, 8, ::winrt::event_token > mTextRequestedToken
::ll::TypedStorage< 8, 8, ::winrt::event_token > mTextUpdatedToken
::ll::TypedStorage< 8, 8, ::winrt::event_token > mLayoutRequestToken
::ll::TypedStorage< 8, 8, ::winrt::event_token > mCompositionStartedToken
::ll::TypedStorage< 8, 8, ::winrt::event_token > mCompositionCompletedToken
::ll::TypedStorage< 8, 8, ::winrt::event_token > mSelectionRequestedToken
::ll::TypedStorage< 8, 8, ::winrt::event_token > mSelectionUpdatedToken
::ll::TypedStorage< 8, 8, ::winrt::Windows::UI::Text::Core::CoreTextEditContext > mCoreTextEditContext
::ll::TypedStorage< 4, 8, ::tagPOINT > mCaretScreenPos
::ll::TypedStorage< 8, 8, ::HWND__ * > mHWnd
::ll::TypedStorage< 1, 1, bool > mTextboxIsFocused
::ll::TypedStorage< 1, 1, bool > mTextboxIsSelected
::ll::TypedStorage< 1, 1, bool > mIsMultiline
::ll::TypedStorage< 8, 80, ::TextEditContext > mEditContext
::ll::TypedStorage< 8, 56, ::HIDController::GamefaceTextEditContext > mGamefaceEditContext
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::Bedrock::SignalReceiver > > mSignalRcvr
::ll::TypedStorage< 1, 1, bool > mIsComposing
::ll::TypedStorage< 4, 4, int > mCompositionStart
::ll::TypedStorage< 4, 4, int > mCompositionEnd
::ll::TypedStorage< 8, 24, ::Bedrock::NonOwnerPointer<::ITextBoxController > > mTextBoxController

Member Function Documentation

◆ update()

virtual void HIDControllerGameCoreDesktop::update ( )
virtual

Reimplemented from HIDController.

◆ onShowKeyboard()

virtual void HIDControllerGameCoreDesktop::onShowKeyboard ( ::std::string_view const currentText,
int maxLength,
bool isMultiline,
::InputMode inputMode )
virtual

Reimplemented from HIDController.

◆ onHideKeyboard()

virtual void HIDControllerGameCoreDesktop::onHideKeyboard ( )
virtual

Reimplemented from HIDController.

◆ onTextEditComponentGainedFocus()

virtual void HIDControllerGameCoreDesktop::onTextEditComponentGainedFocus ( ::std::string_view const currentText,
int maxLength )
virtual

Reimplemented from HIDController.

◆ onTextEditComponentLostFocus()

virtual void HIDControllerGameCoreDesktop::onTextEditComponentLostFocus ( )
virtual

Reimplemented from HIDController.

◆ onKeyDown()

virtual void HIDControllerGameCoreDesktop::onKeyDown ( int keyCode,
::Bedrock::Input::KeyboardEventProcessor::InputOrigin origin )
virtual

Reimplemented from HIDController.

◆ onKeyUp()

virtual void HIDControllerGameCoreDesktop::onKeyUp ( int keyCode)
virtual

Reimplemented from HIDController.

◆ updateEditContext()

virtual void HIDControllerGameCoreDesktop::updateEditContext ( int keyCode)
virtual

Reimplemented from HIDController.

◆ onTextInput()

virtual void HIDControllerGameCoreDesktop::onTextInput ( ::std::string const & utf8Text)
virtual

Reimplemented from HIDController.

◆ imeStartComposition()

virtual void HIDControllerGameCoreDesktop::imeStartComposition ( )
virtual

Reimplemented from HIDController.

◆ imeUpdateCompositionText()

virtual void HIDControllerGameCoreDesktop::imeUpdateCompositionText ( ::std::string const & utf8Text)
virtual

Reimplemented from HIDController.

◆ imeConfirmComposition()

virtual void HIDControllerGameCoreDesktop::imeConfirmComposition ( ::std::string const & utf8Text)
virtual

Reimplemented from HIDController.

◆ imeEndComposition()

virtual void HIDControllerGameCoreDesktop::imeEndComposition ( )
virtual

Reimplemented from HIDController.

◆ setCaretPosition()

virtual void HIDControllerGameCoreDesktop::setCaretPosition ( int position)
virtual

Reimplemented from HIDController.

◆ onAppFocusLost()

virtual void HIDControllerGameCoreDesktop::onAppFocusLost ( )
virtual

Reimplemented from HIDController.

◆ onAppFocusGained()

virtual void HIDControllerGameCoreDesktop::onAppFocusGained ( )
virtual

Reimplemented from HIDController.

◆ _disableCoreTextEdit()

MCAPI void HIDControllerGameCoreDesktop::_disableCoreTextEdit ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _enableCoreTextEdit()

MCAPI void HIDControllerGameCoreDesktop::_enableCoreTextEdit ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _notifyCoreTextEdit()

MCAPI void HIDControllerGameCoreDesktop::_notifyCoreTextEdit ( bool textChanged)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $update()

MCAPI void HIDControllerGameCoreDesktop::$update ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onShowKeyboard()

MCAPI void HIDControllerGameCoreDesktop::$onShowKeyboard ( ::std::string_view const currentText,
int maxLength,
bool isMultiline,
::InputMode inputMode )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onHideKeyboard()

MCAPI void HIDControllerGameCoreDesktop::$onHideKeyboard ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onTextEditComponentGainedFocus()

MCAPI void HIDControllerGameCoreDesktop::$onTextEditComponentGainedFocus ( ::std::string_view const currentText,
int maxLength )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onTextEditComponentLostFocus()

MCAPI void HIDControllerGameCoreDesktop::$onTextEditComponentLostFocus ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $updateEditContext()

MCAPI void HIDControllerGameCoreDesktop::$updateEditContext ( int keyCode)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onTextInput()

MCAPI void HIDControllerGameCoreDesktop::$onTextInput ( ::std::string const & utf8Text)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $imeStartComposition()

MCAPI void HIDControllerGameCoreDesktop::$imeStartComposition ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $imeUpdateCompositionText()

MCAPI void HIDControllerGameCoreDesktop::$imeUpdateCompositionText ( ::std::string const & utf8Text)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $imeConfirmComposition()

MCAPI void HIDControllerGameCoreDesktop::$imeConfirmComposition ( ::std::string const & utf8Text)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $imeEndComposition()

MCAPI void HIDControllerGameCoreDesktop::$imeEndComposition ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $setCaretPosition()

MCAPI void HIDControllerGameCoreDesktop::$setCaretPosition ( int position)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onAppFocusLost()

MCAPI void HIDControllerGameCoreDesktop::$onAppFocusLost ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onAppFocusGained()

MCAPI void HIDControllerGameCoreDesktop::$onAppFocusGained ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $vftable()

MCAPI void ** HIDControllerGameCoreDesktop::$vftable ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _clipboardPasteHandler()

MCAPI void HIDController::_clipboardPasteHandler ( ::ApplicationSignal::ClipboardPaste const & signal)
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ deinitialize()

MCAPI void HIDController::deinitialize ( )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getTextBoxBackend()

MCAPI::std::string HIDController::getTextBoxBackend ( ) const
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ initialize()

MCAPI void HIDController::initialize ( ::Bedrock::NotNullNonOwnerPtr<::ITextBoxController > textBoxController)
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ setTextBoxBackend()

MCAPI void HIDController::setTextBoxBackend ( ::std::string_view newText)
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor()

MCAPI void * HIDController::$ctor ( ::IKeyboardProxy * keyboardProxy)
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $dtor()

MCAPI void HIDController::$dtor ( )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $getCaretPosition()

MCAPI int HIDController::$getCaretPosition ( ) const
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $setIMEEnabled()

MCAPI void HIDController::$setIMEEnabled ( bool )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following files: