Welcome to mirror list, hosted at ThFree Co, Russian Federation.

XrdpEvent.cpp - github.com/neutrinolabs/ulalaca-xrdp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2ddf58a06542451f8567b79527443e6e481e7119 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//
// Created by Gyuhwan Park on 2023/01/28.
//

#include "XrdpEvent.hpp"

bool XrdpEvent::isKeyEvent() const {
    return type == KEY_DOWN || type == KEY_UP;
}

bool XrdpEvent::isMouseEvent() const {
    return type >= MOUSE_MOVE && type <= MOUSE_UNKNOWN_2;
}