DayZ Enforce
Script API
Private Member Functions | List of all members
Input Class Reference

#include <input.h>

Private Member Functions

proto void  ChangeGameFocus (int add)
 
proto void  ResetGameFocus ()
 
proto bool  HasGameFocus ()
 
proto int  GetActionGroupsCount ()
 
proto int  GetActionGroupSize (int group_index)
 
proto int  GetActionGroupName (int group_index, out string name)
 
proto void  GetActionGroupItems (int group_index, out TIntArray items)
 
proto int  GetActionDesc (int action_index, out string desc)
 
proto void  GetActionKeys (int action_index, out TIntArray keys)
 
proto void  GetActionDefaultKeys (int action_index, out TIntArray keys)
 
proto void  SetActionKeys (int action_index, TIntArray keys)
 
proto int  GetActionKeyName (int key_index, out string name)
 
proto int  GetActionsCount ()
 
proto void  GetSpecialKeys (out TIntArray special_keys)
 
proto int  IsKeyReserved (int dikCode)
 
proto int  IsKeyDoubleTap (int dikCode)
 
proto void  SeparateComboAndKey (int dik, out int dikCombo, out int dikKey)
 
proto int  IsActionGroupCollision (int actionIndexA, int actionIndexB)
 
int  CheckKeyCollision (int actionIndex, int key)
 
proto float  GetAction (int action, bool checkFocus)
 
proto float  GetActionExclusive (int action, bool checkFocus)
 
proto int  GetActionToDo (int action, bool reset, bool checkFocus)
 
proto int  GetActionDo (int action, bool checkFocus)
 
proto int  GetInputToDo (int key, bool reset=true, bool checkFocus=true, bool exclusive=false)
  check if starting edge was detected - raw input More...
 
proto void  BlockButton (int key)
 
proto void  DisableKey (int key)
 
proto int  GetSpecialKeyPressed ()
 
proto int  GetCurrentProfile ()
  gets currently selected profile More...
 
proto void  GetCurrentProfileActionKeys (int action_index, out TIntArray keys)
 
proto int  GetProfileName (int profile_index, out string name)
  gets profile by index More...
 
proto int  GetProfilesCount ()
  gets profile by name More...
 
proto int  SetProfile (int index)
  setting active profile More...
 
proto int  GetDevicesCount ()
 
proto int  GetDeviceName (int device_index, out string name)
 
proto int  IsDeviceXInput (int device_index)
 
proto int  IsDeviceEnabled (int device_index)
 
proto void  SetDeviceEnabled (int device_index, bool enabled)
 
proto int  IsCustomSchemeEnabled ()
 
proto void  SetCustomSchemeEnabled (bool enabled)
 

Member Function Documentation

proto void Input::ChangeGameFocus ( int  add )
private
proto void Input::ResetGameFocus ( )
private
proto bool Input::HasGameFocus ( )
private
proto int Input::GetActionGroupsCount ( )
private
proto int Input::GetActionGroupSize ( int  group_index )
private
proto int Input::GetActionGroupName ( int  group_index,
out string  name 
)
private
proto void Input::GetActionGroupItems ( int  group_index,
out TIntArray  items 
)
private
proto int Input::GetActionDesc ( int  action_index,
out string  desc 
)
private
proto void Input::GetActionKeys ( int  action_index,
out TIntArray  keys 
)
private

Referenced by CheckKeyCollision().

proto void Input::GetActionDefaultKeys ( int  action_index,
out TIntArray  keys 
)
private
proto void Input::SetActionKeys ( int  action_index,
TIntArray  keys 
)
private

Referenced by PresetsMenu::OnClick().

proto int Input::GetActionKeyName ( int  key_index,
out string  name 
)
private
proto int Input::GetActionsCount ( )
private

Referenced by CheckKeyCollision().

proto void Input::GetSpecialKeys ( out TIntArray  special_keys )
private
proto int Input::IsKeyReserved ( int  dikCode )
private
proto int Input::IsKeyDoubleTap ( int  dikCode )
private
proto void Input::SeparateComboAndKey ( int  dik,
out int  dikCombo,
out int  dikKey 
)
private

Referenced by CheckKeyCollision().

proto int Input::IsActionGroupCollision ( int  actionIndexA,
int  actionIndexB 
)
private

Referenced by CheckKeyCollision().

int Input::CheckKeyCollision ( int  actionIndex,
int  key 
)
private
proto float Input::GetAction ( int  action,
bool  checkFocus 
)
private
Parameters
action UserActions
checkFocus
proto float Input::GetActionExclusive ( int  action,
bool  checkFocus 
)
private
Parameters
action UserActions
checkFocus
proto int Input::GetActionToDo ( int  action,
bool  reset,
bool  checkFocus 
)
private
Parameters
action UserActions
reset
checkFocus
proto int Input::GetActionDo ( int  action,
bool  checkFocus 
)
private
Parameters
action UserActions
checkFocus
proto int Input::GetInputToDo ( int  key,
bool  reset = true,
bool  checkFocus = true,
bool  exclusive = false 
)
private

check if starting edge was detected - raw input

proto void Input::BlockButton ( int  key )
private
proto void Input::DisableKey ( int  key )
private
proto int Input::GetSpecialKeyPressed ( )
private
proto int Input::GetCurrentProfile ( )
private

gets currently selected profile

Referenced by PresetsMenu::Init().

proto void Input::GetCurrentProfileActionKeys ( int  action_index,
out TIntArray  keys 
)
private

Referenced by PresetsMenu::OnClick().

proto int Input::GetProfileName ( int  profile_index,
out string  name 
)
private

gets profile by index

Referenced by PresetsMenu::Init().

proto int Input::GetProfilesCount ( )
private

gets profile by name

Referenced by PresetsMenu::Init().

proto int Input::SetProfile ( int  index )
private

setting active profile

Referenced by PresetsMenu::OnClick().

proto int Input::GetDevicesCount ( )
private
proto int Input::GetDeviceName ( int  device_index,
out string  name 
)
private
proto int Input::IsDeviceXInput ( int  device_index )
private
proto int Input::IsDeviceEnabled ( int  device_index )
private
proto void Input::SetDeviceEnabled ( int  device_index,
bool  enabled 
)
private
proto int Input::IsCustomSchemeEnabled ( )
private
proto void Input::SetCustomSchemeEnabled ( bool  enabled )
private

The documentation for this class was generated from the following files:
Converted from CHM to HTML with chm2web Pro 2.85 (unicode)