View Issue Details

IDProjectCategoryLast Update
0018962AI War 2SuggestionJun 28, 2018 7:04 pm
ReporterChris_McElligottPark Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Fixed in Version0.745 A Pivot And A Leap Forward 
Summary0018962: Switch to cInput Pro 2 instead of Rewired for input handling.
DescriptionOlder notes:

Pull-style controls checking, and RewiredConsts.cs merging into main xml file.

Updated notes:

I'm looking to be able to check any keybinding via the following sorts of methods from ArcenInput:
        public static float GetAxis( int ActionID );
        public static bool GetButton( int ActionID );
        public static bool GetButtonDoubleDown( int ActionID );
        public static bool GetButtonDown( int ActionID );
        public static bool GetButtonUp( int ActionID );

I'm looking for the equivalent of these pull methods, instead of always having to use the push method that Input_MainHandler provides. While the latter is excellent, for camera work in particular I need the former.

---

Also, I would like for us to move the entries that are presently in RewiredConsts.Action to instead be in the InputAction.xml file. And thus configurable in the regular way, etc. Ideally I would like for them to keep their existing ID linkages, though, particularly because they have their setups all tuned properly with button styling or axis styling, etc. I'll then be able to combine request 0000001 from this plus this new change to start doing pull-style methods using core-defined rewired actions that are found via InputAction xml files, and RewiredConsts.cs can be deleted (since it was only a convenience anyway).

---

Original: Right now it's just the custom controls I think, and not the ones that I put in directly through Rewired itself? Not sure on that. It would be nice to unify that in terms of what people can set, though.
TagsNo tags attached.

Activities

Chris_McElligottPark

Apr 2, 2018 3:22 pm

administrator   ~0047346

I'm going to pull this to my own list, and change to using cInput Pro. I was using that for my other project, and it was working very well there. It also has its own existing GUI for changing controls, so will save us time there as well. It's extremely compatible with our xml-based method of defining keybinds, actually much moreso than Rewired ever has been.

The only downside is that things like double-tap we'll have to calculate on our own, but that's not exactly a crisis. This probably also performs better, not that I've done benchmarks, but eyeballing it.

Chris_McElligottPark

Jun 28, 2018 7:04 pm

administrator   ~0047609

Didn't use cInput Pro, but rather used EasyInput as a base and then completely ripped that apart into my own thing, basically.

Issue History

Date Modified Username Field Change
Mar 1, 2017 12:39 pm Chris_McElligottPark New Issue
Mar 1, 2017 12:39 pm Chris_McElligottPark Status new => assigned
Mar 1, 2017 12:39 pm Chris_McElligottPark Assigned To => keith.lamothe
Jan 24, 2018 4:55 pm Chris_McElligottPark Relationship added has duplicate 0018963
Jan 24, 2018 4:55 pm Chris_McElligottPark Relationship deleted has duplicate 0018963
Mar 23, 2018 8:53 am Chris_McElligottPark Assigned To keith.lamothe => Chris_McElligottPark
Mar 24, 2018 4:07 pm Chris_McElligottPark Assigned To Chris_McElligottPark => keith.lamothe
Mar 24, 2018 4:07 pm Chris_McElligottPark Summary Ability to set the controls via the inputmappings.dat file. => Pull-style controls checking, and RewiredConsts.cs merging into main xml file.
Mar 24, 2018 4:07 pm Chris_McElligottPark Description Updated
Apr 2, 2018 3:22 pm Chris_McElligottPark Note Added: 0047346
Apr 2, 2018 3:23 pm Chris_McElligottPark Assigned To keith.lamothe => Chris_McElligottPark
Apr 2, 2018 3:23 pm Chris_McElligottPark Summary Pull-style controls checking, and RewiredConsts.cs merging into main xml file. => Switch to cInput Pro 2 instead of Rewired for input handling.
Apr 2, 2018 3:23 pm Chris_McElligottPark Description Updated
Jun 28, 2018 7:04 pm Chris_McElligottPark Status assigned => resolved
Jun 28, 2018 7:04 pm Chris_McElligottPark Resolution open => fixed
Jun 28, 2018 7:04 pm Chris_McElligottPark Fixed in Version => 0.745 A Pivot And A Leap Forward
Jun 28, 2018 7:04 pm Chris_McElligottPark Note Added: 0047609