Add XKB interface for x11
This commit is contained in:
parent
7ad237edc1
commit
cf9bace272
15 changed files with 232 additions and 31 deletions
20
src/windows/ui_interfaces/x11/XcbExtensionInterface.h
Normal file
20
src/windows/ui_interfaces/x11/XcbExtensionInterface.h
Normal file
|
@ -0,0 +1,20 @@
|
|||
#pragma once
|
||||
|
||||
#include <unordered_map>
|
||||
#include <string>
|
||||
|
||||
#include <xcb/xcb.h>
|
||||
|
||||
class XcbExtensionInterface
|
||||
{
|
||||
public:
|
||||
|
||||
void initialize(xcb_connection_t* connection);
|
||||
|
||||
bool isXkBEvent(unsigned responseType) const;
|
||||
|
||||
private:
|
||||
bool mHasXkb{false};
|
||||
uint8_t mXkbEventFlag{0};
|
||||
//std::unordered_map<std::string, xcb_extension_t> mExtensions;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue