X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Finclude%2Ftpl_drv_joystick.h;h=2f4249b8bfd06d79b8bcf0a676c1bed779aa69ab;hb=7c5a60c8be053f65ecceb47be773ea21a050b186;hp=06cdb23cb28caf6d0469601daae0aa8ecd2c3136;hpb=15fe58771e11393f0945f6807af77f6966a3a2db;p=tpg%2Facess2.git diff --git a/Kernel/include/tpl_drv_joystick.h b/Kernel/include/tpl_drv_joystick.h index 06cdb23c..2f4249b8 100644 --- a/Kernel/include/tpl_drv_joystick.h +++ b/Kernel/include/tpl_drv_joystick.h @@ -28,13 +28,17 @@ */ enum eTplJoystick_IOCtl { /** - * ioctl(..., tJoystickCallback *Callback) + * ioctl(..., tJoystick_Callback *Callback) * \brief Sets the callback * \note Can be called from kernel mode only * * Sets the callback that is called when a event occurs (button or axis * change). This function pointer must be in kernel mode (although, * kernel->user or kernel->ring3driver abstraction functions can be used) + * + * Axis events depend on the axis limit, if non-zero, the callback fires + * if the cursor position changes. Otherwise it fires when the axis value + * (cursor accelleration) changes. */ JOY_IOCTL_SETCALLBACK = 4,