I want to switch to Dvorak layout with C# as I build a program to switch between layouts more easily.
This is what I have:
CultureInfo TypeOfLanguage = CultureInfo.CreateSpecificCulture("en-DV");
System.Threading.Thread.CurrentThread.CurrentCulture = TypeOfLanguage;
InputLanguage l = InputLanguage.FromCulture(TypeOfLanguage);
InputLanguage.CurrentInputLanguage = l;
But for the life of me I can't get this to work.