blob: e327faaf8e4ca76698584bc151d28d2a7b4b8dd8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
/* 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 */
|