2020-05-02 10:21:10 -07:00
|
|
|
// This file is part of river, a dynamic tiling wayland compositor.
|
|
|
|
//
|
2020-11-11 11:30:21 -08:00
|
|
|
// Copyright 2020 The River Developers
|
2020-05-02 10:21:10 -07:00
|
|
|
//
|
|
|
|
// This program is free software: you can redistribute it and/or modify
|
|
|
|
// it under the terms of the GNU General Public License as published by
|
|
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
|
|
// (at your option) any later version.
|
|
|
|
//
|
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
// GNU General Public License for more details.
|
|
|
|
//
|
|
|
|
// You should have received a copy of the GNU General Public License
|
|
|
|
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
|
2020-03-29 10:36:15 -07:00
|
|
|
pub usingnamespace @cImport({
|
2020-05-30 06:44:48 -07:00
|
|
|
@cDefine("_POSIX_C_SOURCE", "200809L");
|
|
|
|
|
2020-03-20 14:44:08 -07:00
|
|
|
@cInclude("stdlib.h");
|
2020-07-08 05:00:51 -07:00
|
|
|
@cInclude("unistd.h");
|
|
|
|
|
2020-07-07 07:39:08 -07:00
|
|
|
@cInclude("linux/input-event-codes.h");
|
2020-08-24 05:52:47 -07:00
|
|
|
@cInclude("libevdev/libevdev.h");
|
2020-03-20 14:44:08 -07:00
|
|
|
});
|