cancel
Showing results for 
Search instead for 
Did you mean: 

Weird Multiple Keyboard Issue

BKazi.1
Associate II

I am unable to add two Keyboards at the same time to the screen. One is alphanumeric and other is numeric only. The Keyboards work separately if the included header file is commented.

#ifndef SCREEN_DIALOGVIEW_HPP
#define SCREEN_DIALOGVIEW_HPP
 
#include <gui_generated/screen_dialog_screen/Screen_DialogViewBase.hpp>
#include <gui/screen_dialog_screen/Screen_DialogPresenter.hpp>
#include <gui/common/NumKeyboard.hpp>
#include <gui/common/CustomKeyboard.hpp>
 
 
class Screen_DialogView : public Screen_DialogViewBase
{
public:
    Screen_DialogView();
    virtual ~Screen_DialogView() {}
    virtual void setupScreen();
    virtual void tearDownScreen();
    virtual void showKeypad(uint8_t _type);
    virtual void enterPressedHandler();
    virtual void enterNumPressedHandler();
    virtual void toggleSignUp();
    virtual void logout();
protected:
    CustomKeyboard keyboard;
    NumKeyboard numkeyboard;
 
    bool signedIn;
    uint8_t type = 0;
    bool check[3] = { false, false, false };
 
    Callback<Screen_DialogView> enterPressedCallback, enterNumPressedCallback;
};
 
#endif // SCREEN_DIALOGVIEW_HPP

Error:

../../TouchGFX/gui/include/gui/screen_dialog_screen/Screen_DialogView.hpp:23:5: error: 'CustomKeyboard' does not name a type; did you mean 'NumKeyboard'?

1 REPLY 1
BKazi.1
Associate II

Hi Touchgfx Team,

Any assistance would be appreciated. Project delivery is pending due to this issue.