mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-06-14 14:32:57 -04:00
Merge branch 'wscons' into 'master'
Draft: Add OpenBSD/wscons support See merge request wlroots/wlroots!5378
This commit is contained in:
commit
90cf273319
24 changed files with 1531 additions and 179 deletions
|
|
@ -1,5 +1,4 @@
|
|||
#include <assert.h>
|
||||
#include <linux/input-event-codes.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <sys/mman.h>
|
||||
|
|
@ -323,6 +322,10 @@ bool wlr_keyboard_keymaps_match(struct xkb_keymap *km1,
|
|||
return result;
|
||||
}
|
||||
|
||||
#define BTN_LEFT 0x110
|
||||
#define BTN_RIGHT 0x111
|
||||
#define BTN_MIDDLE 0x112
|
||||
|
||||
uint32_t wlr_keyboard_keysym_to_pointer_button(xkb_keysym_t keysym) {
|
||||
switch (keysym) {
|
||||
case XKB_KEY_Pointer_Button1:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue