]>
Devoid-pointer.net GitWeb - KLGD_FF_plugin.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Michal Malý [Mon, 12 Oct 2015 14:57:23 +0000 (16:57 +0200)]
HIGHLY EXPERIMENTAL: Update effect timing only when it makes sense
Michal Malý [Sun, 11 Oct 2015 00:59:05 +0000 (02:59 +0200)]
HIGHLY EXPERIMENTAL: Update trip times when the effect is updated
Michal Malý [Fri, 9 Oct 2015 20:55:42 +0000 (22:55 +0200)]
Replace BUG()s with WARN()s so that we do not crash the entire kernel
even when the resulting operation is nonsensical
Michal Malý [Sat, 3 Oct 2015 13:06:46 +0000 (15:06 +0200)]
Do not reschedule if the queue is empty
Michal Malý [Sat, 3 Oct 2015 13:03:07 +0000 (15:03 +0200)]
Defer processing of all userspace requests to a workqueue.
Michal Malý [Sat, 3 Oct 2015 00:55:26 +0000 (02:55 +0200)]
Slightly improved debugging output
Michal Malý [Fri, 2 Oct 2015 22:58:02 +0000 (00:58 +0200)]
Emulate FF_PERIODIC through FF_RUMBLE
Michal Malý [Mon, 28 Sep 2015 22:35:52 +0000 (00:35 +0200)]
- Emulate FF_RUMBLE with FF_CONSTANT
- Improve the decision logic of which effects shoud be treated as
combinable
Michal Malý [Mon, 28 Sep 2015 00:56:40 +0000 (02:56 +0200)]
Remove DIR_TO_DEGREES macro
Michal Malý [Mon, 28 Sep 2015 00:48:59 +0000 (02:48 +0200)]
Simplify conversion from direction units to degrees
Michal Malý [Sun, 27 Sep 2015 23:26:06 +0000 (01:26 +0200)]
Fix an overflow in constant force scaling in the testing module
Michal Malý [Sun, 27 Sep 2015 23:23:48 +0000 (01:23 +0200)]
API Change!:
Remove the supported_effects field from ffpl_init(), read supported
force feedback capabilities from dev->ffbit directly instead
Michal Malý [Sun, 27 Sep 2015 23:10:04 +0000 (01:10 +0200)]
Emulate periodic effects through rumble if the device does not support
constant force effect.
Michal Malý [Sun, 27 Sep 2015 22:46:35 +0000 (00:46 +0200)]
Handle direction and magnitude of rumble effects in the same fashion as
direction and level of constant force effects.
Michal Malý [Sat, 26 Sep 2015 17:27:05 +0000 (19:27 +0200)]
- Defer playback requests to a workqueue to avoid sleeping under
spinlock
- Fix stack corruption on the testing module
Michal Malý [Wed, 23 Sep 2015 16:02:14 +0000 (18:02 +0200)]
- More work on rumble effects combining
- Use "spinning" lock in playback_rq (might not be a good idea!)
Michal Malý [Wed, 23 Sep 2015 08:59:44 +0000 (10:59 +0200)]
Split KLGD-FF plugin and the testing module
Michal Malý [Tue, 22 Sep 2015 22:09:06 +0000 (00:09 +0200)]
Add support for rumble effect combining (EXPERIMENTAL)
Michal Malý [Sun, 20 Sep 2015 20:08:32 +0000 (22:08 +0200)]
Merge branch 'master' of https://github.com/MadCatX/LinuxFF-KLGDFF
Michal Malý [Sun, 20 Sep 2015 19:41:44 +0000 (21:41 +0200)]
Initial implementation of rumble effects combining
Michal Malý [Wed, 19 Aug 2015 21:48:44 +0000 (23:48 +0200)]
Read autocentering support from ffbits
Michal Malý [Wed, 19 Aug 2015 21:28:44 +0000 (23:28 +0200)]
Ignore uncombinable effects in overall combined force calculation
Michal Malý [Sun, 16 Aug 2015 13:25:51 +0000 (15:25 +0200)]
First steps towards full modularization of KLGD-FF
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
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
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
Michal Malý [Wed, 12 Aug 2015 08:55:05 +0000 (10:55 +0200)]
Adapt to updated user data format in klgd_command struct
Michal Malý [Tue, 11 Aug 2015 23:45:33 +0000 (01:45 +0200)]
Allow to pin arbitrary data to the plugin context
Michal Malý [Tue, 11 Aug 2015 22:47:40 +0000 (00:47 +0200)]
Adapt for changed KLGD API
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.
Michal Malý [Sun, 2 Aug 2015 21:31:53 +0000 (23:31 +0200)]
Add support for autocentering
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
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
Michal Malý [Tue, 28 Jul 2015 15:21:43 +0000 (17:21 +0200)]
Add debugging output specific to FF_CONSTANT to the dummy device.
Michal Malý [Tue, 28 Jul 2015 12:48:23 +0000 (14:48 +0200)]
Export ffpl_lvl_dir_to_x_y().
MadCatX [Mon, 27 Jul 2015 10:56:56 +0000 (12:56 +0200)]
Create LICENSE.md
Michal Malý [Mon, 27 Jul 2015 10:04:00 +0000 (12:04 +0200)]
Enable FF_RAMP in dummy device.
Michal Malý [Mon, 27 Jul 2015 09:59:23 +0000 (11:59 +0200)]
- Implement FF_RAMP
- Simplify total combined force calculation
Michal Malý [Sun, 26 Jul 2015 22:43:04 +0000 (00:43 +0200)]
Do not start a stopped combinable effect when it gets updated.
Michal Malý [Sun, 26 Jul 2015 22:13:12 +0000 (00:13 +0200)]
Get envelopes recalculations working.
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
Michal Malý [Sat, 25 Jul 2015 11:31:44 +0000 (13:31 +0200)]
Begin implementation of other types of combinable effects.
Michal Malý [Thu, 23 Jul 2015 20:15:33 +0000 (22:15 +0200)]
Add support for effect repeating.
Michal Malý [Wed, 22 Jul 2015 10:25:30 +0000 (12:25 +0200)]
Downscale from fixed-point calculations correctly.
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)
Michal Malý [Tue, 21 Jul 2015 18:08:57 +0000 (20:08 +0200)]
Check effect sanity before upload.
Michal Malý [Tue, 21 Jul 2015 16:33:15 +0000 (18:33 +0200)]
Trigger an update when a playing effect is updated.
Michal Malý [Tue, 21 Jul 2015 16:30:42 +0000 (18:30 +0200)]
Add preliminary support for envelopes.
Michal Malý [Mon, 20 Jul 2015 20:23:28 +0000 (22:23 +0200)]
Fix behavior when effects are being erased or replaced.
Michal Malý [Mon, 20 Jul 2015 10:52:17 +0000 (12:52 +0200)]
First step towards effect timing implementation.
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.
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.
Michal Malý [Wed, 8 Jul 2015 22:52:38 +0000 (00:52 +0200)]
Handle transition from STARTED to STOPPED correctly for combinable
effects.
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.
Michal Malý [Wed, 8 Jul 2015 15:17:01 +0000 (17:17 +0200)]
Stop and erase combinable effect only when it is playing.
Michal Malý [Mon, 6 Jul 2015 23:49:38 +0000 (01:49 +0200)]
Handle uploaded but not started combinable effect correctly.
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.
Michal Malý [Wed, 1 Oct 2014 14:04:56 +0000 (16:04 +0200)]
Do not set "eff->state" where "eff->change" should be set
Michal Malý [Wed, 1 Oct 2014 14:02:34 +0000 (16:02 +0200)]
Add state tracking debugging info
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
Michal Malý [Wed, 1 Oct 2014 13:32:26 +0000 (15:32 +0200)]
Pass repeat info to HW-spec driver
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
Michal Malý [Wed, 1 Oct 2014 13:02:11 +0000 (15:02 +0200)]
Fix behavior of "HAS_EMP_TO_SRT"
Michal Malý [Tue, 30 Sep 2014 23:03:06 +0000 (01:03 +0200)]
- Rework the effect replacing logic
- Preallocate memory for ff_effect structs
Michal Malý [Sat, 20 Sep 2014 10:44:42 +0000 (12:44 +0200)]
- Use correct command for uploading
- Remove unused variable
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
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
Michal Malý [Thu, 28 Aug 2014 10:44:02 +0000 (12:44 +0200)]
Update to new klgd_register_plugin() API
Michal Malý [Tue, 26 Aug 2014 17:55:54 +0000 (19:55 +0200)]
Don't leak memory in effect manipulation functions.
Michal Malý [Mon, 25 Aug 2014 23:31:49 +0000 (01:31 +0200)]
Use the KLGD command struct as intended.
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
Michal Malý [Fri, 15 Aug 2014 21:55:20 +0000 (23:55 +0200)]
Fix double variable assignment
Michal Malý [Fri, 15 Aug 2014 21:54:08 +0000 (23:54 +0200)]
Fix comparison sign
Michal Malý [Fri, 15 Aug 2014 19:26:34 +0000 (21:26 +0200)]
Add some comments
Michal Malý [Wed, 13 Aug 2014 15:21:07 +0000 (17:21 +0200)]
Update for the new KLGD command sending logic
Michal Malý [Wed, 13 Aug 2014 10:25:22 +0000 (12:25 +0200)]
Remove obsolete test_me.sh script
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
Michal Malý [Sun, 27 Jul 2014 15:52:33 +0000 (17:52 +0200)]
Make the callback function asynchronous
Michal Malý [Sun, 27 Jul 2014 13:55:30 +0000 (15:55 +0200)]
Initial commit