diff options
author | Antti Hölttä <AHoelttae@luxoft.com> | 2018-11-12 15:25:03 +0100 |
---|---|---|
committer | Antti Hölttä <AHoelttae@luxoft.com> | 2019-03-18 16:32:22 +0100 |
commit | 4e53c46500bdbe9f6fd7228f14b27fb7262b0350 (patch) | |
tree | 932b38e06cac020db92f60849f38ca4ef88aec85 /plugin/inputtypes.h | |
parent | fbe75056a6ca179504b33c74d741c540f5b22dcd (diff) |
CursorNavigationAttached now implements the control interface
CursorNavigationAttached now implements the functions for moving the
cursor and for giving commands. This makes it possible to reassign the
control keys, or use other input sources as well
Diffstat (limited to 'plugin/inputtypes.h')
-rw-r--r-- | plugin/inputtypes.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugin/inputtypes.h b/plugin/inputtypes.h index efe7f8a..c6cc532 100644 --- a/plugin/inputtypes.h +++ b/plugin/inputtypes.h @@ -19,6 +19,8 @@ struct CursorNavigationCommand CursorNavigationCommand(float magnitude, int angle); + CursorNavigationCommand(Action a); + //test if this commands angle is between given angles. clockwise from begin to end bool angleIsBetween(int begin, int end) const; |