From b5d90dfd2048f7574e4d46af7f105f4bc395045e Mon Sep 17 00:00:00 2001 From: coah <100182500+coah80@users.noreply.github.com> Date: Fri, 2 Oct 2026 20:19:30 -0500 Subject: [PATCH] fix(keyboard): declare cellphone reset on its owning class --- include/keyboard/tiCellPhone.h | 3 --- include/keyboard/tiCellPhoneLayout.h | 4 +++- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/include/keyboard/tiCellPhone.h b/include/keyboard/tiCellPhone.h index 367698ec..28c73a4c 100644 --- a/include/keyboard/tiCellPhone.h +++ b/include/keyboard/tiCellPhone.h @@ -142,9 +142,6 @@ namespace textinput { // TODO enum? int getInputType() const; -#if defined(TIINPUTFORM_IMPLEMENTATION) || defined(TIHWKEYBOARD_IMPLEMENTATION) || defined(TIMANAGER_IMPLEMENTATION) - void resetHoldingButton(); -#endif #if defined(MYTIMANAGER_IMPLEMENTATION) || defined(TIINPUTFORM_IMPLEMENTATION) || defined(TIHWKEYBOARD_IMPLEMENTATION) || defined(TIMANAGER_IMPLEMENTATION) #if defined(MYTIMANAGER_IMPLEMENTATION) && defined(TI_CELLPHONE_IMPLEMENTATION) diff --git a/include/keyboard/tiCellPhoneLayout.h b/include/keyboard/tiCellPhoneLayout.h index 6e3c629b..026c0366 100644 --- a/include/keyboard/tiCellPhoneLayout.h +++ b/include/keyboard/tiCellPhoneLayout.h @@ -69,6 +69,9 @@ virtual bool updateInput(int chan, f32 x, f32 y, u32 trig, u32 hold, u32 release, void* data) override; virtual bool updateInput(input::HKBManager& hkbManager) override; #endif +#if defined(TI_CELLPHONE_IMPLEMENTATION) || defined(TIINPUTFORM_IMPLEMENTATION) || defined(TIHWKEYBOARD_IMPLEMENTATION) || defined(TIMANAGER_IMPLEMENTATION) + void resetHoldingButton(); +#endif #ifdef TI_CELLPHONE_IMPLEMENTATION virtual ~LayoutByNW4R(); virtual void create(MEMAllocator* allocator) override; @@ -95,7 +98,6 @@ virtual void changeSpaceKeyTop(const PaneNameToCharCode* keys); void setUpperCaseJP(bool enabled); void setLangKeyActive(bool enabled); - void resetHoldingButton(); private: bool mbLineFeedButton;