Files
kernel_xiaomi_sm8250/include/linux/input/tp_common.h
me-cafebabe b09ee1df60 input: touchscreen: tp_common: Add fod_status node
Change-Id: I15664cb00a8cfc3723bf006d9e65430dac522372
2024-03-17 00:06:11 +01:00

17 lines
573 B
C

#include <linux/kobject.h>
extern bool capacitive_keys_enabled;
extern struct kobject *touchpanel_kobj;
struct tp_common_ops {
ssize_t (*show)(struct kobject *kobj, struct kobj_attribute *attr,
char *buf);
ssize_t (*store)(struct kobject *kobj, struct kobj_attribute *attr,
const char *buf, size_t count);
};
int tp_common_set_capacitive_keys_ops(struct tp_common_ops *ops);
int tp_common_set_double_tap_ops(struct tp_common_ops *ops);
int tp_common_set_fod_status_ops(struct tp_common_ops *ops);
int tp_common_set_reversed_keys_ops(struct tp_common_ops *ops);