android::CKeyboard


All platform-dependent classes have been moved to Platform Package in release 10.0.0.

This class is available on Android platform only

Corresponding class for Windows platform is here.

Corresponding class for Linux platform is here.

Implements class for working with keyboard for Android platform.

You can find more information in comments below. Overrided methods can be found in corresponding base interface.

class CKeyboard :public virtual IKeyboard
    {
    public:
        bool isDown(const KEY key) override; // Always return false 
        bool isToggled(const KEY key) override; // Works only for CAPS LOCK, SCROLL LOCK, NUM LOCK. Return last known state 
        void getControlKeys(bool &ctrl, bool &alt, bool &shift) override; // Return last know state(if used outside key events/notifications, the result may be wrong) 
    
        CKeyboard();
    };
Namespace: nitisa::standard::android
Include: Standard/Platform/Android/Keyboard.h