Use camelCase for function names
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user