#include "log.h"
#include "static_misc.h"
#include "uterm.h"
-#include "uterm_internal.h"
+#include "uterm_input.h"
#define LOG_SUBSYSTEM "input"
/* Internal definitions */
-#ifndef UTERM_INTERNAL_H
-#define UTERM_INTERNAL_H
+#ifndef UTERM_INPUT_H
+#define UTERM_INPUT_H
#include <inttypes.h>
-#include <libudev.h>
#include <limits.h>
#include <stdbool.h>
#include <stdlib.h>
#include "static_misc.h"
#include "uterm.h"
-static inline bool input_bit_is_set(const unsigned long *array, int bit)
-{
- return !!(array[bit / LONG_BIT] & (1LL << (bit % LONG_BIT)));
-}
-
-/* kbd API */
-
struct kbd_desc;
struct kbd_dev;
return dev->ops->process(dev, key_state, code, out);
}
-#endif /* UTERM_INTERNAL_H */
+static inline bool input_bit_is_set(const unsigned long *array, int bit)
+{
+ return !!(array[bit / LONG_BIT] & (1LL << (bit % LONG_BIT)));
+}
+
+#endif /* UTERM_INPUT_H */
#include "imKStoUCS.h"
#include "log.h"
#include "uterm.h"
-#include "uterm_internal.h"
+#include "uterm_input.h"
#define LOG_SUBSYSTEM "input_plain"
#include <xkbcommon/xkbcommon.h>
#include "log.h"
#include "uterm.h"
-#include "uterm_internal.h"
+#include "uterm_input.h"
#define LOG_SUBSYSTEM "input_uxkb"
#include "log.h"
#include "static_misc.h"
#include "uterm.h"
-#include "uterm_internal.h"
#ifdef UTERM_HAVE_SYSTEMD
#include <systemd/sd-login.h>
#include "log.h"
#include "static_misc.h"
#include "uterm.h"
-#include "uterm_internal.h"
#include "uterm_video.h"
#define LOG_SUBSYSTEM "video"
#include "log.h"
#include "static_misc.h"
#include "uterm.h"
-#include "uterm_internal.h"
#include "uterm_video.h"
#define LOG_SUBSYSTEM "video_drm"
#include "log.h"
#include "static_misc.h"
#include "uterm.h"
-#include "uterm_internal.h"
#include "uterm_video.h"
#define LOG_SUBSYSTEM "video_dumb"
#include "log.h"
#include "static_misc.h"
#include "uterm.h"
-#include "uterm_internal.h"
#include "uterm_video.h"
#define LOG_SUBSYSTEM "video_fbdev"
#include "log.h"
#include "static_misc.h"
#include "uterm.h"
-#include "uterm_internal.h"
#define LOG_SUBSYSTEM "vt"