Is there a way to disable the 'Touch' funciton?
8 years 17 hours ago #1945
by vallcrist
Is there a way to disable the 'Touch' funciton? was created by vallcrist
A lot of times when I'm working with I2 Loc, I get duplicate entries with the [touch] modifier. Most of the times I couldn't care less for it, so is there a way to disable it?
This tends to happen a lot when I'm using the automatic translation feature, as it seems to fill out everything instead of only the selected mode.
This tends to happen a lot when I'm using the automatic translation feature, as it seems to fill out everything instead of only the selected mode.
Please Log in or Create an account to join the conversation.
8 years 10 hours ago #1946
by Frank
Are you Give I2L 5 stars!
Are you Please lets us know how to improve it!
Replied by Frank on topic Is there a way to disable the 'Touch' funciton?
Hi,
I agree the current Touch/Normal setup is a bit difficult to deal with as it relies on conditions like (one of the two needs to be empty in order for them to be linked, etc)
That's why I have a task to change the way it works (make it more intuitive) and at the same time extend it to also account for custom setups (e.g. Xbox, PS4, VR, Touch, Daydream,etc)
trello.com/c/slJ2P9aM/3-extend-input-specialization
Said that, if you want to disable it at the moment, and never fallback to the Touch version, you can replace the function GetCurrentInputType with this one:
Open the file Assets\I2\Localization\Scripts\LocalizationManager.cs
and replace the function GetCurrentInputType with this one:
Hope that helps,
Frank
I agree the current Touch/Normal setup is a bit difficult to deal with as it relies on conditions like (one of the two needs to be empty in order for them to be linked, etc)
That's why I have a task to change the way it works (make it more intuitive) and at the same time extend it to also account for custom setups (e.g. Xbox, PS4, VR, Touch, Daydream,etc)
trello.com/c/slJ2P9aM/3-extend-input-specialization
Said that, if you want to disable it at the moment, and never fallback to the Touch version, you can replace the function GetCurrentInputType with this one:
Open the file Assets\I2\Localization\Scripts\LocalizationManager.cs
and replace the function GetCurrentInputType with this one:
public static eInputSpecialization GetCurrentInputType()
{
return eInputSpecialization.PC;
}
Hope that helps,
Frank
Are you Give I2L 5 stars!
Are you Please lets us know how to improve it!
To get the betas as soon as they are ready,
check this out
Please Log in or Create an account to join the conversation.
7 years 9 months ago #2113
by Goscalyon
Replied by Goscalyon on topic Is there a way to disable the 'Touch' funciton?
I am also looking to disabling the touch functionality, what I did was to just not show the 'Touch' Tab. Would it in this case ever be possible for differences to exist beetween Normal & Touch?
I tried to find the method you supplied but I can't find it, I am using version 2.6.8 f4.
I tried to find the method you supplied but I can't find it, I am using version 2.6.8 f4.
Please Log in or Create an account to join the conversation.
7 years 9 months ago #2117
by Frank
Are you Give I2L 5 stars!
Are you Please lets us know how to improve it!
Replied by Frank on topic Is there a way to disable the 'Touch' funciton?
Hi,
The method is located at line 18 in the file: assets\i2\localization\scripts\languagesource.cs
Hope that helps,
Frank
I wrote the wrong path.I tried to find the method you supplied but I can't find it, I am using version 2.6.8 f4.
The method is located at line 18 in the file: assets\i2\localization\scripts\languagesource.cs
Hope that helps,
Frank
Are you Give I2L 5 stars!
Are you Please lets us know how to improve it!
To get the betas as soon as they are ready,
check this out
The following user(s) said Thank You: Goscalyon
Please Log in or Create an account to join the conversation.
Time to create page: 0.156 seconds