]> Devoid-pointer.net GitWeb - KLGD_FF_plugin.git/log
KLGD_FF_plugin.git
9 years agoInitial implementation of rumble effects combining
Michal Malý [Sun, 20 Sep 2015 19:41:44 +0000 (21:41 +0200)]
Initial implementation of rumble effects combining

9 years agoFirst steps towards full modularization of KLGD-FF
Michal Malý [Sun, 16 Aug 2015 13:25:51 +0000 (15:25 +0200)]
First steps towards full modularization of KLGD-FF

9 years agoSkip effect that are to be processed later in the processing loop
Michal Malý [Sun, 16 Aug 2015 10:56:18 +0000 (12:56 +0200)]
Skip effect that are to be processed later in the processing loop

9 years ago- Add an option to have KLGD-FF control timing of condition effects
Michal Malý [Sun, 16 Aug 2015 10:19:26 +0000 (12:19 +0200)]
- Add an option to have KLGD-FF control timing of condition effects
- Fix delay handling with memless effects

9 years agoDo not force processing of CONSTANT effects when the memless mode is
Michal Malý [Sun, 16 Aug 2015 09:49:51 +0000 (11:49 +0200)]
Do not force processing of CONSTANT effects when the memless mode is
switcehd on

9 years agoAdapt to updated user data format in klgd_command struct
Michal Malý [Wed, 12 Aug 2015 08:55:05 +0000 (10:55 +0200)]
Adapt to updated user data format in klgd_command struct

9 years agoAllow to pin arbitrary data to the plugin context
Michal Malý [Tue, 11 Aug 2015 23:45:33 +0000 (01:45 +0200)]
Allow to pin arbitrary data to the plugin context

9 years agoAdapt for changed KLGD API
Michal Malý [Tue, 11 Aug 2015 22:47:40 +0000 (00:47 +0200)]
Adapt for changed KLGD API

9 years agoAllow KLGD-FF to operate in a dumbed down mode where it does not process
Michal Malý [Sun, 9 Aug 2015 18:30:16 +0000 (20:30 +0200)]
Allow KLGD-FF to operate in a dumbed down mode where it does not process
combinable effect and/or controls timing of those effects.

9 years agoAdd support for autocentering
Michal Malý [Sun, 2 Aug 2015 21:31:53 +0000 (23:31 +0200)]
Add support for autocentering

9 years agoHandle gain adjustment correctly for ticking effects or effects with an
Michal Malý [Sun, 2 Aug 2015 00:00:19 +0000 (02:00 +0200)]
Handle gain adjustment correctly for ticking effects or effects with an
envelope when the device does not support gain natively

9 years ago- Adapt to KLGD's updated API
Michal Malý [Sat, 1 Aug 2015 23:10:25 +0000 (01:10 +0200)]
- Adapt to KLGD's updated API
- Add actual support for adjustable gain

9 years agoAdd debugging output specific to FF_CONSTANT to the dummy device.
Michal Malý [Tue, 28 Jul 2015 15:21:43 +0000 (17:21 +0200)]
Add debugging output specific to FF_CONSTANT to the dummy device.

9 years agoExport ffpl_lvl_dir_to_x_y().
Michal Malý [Tue, 28 Jul 2015 12:48:23 +0000 (14:48 +0200)]
Export ffpl_lvl_dir_to_x_y().

9 years agoCreate LICENSE.md
MadCatX [Mon, 27 Jul 2015 10:56:56 +0000 (12:56 +0200)]
Create LICENSE.md

9 years agoEnable FF_RAMP in dummy device.
Michal Malý [Mon, 27 Jul 2015 10:04:00 +0000 (12:04 +0200)]
Enable FF_RAMP in dummy device.

9 years ago- Implement FF_RAMP
Michal Malý [Mon, 27 Jul 2015 09:59:23 +0000 (11:59 +0200)]
- Implement FF_RAMP
- Simplify total combined force calculation

9 years agoDo not start a stopped combinable effect when it gets updated.
Michal Malý [Sun, 26 Jul 2015 22:43:04 +0000 (00:43 +0200)]
Do not start a stopped combinable effect when it gets updated.

9 years agoGet envelopes recalculations working.
Michal Malý [Sun, 26 Jul 2015 22:13:12 +0000 (00:13 +0200)]
Get envelopes recalculations working.

