Files
cdba/alpaca.h
Bjorn Andersson d947ca9d46 device: Move alpaca power key state machine to device
The power key dance is useful outside of alpaca, move it to device and
modify the device interface to better suite this.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2021-01-22 19:57:14 -06:00

14 lines
275 B
C

#ifndef __ALPACA_H__
#define __ALPACA_H__
#include "device.h"
struct alpaca;
void *alpaca_open(struct device *dev);
int alpaca_power(struct device *dev, bool on);
void alpaca_usb(struct device *dev, bool on);
void alpaca_key(struct device *dev, int key, bool on);
#endif