diff options
Diffstat (limited to 'include/linux/input.h')
-rw-r--r-- | include/linux/input.h | 33 |
1 files changed, 24 insertions, 9 deletions
diff --git a/include/linux/input.h b/include/linux/input.h index c38507ba38b5..bde65c8a3519 100644 --- a/include/linux/input.h +++ b/include/linux/input.h | |||
@@ -491,6 +491,21 @@ struct input_absinfo { | |||
491 | #define KEY_DIGITS 0x19d | 491 | #define KEY_DIGITS 0x19d |
492 | #define KEY_TEEN 0x19e | 492 | #define KEY_TEEN 0x19e |
493 | #define KEY_TWEN 0x19f | 493 | #define KEY_TWEN 0x19f |
494 | #define KEY_VIDEOPHONE 0x1a0 | ||
495 | #define KEY_GAMES 0x1a1 | ||
496 | #define KEY_ZOOMIN 0x1a2 | ||
497 | #define KEY_ZOOMOUT 0x1a3 | ||
498 | #define KEY_ZOOMRESET 0x1a4 | ||
499 | #define KEY_WORDPROCESSOR 0x1a5 | ||
500 | #define KEY_EDITOR 0x1a6 | ||
501 | #define KEY_SPREADSHEET 0x1a7 | ||
502 | #define KEY_GRAPHICSEDITOR 0x1a8 | ||
503 | #define KEY_PRESENTATION 0x1a9 | ||
504 | #define KEY_DATABASE 0x1aa | ||
505 | #define KEY_NEWS 0x1ab | ||
506 | #define KEY_VOICEMAIL 0x1ac | ||
507 | #define KEY_ADDRESSBOOK 0x1ad | ||
508 | #define KEY_MESSENGER 0x1ae | ||
494 | 509 | ||
495 | #define KEY_DEL_EOL 0x1c0 | 510 | #define KEY_DEL_EOL 0x1c0 |
496 | #define KEY_DEL_EOS 0x1c1 | 511 | #define KEY_DEL_EOS 0x1c1 |
@@ -663,7 +678,7 @@ struct input_absinfo { | |||
663 | #define BUS_GSC 0x1A | 678 | #define BUS_GSC 0x1A |
664 | 679 | ||
665 | /* | 680 | /* |
666 | * Values describing the status of an effect | 681 | * Values describing the status of a force-feedback effect |
667 | */ | 682 | */ |
668 | #define FF_STATUS_STOPPED 0x00 | 683 | #define FF_STATUS_STOPPED 0x00 |
669 | #define FF_STATUS_PLAYING 0x01 | 684 | #define FF_STATUS_PLAYING 0x01 |
@@ -680,7 +695,7 @@ struct input_absinfo { | |||
680 | */ | 695 | */ |
681 | 696 | ||
682 | /** | 697 | /** |
683 | * struct ff_replay - defines scheduling of the effect | 698 | * struct ff_replay - defines scheduling of the force-feedback effect |
684 | * @length: duration of the effect | 699 | * @length: duration of the effect |
685 | * @delay: delay before effect should start playing | 700 | * @delay: delay before effect should start playing |
686 | */ | 701 | */ |
@@ -690,7 +705,7 @@ struct ff_replay { | |||
690 | }; | 705 | }; |
691 | 706 | ||
692 | /** | 707 | /** |
693 | * struct ff_trigger - defines what triggers the effect | 708 | * struct ff_trigger - defines what triggers the force-feedback effect |
694 | * @button: number of the button triggering the effect | 709 | * @button: number of the button triggering the effect |
695 | * @interval: controls how soon the effect can be re-triggered | 710 | * @interval: controls how soon the effect can be re-triggered |
696 | */ | 711 | */ |
@@ -700,7 +715,7 @@ struct ff_trigger { | |||
700 | }; | 715 | }; |
701 | 716 | ||
702 | /** | 717 | /** |
703 | * struct ff_envelope - generic effect envelope | 718 | * struct ff_envelope - generic force-feedback effect envelope |
704 | * @attack_length: duration of the attack (ms) | 719 | * @attack_length: duration of the attack (ms) |
705 | * @attack_level: level at the beginning of the attack | 720 | * @attack_level: level at the beginning of the attack |
706 | * @fade_length: duration of fade (ms) | 721 | * @fade_length: duration of fade (ms) |
@@ -719,7 +734,7 @@ struct ff_envelope { | |||
719 | }; | 734 | }; |
720 | 735 | ||
721 | /** | 736 | /** |
722 | * struct ff_constant_effect - defines parameters of a constant effect | 737 | * struct ff_constant_effect - defines parameters of a constant force-feedback effect |
723 | * @level: strength of the effect; may be negative | 738 | * @level: strength of the effect; may be negative |
724 | * @envelope: envelope data | 739 | * @envelope: envelope data |
725 | */ | 740 | */ |
@@ -729,7 +744,7 @@ struct ff_constant_effect { | |||
729 | }; | 744 | }; |
730 | 745 | ||
731 | /** | 746 | /** |
732 | * struct ff_ramp_effect - defines parameters of a ramp effect | 747 | * struct ff_ramp_effect - defines parameters of a ramp force-feedback effect |
733 | * @start_level: beginning strength of the effect; may be negative | 748 | * @start_level: beginning strength of the effect; may be negative |
734 | * @end_level: final strength of the effect; may be negative | 749 | * @end_level: final strength of the effect; may be negative |
735 | * @envelope: envelope data | 750 | * @envelope: envelope data |
@@ -741,7 +756,7 @@ struct ff_ramp_effect { | |||
741 | }; | 756 | }; |
742 | 757 | ||
743 | /** | 758 | /** |
744 | * struct ff_condition_effect - defines a spring or friction effect | 759 | * 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 | 760 | * @right_saturation: maximum level when joystick moved all way to the right |
746 | * @left_saturation: same for the left side | 761 | * @left_saturation: same for the left side |
747 | * @right_coeff: controls how fast the force grows when the joystick moves | 762 | * @right_coeff: controls how fast the force grows when the joystick moves |
@@ -762,7 +777,7 @@ struct ff_condition_effect { | |||
762 | }; | 777 | }; |
763 | 778 | ||
764 | /** | 779 | /** |
765 | * struct ff_periodic_effect - defines parameters of a periodic effect | 780 | * struct ff_periodic_effect - defines parameters of a periodic force-feedback effect |
766 | * @waveform: kind of the effect (wave) | 781 | * @waveform: kind of the effect (wave) |
767 | * @period: period of the wave (ms) | 782 | * @period: period of the wave (ms) |
768 | * @magnitude: peak value | 783 | * @magnitude: peak value |
@@ -793,7 +808,7 @@ struct ff_periodic_effect { | |||
793 | }; | 808 | }; |
794 | 809 | ||
795 | /** | 810 | /** |
796 | * struct ff_rumble_effect - defines parameters of a periodic effect | 811 | * struct ff_rumble_effect - defines parameters of a periodic force-feedback effect |
797 | * @strong_magnitude: magnitude of the heavy motor | 812 | * @strong_magnitude: magnitude of the heavy motor |
798 | * @weak_magnitude: magnitude of the light one | 813 | * @weak_magnitude: magnitude of the light one |
799 | * | 814 | * |