Files
kernel_xiaomi_sm8150/include/linux/input/tp_common.h
stic-server-open 7c8b9e64de drivers: tp_common: create game_mode into touchpanel node
Change-Id: I0b5d2ba62a9f85b2f946797e66529c67dd4be8d3
2026-01-04 21:15:18 +08:00

17 lines
585 B
C

#include <linux/kobject.h>
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_double_tap_ops(struct tp_common_ops *ops);
int tp_common_set_fod_status_ops(struct tp_common_ops *ops);
int tp_common_set_pen_ops(struct tp_common_ops *ops);
int tp_common_set_pen_gen2_force_ops(struct tp_common_ops *ops);
int tp_common_set_game_mode_ops(struct tp_common_ops *ops);