Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//go:build linux && !android

/******************************************************************************/
/* keyboard.x11.go */
/* keyboard.linux.go */
/******************************************************************************/
/* This file is part of */
/* KAIJU ENGINE */
Expand Down
47 changes: 47 additions & 0 deletions src/platform/windowing/linux.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
/******************************************************************************/
/* linux.h */
/******************************************************************************/
/* This file is part of */
/* KAIJU ENGINE */
/* https://kaijuengine.com/ */
/******************************************************************************/
/* MIT License */
/* */
/* Copyright (c) 2023-present Kaiju Engine authors (AUTHORS.md). */
/* Copyright (c) 2015-present Brent Farris. */
/* */
/* May all those that this source may reach be blessed by the LORD and find */
/* peace and joy in life. */
/* Everyone who drinks of this water will be thirsty again; but whoever */
/* drinks of the water that I will give him shall never thirst; John 4:13-14 */
/* */
/* Permission is hereby granted, free of charge, to any person obtaining a */
/* copy of this software and associated documentation files (the "Software"), */
/* to deal in the Software without restriction, including without limitation */
/* the rights to use, copy, modify, merge, publish, distribute, sublicense, */
/* and/or sell copies of the Software, and to permit persons to whom the */
/* Software is furnished to do so, subject to the following conditions: */
/* */
/* The above copyright, blessing, biblical verse, notice and */
/* this permission notice shall be included in all copies or */
/* substantial portions of the Software. */
/* */
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS */
/* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT */
/* OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE */
/* OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/******************************************************************************/

#ifndef WINDOWING_LINUX_H
#define WINDOWING_LINUX_H

#ifdef USE_WAYLAND
#include "wayland.h"
#else
#include "x11.h"
#endif

#endif
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//go:build (linux || darwin) && !android
//go:build (linux || darwin) && !android && !wayland

/******************************************************************************/
/* x11.vk.go */
/* linux.vk.go */
/******************************************************************************/
/* This file is part of */
/* KAIJU ENGINE */
Expand Down
Loading