diff options
author | Jaeun Choi <jaeun12.choi@samsung.com> | 2014-04-10 17:10:00 +0900 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2014-04-10 17:10:00 +0900 |
commit | 7a1084e7a1e34668a94d35c3934f5948cec22224 (patch) | |
tree | 558c426bde242b0cb096fa7713dbb9a9ba6b104a /config | |
parent | 4d9966308534db4c873b03798ebe2af4f87e42f2 (diff) |
scroller: apply key binding
Summary: This patch applies key binding to elm_scroller.
Test Plan: elementary_test > Scroller > check key events
Reviewers: Hermet, raster
Differential Revision: https://phab.enlightenment.org/D711
Diffstat (limited to 'config')
-rw-r--r-- | config/default/base.src | 149 | ||||
-rw-r--r-- | config/mobile/base.src | 149 | ||||
-rw-r--r-- | config/standard/base.src | 149 |
3 files changed, 447 insertions, 0 deletions
diff --git a/config/default/base.src b/config/default/base.src index 6268d1b73..2b874badc 100644 --- a/config/default/base.src +++ b/config/default/base.src | |||
@@ -661,5 +661,154 @@ group "Elm_Config" struct { | |||
661 | } | 661 | } |
662 | } | 662 | } |
663 | } | 663 | } |
664 | group "Elm_Config_Bindings_Widget" struct { | ||
665 | value "name" string: "Elm_Scroller"; | ||
666 | group "key_bindings" list { | ||
667 | group "Elm_Config_Binding_Key" struct { | ||
668 | value "context" int: 0; | ||
669 | value "modifiers" string: "None"; | ||
670 | value "key" string: "Left"; | ||
671 | value "action" string: "move"; | ||
672 | value "params" string: "left"; | ||
673 | value "any_mod" uchar: 1; | ||
674 | value "no_string" uchar: 0; | ||
675 | } | ||
676 | group "Elm_Config_Binding_Key" struct { | ||
677 | value "context" int: 0; | ||
678 | value "modifiers" string: "None"; | ||
679 | value "key" string: "KP_Left"; | ||
680 | value "action" string: "move"; | ||
681 | value "params" string: "left"; | ||
682 | value "any_mod" uchar: 1; | ||
683 | value "no_string" uchar: 1; | ||
684 | } | ||
685 | group "Elm_Config_Binding_Key" struct { | ||
686 | value "context" int: 0; | ||
687 | value "modifiers" string: "None"; | ||
688 | value "key" string: "Right"; | ||
689 | value "action" string: "move"; | ||
690 | value "params" string: "right"; | ||
691 | value "any_mod" uchar: 1; | ||
692 | value "no_string" uchar: 0; | ||
693 | } | ||
694 | group "Elm_Config_Binding_Key" struct { | ||
695 | value "context" int: 0; | ||
696 | value "modifiers" string: "None"; | ||
697 | value "key" string: "KP_Right"; | ||
698 | value "action" string: "move"; | ||
699 | value "params" string: "right"; | ||
700 | value "any_mod" uchar: 1; | ||
701 | value "no_string" uchar: 1; | ||
702 | } | ||
703 | group "Elm_Config_Binding_Key" struct { | ||
704 | value "context" int: 0; | ||
705 | value "modifiers" string: "None"; | ||
706 | value "key" string: "Up"; | ||
707 | value "action" string: "move"; | ||
708 | value "params" string: "up"; | ||
709 | value "any_mod" uchar: 1; | ||
710 | value "no_string" uchar: 0; | ||
711 | } | ||
712 | group "Elm_Config_Binding_Key" struct { | ||
713 | value "context" int: 0; | ||
714 | value "modifiers" string: "None"; | ||
715 | value "key" string: "KP_Up"; | ||
716 | value "action" string: "move"; | ||
717 | value "params" string: "up"; | ||
718 | value "any_mod" uchar: 1; | ||
719 | value "no_string" uchar: 1; | ||
720 | } | ||
721 | group "Elm_Config_Binding_Key" struct { | ||
722 | value "context" int: 0; | ||
723 | value "modifiers" string: "None"; | ||
724 | value "key" string: "Down"; | ||
725 | value "action" string: "move"; | ||
726 | value "params" string: "down"; | ||
727 | value "any_mod" uchar: 1; | ||
728 | value "no_string" uchar: 0; | ||
729 | } | ||
730 | group "Elm_Config_Binding_Key" struct { | ||
731 | value "context" int: 0; | ||
732 | value "modifiers" string: "None"; | ||
733 | value "key" string: "KP_Down"; | ||
734 | value "action" string: "move"; | ||
735 | value "params" string: "down"; | ||
736 | value "any_mod" uchar: 1; | ||
737 | value "no_string" uchar: 1; | ||
738 | } | ||
739 | group "Elm_Config_Binding_Key" struct { | ||
740 | value "context" int: 0; | ||
741 | value "modifiers" string: "None"; | ||
742 | value "key" string: "Home"; | ||
743 | value "action" string: "move"; | ||
744 | value "params" string: "first"; | ||
745 | value "any_mod" uchar: 1; | ||
746 | value "no_string" uchar: 0; | ||
747 | } | ||
748 | group "Elm_Config_Binding_Key" struct { | ||
749 | value "context" int: 0; | ||
750 | value "modifiers" string: "None"; | ||
751 | value "key" string: "KP_Home"; | ||
752 | value "action" string: "move"; | ||
753 | value "params" string: "first"; | ||
754 | value "any_mod" uchar: 1; | ||
755 | value "no_string" uchar: 1; | ||
756 | } | ||
757 | group "Elm_Config_Binding_Key" struct { | ||
758 | value "context" int: 0; | ||
759 | value "modifiers" string: "None"; | ||
760 | value "key" string: "End"; | ||
761 | value "action" string: "move"; | ||
762 | value "params" string: "last"; | ||
763 | value "any_mod" uchar: 1; | ||
764 | value "no_string" uchar: 0; | ||
765 | } | ||
766 | group "Elm_Config_Binding_Key" struct { | ||
767 | value "context" int: 0; | ||
768 | value "modifiers" string: "None"; | ||
769 | value "key" string: "KP_End"; | ||
770 | value "action" string: "move"; | ||
771 | value "params" string: "last"; | ||
772 | value "any_mod" uchar: 1; | ||
773 | value "no_string" uchar: 1; | ||
774 | } | ||
775 | group "Elm_Config_Binding_Key" struct { | ||
776 | value "context" int: 0; | ||
777 | value "modifiers" string: "None"; | ||
778 | value "key" string: "Prior"; | ||
779 | value "action" string: "move"; | ||
780 | value "params" string: "prior"; | ||
781 | value "any_mod" uchar: 1; | ||
782 | value "no_string" uchar: 0; | ||
783 | } | ||
784 | group "Elm_Config_Binding_Key" struct { | ||
785 | value "context" int: 0; | ||
786 | value "modifiers" string: "None"; | ||
787 | value "key" string: "KP_Prior"; | ||
788 | value "action" string: "move"; | ||
789 | value "params" string: "prior"; | ||
790 | value "any_mod" uchar: 1; | ||
791 | value "no_string" uchar: 1; | ||
792 | } | ||
793 | group "Elm_Config_Binding_Key" struct { | ||
794 | value "context" int: 0; | ||
795 | value "modifiers" string: "None"; | ||
796 | value "key" string: "Next"; | ||
797 | value "action" string: "move"; | ||
798 | value "params" string: "next"; | ||
799 | value "any_mod" uchar: 1; | ||
800 | value "no_string" uchar: 0; | ||
801 | } | ||
802 | group "Elm_Config_Binding_Key" struct { | ||
803 | value "context" int: 0; | ||
804 | value "modifiers" string: "None"; | ||
805 | value "key" string: "KP_Next"; | ||
806 | value "action" string: "move"; | ||
807 | value "params" string: "next"; | ||
808 | value "any_mod" uchar: 1; | ||
809 | value "no_string" uchar: 1; | ||
810 | } | ||
811 | } | ||
812 | } | ||
664 | } | 813 | } |
665 | } | 814 | } |
diff --git a/config/mobile/base.src b/config/mobile/base.src index bd4361ad9..5d77e00b1 100644 --- a/config/mobile/base.src +++ b/config/mobile/base.src | |||
@@ -665,5 +665,154 @@ group "Elm_Config" struct { | |||
665 | } | 665 | } |
666 | } | 666 | } |
667 | } | 667 | } |
668 | group "Elm_Config_Bindings_Widget" struct { | ||
669 | value "name" string: "Elm_Scroller"; | ||
670 | group "key_bindings" list { | ||
671 | group "Elm_Config_Binding_Key" struct { | ||
672 | value "context" int: 0; | ||
673 | value "modifiers" string: "None"; | ||
674 | value "key" string: "Left"; | ||
675 | value "action" string: "move"; | ||
676 | value "params" string: "left"; | ||
677 | value "any_mod" uchar: 1; | ||
678 | value "no_string" uchar: 0; | ||
679 | } | ||
680 | group "Elm_Config_Binding_Key" struct { | ||
681 | value "context" int: 0; | ||
682 | value "modifiers" string: "None"; | ||
683 | value "key" string: "KP_Left"; | ||
684 | value "action" string: "move"; | ||
685 | value "params" string: "left"; | ||
686 | value "any_mod" uchar: 1; | ||
687 | value "no_string" uchar: 1; | ||
688 | } | ||
689 | group "Elm_Config_Binding_Key" struct { | ||
690 | value "context" int: 0; | ||
691 | value "modifiers" string: "None"; | ||
692 | value "key" string: "Right"; | ||
693 | value "action" string: "move"; | ||
694 | value "params" string: "right"; | ||
695 | value "any_mod" uchar: 1; | ||
696 | value "no_string" uchar: 0; | ||
697 | } | ||
698 | group "Elm_Config_Binding_Key" struct { | ||
699 | value "context" int: 0; | ||
700 | value "modifiers" string: "None"; | ||
701 | value "key" string: "KP_Right"; | ||
702 | value "action" string: "move"; | ||
703 | value "params" string: "right"; | ||
704 | value "any_mod" uchar: 1; | ||
705 | value "no_string" uchar: 1; | ||
706 | } | ||
707 | group "Elm_Config_Binding_Key" struct { | ||
708 | value "context" int: 0; | ||
709 | value "modifiers" string: "None"; | ||
710 | value "key" string: "Up"; | ||
711 | value "action" string: "move"; | ||
712 | value "params" string: "up"; | ||
713 | value "any_mod" uchar: 1; | ||
714 | value "no_string" uchar: 0; | ||
715 | } | ||
716 | group "Elm_Config_Binding_Key" struct { | ||
717 | value "context" int: 0; | ||
718 | value "modifiers" string: "None"; | ||
719 | value "key" string: "KP_Up"; | ||
720 | value "action" string: "move"; | ||
721 | value "params" string: "up"; | ||
722 | value "any_mod" uchar: 1; | ||
723 | value "no_string" uchar: 1; | ||
724 | } | ||
725 | group "Elm_Config_Binding_Key" struct { | ||
726 | value "context" int: 0; | ||
727 | value "modifiers" string: "None"; | ||
728 | value "key" string: "Down"; | ||
729 | value "action" string: "move"; | ||
730 | value "params" string: "down"; | ||
731 | value "any_mod" uchar: 1; | ||
732 | value "no_string" uchar: 0; | ||
733 | } | ||
734 | group "Elm_Config_Binding_Key" struct { | ||
735 | value "context" int: 0; | ||
736 | value "modifiers" string: "None"; | ||
737 | value "key" string: "KP_Down"; | ||
738 | value "action" string: "move"; | ||
739 | value "params" string: "down"; | ||
740 | value "any_mod" uchar: 1; | ||
741 | value "no_string" uchar: 1; | ||
742 | } | ||
743 | group "Elm_Config_Binding_Key" struct { | ||
744 | value "context" int: 0; | ||
745 | value "modifiers" string: "None"; | ||
746 | value "key" string: "Home"; | ||
747 | value "action" string: "move"; | ||
748 | value "params" string: "first"; | ||
749 | value "any_mod" uchar: 1; | ||
750 | value "no_string" uchar: 0; | ||
751 | } | ||
752 | group "Elm_Config_Binding_Key" struct { | ||
753 | value "context" int: 0; | ||
754 | value "modifiers" string: "None"; | ||
755 | value "key" string: "KP_Home"; | ||
756 | value "action" string: "move"; | ||
757 | value "params" string: "first"; | ||
758 | value "any_mod" uchar: 1; | ||
759 | value "no_string" uchar: 1; | ||
760 | } | ||
761 | group "Elm_Config_Binding_Key" struct { | ||
762 | value "context" int: 0; | ||
763 | value "modifiers" string: "None"; | ||
764 | value "key" string: "End"; | ||
765 | value "action" string: "move"; | ||
766 | value "params" string: "last"; | ||
767 | value "any_mod" uchar: 1; | ||
768 | value "no_string" uchar: 0; | ||
769 | } | ||
770 | group "Elm_Config_Binding_Key" struct { | ||
771 | value "context" int: 0; | ||
772 | value "modifiers" string: "None"; | ||
773 | value "key" string: "KP_End"; | ||
774 | value "action" string: "move"; | ||
775 | value "params" string: "last"; | ||
776 | value "any_mod" uchar: 1; | ||
777 | value "no_string" uchar: 1; | ||
778 | } | ||
779 | group "Elm_Config_Binding_Key" struct { | ||
780 | value "context" int: 0; | ||
781 | value "modifiers" string: "None"; | ||
782 | value "key" string: "Prior"; | ||
783 | value "action" string: "move"; | ||
784 | value "params" string: "prior"; | ||
785 | value "any_mod" uchar: 1; | ||
786 | value "no_string" uchar: 0; | ||
787 | } | ||
788 | group "Elm_Config_Binding_Key" struct { | ||
789 | value "context" int: 0; | ||
790 | value "modifiers" string: "None"; | ||
791 | value "key" string: "KP_Prior"; | ||
792 | value "action" string: "move"; | ||
793 | value "params" string: "prior"; | ||
794 | value "any_mod" uchar: 1; | ||
795 | value "no_string" uchar: 1; | ||
796 | } | ||
797 | group "Elm_Config_Binding_Key" struct { | ||
798 | value "context" int: 0; | ||
799 | value "modifiers" string: "None"; | ||
800 | value "key" string: "Next"; | ||
801 | value "action" string: "move"; | ||
802 | value "params" string: "next"; | ||
803 | value "any_mod" uchar: 1; | ||
804 | value "no_string" uchar: 0; | ||
805 | } | ||
806 | group "Elm_Config_Binding_Key" struct { | ||
807 | value "context" int: 0; | ||
808 | value "modifiers" string: "None"; | ||
809 | value "key" string: "KP_Next"; | ||
810 | value "action" string: "move"; | ||
811 | value "params" string: "next"; | ||
812 | value "any_mod" uchar: 1; | ||
813 | value "no_string" uchar: 1; | ||
814 | } | ||
815 | } | ||
816 | } | ||
668 | } | 817 | } |
669 | } | 818 | } |
diff --git a/config/standard/base.src b/config/standard/base.src index 0cf27ebe6..5f53394ea 100644 --- a/config/standard/base.src +++ b/config/standard/base.src | |||
@@ -662,5 +662,154 @@ group "Elm_Config" struct { | |||
662 | } | 662 | } |
663 | } | 663 | } |
664 | } | 664 | } |
665 | group "Elm_Config_Bindings_Widget" struct { | ||
666 | value "name" string: "Elm_Scroller"; | ||
667 | group "key_bindings" list { | ||
668 | group "Elm_Config_Binding_Key" struct { | ||
669 | value "context" int: 0; | ||
670 | value "modifiers" string: "None"; | ||
671 | value "key" string: "Left"; | ||
672 | value "action" string: "move"; | ||
673 | value "params" string: "left"; | ||
674 | value "any_mod" uchar: 1; | ||
675 | value "no_string" uchar: 0; | ||
676 | } | ||
677 | group "Elm_Config_Binding_Key" struct { | ||
678 | value "context" int: 0; | ||
679 | value "modifiers" string: "None"; | ||
680 | value "key" string: "KP_Left"; | ||
681 | value "action" string: "move"; | ||
682 | value "params" string: "left"; | ||
683 | value "any_mod" uchar: 1; | ||
684 | value "no_string" uchar: 1; | ||
685 | } | ||
686 | group "Elm_Config_Binding_Key" struct { | ||
687 | value "context" int: 0; | ||
688 | value "modifiers" string: "None"; | ||
689 | value "key" string: "Right"; | ||
690 | value "action" string: "move"; | ||
691 | value "params" string: "right"; | ||
692 | value "any_mod" uchar: 1; | ||
693 | value "no_string" uchar: 0; | ||
694 | } | ||
695 | group "Elm_Config_Binding_Key" struct { | ||
696 | value "context" int: 0; | ||
697 | value "modifiers" string: "None"; | ||
698 | value "key" string: "KP_Right"; | ||
699 | value "action" string: "move"; | ||
700 | value "params" string: "right"; | ||
701 | value "any_mod" uchar: 1; | ||
702 | value "no_string" uchar: 1; | ||
703 | } | ||
704 | group "Elm_Config_Binding_Key" struct { | ||
705 | value "context" int: 0; | ||
706 | value "modifiers" string: "None"; | ||
707 | value "key" string: "Up"; | ||
708 | value "action" string: "move"; | ||
709 | value "params" string: "up"; | ||
710 | value "any_mod" uchar: 1; | ||
711 | value "no_string" uchar: 0; | ||
712 | } | ||
713 | group "Elm_Config_Binding_Key" struct { | ||
714 | value "context" int: 0; | ||
715 | value "modifiers" string: "None"; | ||
716 | value "key" string: "KP_Up"; | ||
717 | value "action" string: "move"; | ||
718 | value "params" string: "up"; | ||
719 | value "any_mod" uchar: 1; | ||
720 | value "no_string" uchar: 1; | ||
721 | } | ||
722 | group "Elm_Config_Binding_Key" struct { | ||
723 | value "context" int: 0; | ||
724 | value "modifiers" string: "None"; | ||
725 | value "key" string: "Down"; | ||
726 | value "action" string: "move"; | ||
727 | value "params" string: "down"; | ||
728 | value "any_mod" uchar: 1; | ||
729 | value "no_string" uchar: 0; | ||
730 | } | ||
731 | group "Elm_Config_Binding_Key" struct { | ||
732 | value "context" int: 0; | ||
733 | value "modifiers" string: "None"; | ||
734 | value "key" string: "KP_Down"; | ||
735 | value "action" string: "move"; | ||
736 | value "params" string: "down"; | ||
737 | value "any_mod" uchar: 1; | ||
738 | value "no_string" uchar: 1; | ||
739 | } | ||
740 | group "Elm_Config_Binding_Key" struct { | ||
741 | value "context" int: 0; | ||
742 | value "modifiers" string: "None"; | ||
743 | value "key" string: "Home"; | ||
744 | value "action" string: "move"; | ||
745 | value "params" string: "first"; | ||
746 | value "any_mod" uchar: 1; | ||
747 | value "no_string" uchar: 0; | ||
748 | } | ||
749 | group "Elm_Config_Binding_Key" struct { | ||
750 | value "context" int: 0; | ||
751 | value "modifiers" string: "None"; | ||
752 | value "key" string: "KP_Home"; | ||
753 | value "action" string: "move"; | ||
754 | value "params" string: "first"; | ||
755 | value "any_mod" uchar: 1; | ||
756 | value "no_string" uchar: 1; | ||
757 | } | ||
758 | group "Elm_Config_Binding_Key" struct { | ||
759 | value "context" int: 0; | ||
760 | value "modifiers" string: "None"; | ||
761 | value "key" string: "End"; | ||
762 | value "action" string: "move"; | ||
763 | value "params" string: "last"; | ||
764 | value "any_mod" uchar: 1; | ||
765 | value "no_string" uchar: 0; | ||
766 | } | ||
767 | group "Elm_Config_Binding_Key" struct { | ||
768 | value "context" int: 0; | ||
769 | value "modifiers" string: "None"; | ||
770 | value "key" string: "KP_End"; | ||
771 | value "action" string: "move"; | ||
772 | value "params" string: "last"; | ||
773 | value "any_mod" uchar: 1; | ||
774 | value "no_string" uchar: 1; | ||
775 | } | ||
776 | group "Elm_Config_Binding_Key" struct { | ||
777 | value "context" int: 0; | ||
778 | value "modifiers" string: "None"; | ||
779 | value "key" string: "Prior"; | ||
780 | value "action" string: "move"; | ||
781 | value "params" string: "prior"; | ||
782 | value "any_mod" uchar: 1; | ||
783 | value "no_string" uchar: 0; | ||
784 | } | ||
785 | group "Elm_Config_Binding_Key" struct { | ||
786 | value "context" int: 0; | ||
787 | value "modifiers" string: "None"; | ||
788 | value "key" string: "KP_Prior"; | ||
789 | value "action" string: "move"; | ||
790 | value "params" string: "prior"; | ||
791 | value "any_mod" uchar: 1; | ||
792 | value "no_string" uchar: 1; | ||
793 | } | ||
794 | group "Elm_Config_Binding_Key" struct { | ||
795 | value "context" int: 0; | ||
796 | value "modifiers" string: "None"; | ||
797 | value "key" string: "Next"; | ||
798 | value "action" string: "move"; | ||
799 | value "params" string: "next"; | ||
800 | value "any_mod" uchar: 1; | ||
801 | value "no_string" uchar: 0; | ||
802 | } | ||
803 | group "Elm_Config_Binding_Key" struct { | ||
804 | value "context" int: 0; | ||
805 | value "modifiers" string: "None"; | ||
806 | value "key" string: "KP_Next"; | ||
807 | value "action" string: "move"; | ||
808 | value "params" string: "next"; | ||
809 | value "any_mod" uchar: 1; | ||
810 | value "no_string" uchar: 1; | ||
811 | } | ||
812 | } | ||
813 | } | ||
665 | } | 814 | } |
666 | } | 815 | } |