Answer the question
In order to leave comments, you need to log in
How to enable touch interface in GeckoFX (C#)?
Good afternoon everyone. I ran into a problem enabling the "touch" interface on the geckofx 60.0 engine for c #, since I'm making a browser on the engine from firefox for a touch display, but by default the whole browser accepts all touches of the display as a mouse click. Maybe there is someone who has come across this or something that will tell you the direction in solving the problem.
At the moment I tried to configure through the "settings editor" (code lines below), but to no avail.
C#:
public MainWindow()
{
InitializeComponent();
Xpcom.Initialize(Environment.CurrentDirectory + "\\FireFox");
GeckoPreferences.User["dom.w3c_touch_events.enabled"] = 1;
GeckoPreferences.User["dom.w3c_pointer_events.enabled"] = true;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question