blob: e327faaf8e4ca76698584bc151d28d2a7b4b8dd8 [file] [log] [blame]
/* Copyright 2016 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef __CROS_RBOX_H
#define __CROS_RBOX_H
/**
* Return true if the power button output shows it is pressed
*/
int rbox_powerbtn_is_pressed(void);
/**
* Return true if power button rbox output override is enabled
*/
int rbox_powerbtn_override_is_enabled(void);
/**
* Disable the output override
*/
void rbox_powerbtn_release(void);
/**
* Override power button output to force a power button press
*/
void rbox_powerbtn_press(void);
#endif /* __CROS_RBOX_H */