9 years agoMASSIVE UPDATE, this could not have been broken down into multiple
Michal Malý [Sun, 26 Jul 2015 14:44:10 +0000 (16:44 +0200)]
MASSIVE UPDATE, this could not have been broken down into multiple
commints.

- Working periodic effects
- Fixed a race condition that lead to wrong scheduling

9 years agoBegin implementation of other types of combinable effects.
Michal Malý [Sat, 25 Jul 2015 11:31:44 +0000 (13:31 +0200)]
Begin implementation of other types of combinable effects.

9 years agoAdd support for effect repeating.
Michal Malý [Thu, 23 Jul 2015 20:15:33 +0000 (22:15 +0200)]
Add support for effect repeating.

9 years agoDownscale from fixed-point calculations correctly.
Michal Malý [Wed, 22 Jul 2015 10:25:30 +0000 (12:25 +0200)]
Downscale from fixed-point calculations correctly.

9 years agoUpdate to kernel-4.2 modified fixed-point arithmetics (breaks build on
Michal Malý [Wed, 22 Jul 2015 09:50:55 +0000 (11:50 +0200)]
Update to kernel-4.2 modified fixed-point arithmetics (breaks build on
pre-4.2 kernels)

9 years agoCheck effect sanity before upload.
Michal Malý [Tue, 21 Jul 2015 18:08:57 +0000 (20:08 +0200)]
Check effect sanity before upload.

9 years agoTrigger an update when a playing effect is updated.
Michal Malý [Tue, 21 Jul 2015 16:33:15 +0000 (18:33 +0200)]
Trigger an update when a playing effect is updated.

9 years agoAdd preliminary support for envelopes.
Michal Malý [Tue, 21 Jul 2015 16:30:42 +0000 (18:30 +0200)]
Add preliminary support for envelopes.

9 years agoFix behavior when effects are being erased or replaced.
Michal Malý [Mon, 20 Jul 2015 20:23:28 +0000 (22:23 +0200)]
Fix behavior when effects are being erased or replaced.

9 years agoFirst step towards effect timing implementation.
Michal Malý [Mon, 20 Jul 2015 10:52:17 +0000 (12:52 +0200)]
First step towards effect timing implementation.

9 years agoHandle transition from STARTED to EMPTY uncombinable effect correctly
Michal Malý [Sat, 11 Jul 2015 09:26:13 +0000 (11:26 +0200)]
Handle transition from STARTED to EMPTY uncombinable effect correctly
when it is being replaced by a combinable effect.

9 years agoHopefully fix state tranisions when combinable and uncombinable effects
Michal Malý [Sat, 11 Jul 2015 01:47:33 +0000 (03:47 +0200)]
Hopefully fix state tranisions when combinable and uncombinable effects
replace each other.

9 years agoHandle transition from STARTED to STOPPED correctly for combinable
Michal Malý [Wed, 8 Jul 2015 22:52:38 +0000 (00:52 +0200)]
Handle transition from STARTED to STOPPED correctly for combinable
effects.

9 years agoUse polynomial of 3rd order to approximate atan.
Michal Malý [Wed, 8 Jul 2015 17:18:16 +0000 (19:18 +0200)]
Use polynomial of 3rd order to approximate atan.

Implementation provided by Elias Vanderstuyft.

9 years agoStop and erase combinable effect only when it is playing.
Michal Malý [Wed, 8 Jul 2015 15:17:01 +0000 (17:17 +0200)]
Stop and erase combinable effect only when it is playing.

9 years agoHandle uploaded but not started combinable effect correctly.
Michal Malý [Mon, 6 Jul 2015 23:49:38 +0000 (01:49 +0200)]
Handle uploaded but not started combinable effect correctly.

9 years agoFirst take at implementation of combinable effects.
Michal Malý [Sun, 21 Jun 2015 00:41:48 +0000 (02:41 +0200)]
First take at implementation of combinable effects.

Lots of stuff changed and moved around. Debugging messages have been
updated to a more standardized form. Only FF_CONSTANT can be combined at
this point and the combining is not configurable.

10 years agoDo not set "eff->state" where "eff->change" should be set
Michal Malý [Wed, 1 Oct 2014 14:04:56 +0000 (16:04 +0200)]
Do not set "eff->state" where "eff->change" should be set

10 years agoAdd state tracking debugging info
Michal Malý [Wed, 1 Oct 2014 14:02:34 +0000 (16:02 +0200)]
Add state tracking debugging info

10 years agoDo not send an unnecessary START commmand after EMP_TO_SRT command
Michal Malý [Wed, 1 Oct 2014 13:35:52 +0000 (15:35 +0200)]
Do not send an unnecessary START commmand after EMP_TO_SRT command

10 years agoPass repeat info to HW-spec driver
Michal Malý [Wed, 1 Oct 2014 13:32:26 +0000 (15:32 +0200)]
Pass repeat info to HW-spec driver

10 years agoSet state change to TO_UPLOAD when effect is to be replaced
Michal Malý [Wed, 1 Oct 2014 13:14:23 +0000 (15:14 +0200)]
Set state change to TO_UPLOAD when effect is to be replaced

10 years agoFix behavior of "HAS_EMP_TO_SRT"
Michal Malý [Wed, 1 Oct 2014 13:02:11 +0000 (15:02 +0200)]
Fix behavior of "HAS_EMP_TO_SRT"

10 years ago- Rework the effect replacing logic
Michal Malý [Tue, 30 Sep 2014 23:03:06 +0000 (01:03 +0200)]
- Rework the effect replacing logic
- Preallocate memory for ff_effect structs

10 years ago- Use correct command for uploading
Michal Malý [Sat, 20 Sep 2014 10:44:42 +0000 (12:44 +0200)]
- Use correct command for uploading
- Remove unused variable

10 years ago- Do not let "active" and "latest" effect point to the same effect
Michal Malý [Sat, 20 Sep 2014 10:33:19 +0000 (12:33 +0200)]
- Do not let "active" and "latest" effect point to the same effect
- Fix effect updating

10 years agoAPI change!
Michal Malý [Fri, 19 Sep 2014 23:45:08 +0000 (01:45 +0200)]
API change!

- Revised logic of effect state transition handling
- Simpler and more flexible plugin<->HW-spec driver interface

10 years agoUpdate to new klgd_register_plugin() API
Michal Malý [Thu, 28 Aug 2014 10:44:02 +0000 (12:44 +0200)]
Update to new klgd_register_plugin() API

10 years agoDon't leak memory in effect manipulation functions.
Michal Malý [Tue, 26 Aug 2014 17:55:54 +0000 (19:55 +0200)]
Don't leak memory in effect manipulation functions.

10 years agoUse the KLGD command struct as intended.
Michal Malý [Mon, 25 Aug 2014 23:31:49 +0000 (01:31 +0200)]
Use the KLGD command struct as intended.

10 years ago- Preliminary gain adjustment support
Michal Malý [Mon, 25 Aug 2014 14:15:33 +0000 (16:15 +0200)]
- Preliminary gain adjustment support
- Expose struct input_dev to command building callbacks

10 years agoFix double variable assignment
Michal Malý [Fri, 15 Aug 2014 21:55:20 +0000 (23:55 +0200)]
Fix double variable assignment

10 years agoFix comparison sign
Michal Malý [Fri, 15 Aug 2014 21:54:08 +0000 (23:54 +0200)]
Fix comparison sign

10 years agoAdd some comments
Michal Malý [Fri, 15 Aug 2014 19:26:34 +0000 (21:26 +0200)]
Add some comments

10 years agoUpdate for the new KLGD command sending logic
Michal Malý [Wed, 13 Aug 2014 15:21:07 +0000 (17:21 +0200)]
Update for the new KLGD command sending logic

10 years agoRemove obsolete test_me.sh script
Michal Malý [Wed, 13 Aug 2014 10:25:22 +0000 (12:25 +0200)]
Remove obsolete test_me.sh script

10 years agoMAJOR CHANGES!
Michal Malý [Wed, 13 Aug 2014 08:48:33 +0000 (10:48 +0200)]
MAJOR CHANGES!
- Create a virtual Force Feedback device to test KLGD and FFB handling
- Add klgd_ff_plugin

10 years agoMake the callback function asynchronous
Michal Malý [Sun, 27 Jul 2014 15:52:33 +0000 (17:52 +0200)]
Make the callback function asynchronous

10 years agoInitial commit
Michal Malý [Sun, 27 Jul 2014 13:55:30 +0000 (15:55 +0200)]
Initial commit