Skip to content

Commit c5b411e

Browse files
Removed input property helper for now. Will be introduced when needed.
1 parent 23236b1 commit c5b411e

2 files changed

Lines changed: 0 additions & 17 deletions

File tree

src/suinput.c

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -171,16 +171,3 @@ int suinput_enable_event(int uinput_fd, uint16_t ev_type, uint16_t ev_code)
171171

172172
return ioctl(uinput_fd, io, ev_code);
173173
}
174-
175-
int suinput_set_input_properties(int const uinput_fd,
176-
uint8_t const *input_prop_v,
177-
size_t const input_prop_c)
178-
{
179-
size_t i;
180-
for (i = 0; i < input_prop_c; ++i) {
181-
int input_prop = input_prop_v[i];
182-
if (ioctl(uinput_fd, UI_SET_PROPBIT, input_prop) == -1)
183-
return -1;
184-
}
185-
return 0;
186-
}

src/suinput.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,4 @@ int suinput_syn(int uinput_fd);
3838

3939
int suinput_destroy(int uinput_fd);
4040

41-
int suinput_set_input_properties(int uinput_fd,
42-
const uint8_t *input_prop_v,
43-
size_t input_prop_c);
44-
4541
#endif /* SUINPUT_H */

0 commit comments

Comments
 (0)