aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2006-11-24 00:43:09 -0500
committerDmitry Torokhov <dtor@insightbb.com>2006-11-24 00:43:09 -0500
commite4477d2d1bc3e6c76e83926f7fa8c8f94ba42615 (patch)
treed04e20e441116408cd6dd31f489a1ed2b4418d67 /include
parentf9705fcb9887fcff364a0c8dffbac693aa221d4f (diff)
Input: add to kernel-api docbook
Add input subsystem to kernel-api docbook. Enhance some function and parameter comments. Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include')
-rw-r--r--include/linux/input.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/linux/input.h b/include/linux/input.h
index c38507ba38b5..4e61158b06a0 100644
--- a/include/linux/input.h
+++ b/include/linux/input.h
@@ -663,7 +663,7 @@ struct input_absinfo {
663#define BUS_GSC 0x1A 663#define BUS_GSC 0x1A
664 664
665/* 665/*
666 * Values describing the status of an effect 666 * Values describing the status of a force-feedback effect
667 */ 667 */
668#define FF_STATUS_STOPPED 0x00 668#define FF_STATUS_STOPPED 0x00
669#define FF_STATUS_PLAYING 0x01 669#define FF_STATUS_PLAYING 0x01
@@ -680,7 +680,7 @@ struct input_absinfo {
680 */ 680 */
681 681
682/** 682/**
683 * struct ff_replay - defines scheduling of the effect 683 * struct ff_replay - defines scheduling of the force-feedback effect
684 * @length: duration of the effect 684 * @length: duration of the effect
685 * @delay: delay before effect should start playing 685 * @delay: delay before effect should start playing
686 */ 686 */
@@ -690,7 +690,7 @@ struct ff_replay {
690}; 690};
691 691
692/** 692/**
693 * struct ff_trigger - defines what triggers the effect 693 * struct ff_trigger - defines what triggers the force-feedback effect
694 * @button: number of the button triggering the effect 694 * @button: number of the button triggering the effect
695 * @interval: controls how soon the effect can be re-triggered 695 * @interval: controls how soon the effect can be re-triggered
696 */ 696 */
@@ -700,7 +700,7 @@ struct ff_trigger {
700}; 700};
701 701
702/** 702/**
703 * struct ff_envelope - generic effect envelope 703 * struct ff_envelope - generic force-feedback effect envelope
704 * @attack_length: duration of the attack (ms) 704 * @attack_length: duration of the attack (ms)
705 * @attack_level: level at the beginning of the attack 705 * @attack_level: level at the beginning of the attack
706 * @fade_length: duration of fade (ms) 706 * @fade_length: duration of fade (ms)
@@ -719,7 +719,7 @@ struct ff_envelope {
719}; 719};
720 720
721/** 721/**
722 * struct ff_constant_effect - defines parameters of a constant effect 722 * struct ff_constant_effect - defines parameters of a constant force-feedback effect
723 * @level: strength of the effect; may be negative 723 * @level: strength of the effect; may be negative
724 * @envelope: envelope data 724 * @envelope: envelope data
725 */ 725 */
@@ -729,7 +729,7 @@ struct ff_constant_effect {
729}; 729};
730 730
731/** 731/**
732 * struct ff_ramp_effect - defines parameters of a ramp effect 732 * struct ff_ramp_effect - defines parameters of a ramp force-feedback effect
733 * @start_level: beginning strength of the effect; may be negative 733 * @start_level: beginning strength of the effect; may be negative
734 * @end_level: final strength of the effect; may be negative 734 * @end_level: final strength of the effect; may be negative
735 * @envelope: envelope data 735 * @envelope: envelope data
@@ -741,7 +741,7 @@ struct ff_ramp_effect {
741}; 741};
742 742
743/** 743/**
744 * struct ff_condition_effect - defines a spring or friction effect 744 * struct ff_condition_effect - defines a spring or friction force-feedback effect
745 * @right_saturation: maximum level when joystick moved all way to the right 745 * @right_saturation: maximum level when joystick moved all way to the right
746 * @left_saturation: same for the left side 746 * @left_saturation: same for the left side
747 * @right_coeff: controls how fast the force grows when the joystick moves 747 * @right_coeff: controls how fast the force grows when the joystick moves
@@ -762,7 +762,7 @@ struct ff_condition_effect {
762}; 762};
763 763
764/** 764/**
765 * struct ff_periodic_effect - defines parameters of a periodic effect 765 * struct ff_periodic_effect - defines parameters of a periodic force-feedback effect
766 * @waveform: kind of the effect (wave) 766 * @waveform: kind of the effect (wave)
767 * @period: period of the wave (ms) 767 * @period: period of the wave (ms)
768 * @magnitude: peak value 768 * @magnitude: peak value
@@ -793,7 +793,7 @@ struct ff_periodic_effect {
793}; 793};
794 794
795/** 795/**
796 * struct ff_rumble_effect - defines parameters of a periodic effect 796 * struct ff_rumble_effect - defines parameters of a periodic force-feedback effect
797 * @strong_magnitude: magnitude of the heavy motor 797 * @strong_magnitude: magnitude of the heavy motor
798 * @weak_magnitude: magnitude of the light one 798 * @weak_magnitude: magnitude of the light one
799 * 799 *