feat: XDGKeyUtil, use Xkbcommon Keysym names
this removes the need for any x11 releated headers when using EI screens
This commit is contained in:
parent
7eee265010
commit
186a20a1ac
2 changed files with 1199 additions and 1232 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -8,15 +8,16 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <X11/X.h>
|
|
||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <map>
|
#include <map>
|
||||||
|
|
||||||
|
using KeySym = unsigned long;
|
||||||
|
|
||||||
//! XKB utility functions
|
//! XKB utility functions
|
||||||
class XDGKeyUtil
|
class XDGKeyUtil
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Convert KeySym to KeyID
|
//! Convert KeySym to KeyID
|
||||||
/*!
|
/*!
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue