Use camelCase for function names

This commit is contained in:
PixlOne
2019-10-05 21:27:17 -04:00
parent 9272666ffe
commit 38dcc65d4b
10 changed files with 52 additions and 50 deletions
+2 -2
View File
@@ -24,13 +24,13 @@ EvdevDevice::EvdevDevice(const char* name)
throw std::system_error(-err, std::generic_category());
}
void EvdevDevice::move_axis(unsigned int axis, int movement)
void EvdevDevice::moveAxis(unsigned int axis, int movement)
{
libevdev_uinput_write_event(ui_device, EV_REL, axis, movement);
libevdev_uinput_write_event(ui_device, EV_SYN, SYN_REPORT, 0);
}
void EvdevDevice::send_event(unsigned int type, unsigned int code, int value)
void EvdevDevice::sendEvent(unsigned int type, unsigned int code, int value)
{
libevdev_uinput_write_event(ui_device, type, code, value);
libevdev_uinput_write_event(ui_device, EV_SYN, SYN_REPORT, 0);