chromium/ui/events/ozone/evdev/event_device_util.h

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/351564777): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#ifndef UI_EVENTS_OZONE_EVDEV_EVENT_DEVICE_UTIL_H_
#define UI_EVENTS_OZONE_EVDEV_EVENT_DEVICE_UTIL_H_

#include <limits.h>

namespace ui {

#define EVDEV_LONG_BITS
#define EVDEV_INT64_BITS
#define EVDEV_BITS_TO_LONGS(x)
#define EVDEV_BITS_TO_INT64(x)

static inline bool EvdevBitIsSet(const unsigned long* data, int bit) {}

static inline bool EvdevBitUint64IsSet(const uint64_t* data, int bit) {}

static inline void EvdevSetBit(unsigned long* data, int bit) {}

static inline void EvdevSetUint64Bit(uint64_t* data, int bit) {}

static inline void EvdevClearBit(unsigned long* data, int bit) {}

}  // namespace ui

#endif  // UI_EVENTS_OZONE_EVDEV_EVENT_DEVICE_UTIL_H_