linux::CKeyboard


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

This class is available on Linux platform only

Corresponding class for Windows platform is here.

Corresponding class for Android platform is here.

Implements class for working with keyboard for Linux 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;
        bool isToggled(const KEY key) override; // For the keys which are not CapsLock and NumsLock return the same as isDown() 
        void getControlKeys(bool &ctrl, bool &alt, bool &shift) override;
    };
Namespace: nitisa::standard::linux
Include: Standard/Platform/Linux/Keyboard.h