Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 40715
b: refs/heads/master
c: e4477d2
h: refs/heads/master
i:
  40713: 263f1fa
  40711: dd68d5b
v: v3
  • Loading branch information
Randy Dunlap authored and Dmitry Torokhov committed Nov 24, 2006
1 parent a358fb7 commit 3de051b
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f9705fcb9887fcff364a0c8dffbac693aa221d4f
refs/heads/master: e4477d2d1bc3e6c76e83926f7fa8c8f94ba42615
8 changes: 8 additions & 0 deletions trunk/Documentation/DocBook/kernel-api.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -533,4 +533,12 @@ X!Idrivers/video/console/fonts.c
-->
</sect1>
</chapter>

<chapter id="input_subsystem">
<title>Input Subsystem</title>
!Iinclude/linux/input.h
!Edrivers/input/input.c
!Edrivers/input/ff-core.c
!Edrivers/input/ff-memless.c
</chapter>
</book>
4 changes: 2 additions & 2 deletions trunk/drivers/input/ff-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ static int erase_effect(struct input_dev *dev, int effect_id,
}

/**
* input_ff_erase - erase an effect from device
* input_ff_erase - erase a force-feedback effect from device
* @dev: input device to erase effect from
* @effect_id: id of the ffect to be erased
* @file: purported owner of the request
Expand Down Expand Up @@ -347,7 +347,7 @@ EXPORT_SYMBOL_GPL(input_ff_create);

/**
* input_ff_free() - frees force feedback portion of input device
* @dev: input device supporintg force feedback
* @dev: input device supporting force feedback
*
* This function is only needed in error path as input core will
* automatically free force feedback structures when device is
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/input/ff-memless.c
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ static void ml_ff_destroy(struct ff_device *ff)
}

/**
* input_ff_create_memless() - create memoryless FF device
* input_ff_create_memless() - create memoryless force-feedback device
* @dev: input device supporting force-feedback
* @data: driver-specific data to be passed into @play_effect
* @play_effect: driver-specific method for playing FF effect
Expand Down
18 changes: 9 additions & 9 deletions trunk/include/linux/input.h
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ struct input_absinfo {
#define BUS_GSC 0x1A

/*
* Values describing the status of an effect
* Values describing the status of a force-feedback effect
*/
#define FF_STATUS_STOPPED 0x00
#define FF_STATUS_PLAYING 0x01
Expand All @@ -680,7 +680,7 @@ struct input_absinfo {
*/

/**
* struct ff_replay - defines scheduling of the effect
* struct ff_replay - defines scheduling of the force-feedback effect
* @length: duration of the effect
* @delay: delay before effect should start playing
*/
Expand All @@ -690,7 +690,7 @@ struct ff_replay {
};

/**
* struct ff_trigger - defines what triggers the effect
* struct ff_trigger - defines what triggers the force-feedback effect
* @button: number of the button triggering the effect
* @interval: controls how soon the effect can be re-triggered
*/
Expand All @@ -700,7 +700,7 @@ struct ff_trigger {
};

/**
* struct ff_envelope - generic effect envelope
* struct ff_envelope - generic force-feedback effect envelope
* @attack_length: duration of the attack (ms)
* @attack_level: level at the beginning of the attack
* @fade_length: duration of fade (ms)
Expand All @@ -719,7 +719,7 @@ struct ff_envelope {
};

/**
* struct ff_constant_effect - defines parameters of a constant effect
* struct ff_constant_effect - defines parameters of a constant force-feedback effect
* @level: strength of the effect; may be negative
* @envelope: envelope data
*/
Expand All @@ -729,7 +729,7 @@ struct ff_constant_effect {
};

/**
* struct ff_ramp_effect - defines parameters of a ramp effect
* struct ff_ramp_effect - defines parameters of a ramp force-feedback effect
* @start_level: beginning strength of the effect; may be negative
* @end_level: final strength of the effect; may be negative
* @envelope: envelope data
Expand All @@ -741,7 +741,7 @@ struct ff_ramp_effect {
};

/**
* struct ff_condition_effect - defines a spring or friction effect
* struct ff_condition_effect - defines a spring or friction force-feedback effect
* @right_saturation: maximum level when joystick moved all way to the right
* @left_saturation: same for the left side
* @right_coeff: controls how fast the force grows when the joystick moves
Expand All @@ -762,7 +762,7 @@ struct ff_condition_effect {
};

/**
* struct ff_periodic_effect - defines parameters of a periodic effect
* struct ff_periodic_effect - defines parameters of a periodic force-feedback effect
* @waveform: kind of the effect (wave)
* @period: period of the wave (ms)
* @magnitude: peak value
Expand Down Expand Up @@ -793,7 +793,7 @@ struct ff_periodic_effect {
};

/**
* struct ff_rumble_effect - defines parameters of a periodic effect
* struct ff_rumble_effect - defines parameters of a periodic force-feedback effect
* @strong_magnitude: magnitude of the heavy motor
* @weak_magnitude: magnitude of the light one
*
Expand Down

0 comments on commit 3de051b

Please sign in to comment.