diff --git a/Project-Aurora/Project-Aurora/App.xaml.cs b/Project-Aurora/Project-Aurora/App.xaml.cs index d8d696750..48293d5f0 100755 --- a/Project-Aurora/Project-Aurora/App.xaml.cs +++ b/Project-Aurora/Project-Aurora/App.xaml.cs @@ -116,7 +116,7 @@ public static void LogLine(this NLog.Logger logger, string text, Logging_Level l public static NetworkListener net_listener; public static Configuration Configuration; public static DeviceManager dev_manager; - public static KeyboardLayoutManager kbLayout; + public static DeviceLayoutManager devicesLayout; public static Effects effengine; public static KeyRecorder key_recorder; public static RzSdkManager razerSdkManager; @@ -313,9 +313,9 @@ protected override void OnStartup(StartupEventArgs e) Global.logger.Info("Loading Plugins"); (Global.PluginManager = new PluginManager()).Initialize(); - Global.logger.Info("Loading KB Layouts"); - Global.kbLayout = new KeyboardLayoutManager(); - Global.kbLayout.LoadBrandDefault(); + + Global.devicesLayout = new DeviceLayoutManager(); + Global.logger.Info("Loading Input Hooking"); Global.InputEvents = new InputEvents(); @@ -407,6 +407,8 @@ protected override void OnStartup(StartupEventArgs e) MainWindow = new ConfigUI(); ((ConfigUI)MainWindow).Display(); + Global.logger.Info("Loading Device Layouts"); + //Debug Windows on Startup if (Global.Configuration.BitmapWindowOnStartUp) Window_BitmapView.Open(); diff --git a/Project-Aurora/Project-Aurora/ConfigUI.xaml b/Project-Aurora/Project-Aurora/ConfigUI.xaml index f682fe89c..8214d9745 100755 --- a/Project-Aurora/Project-Aurora/ConfigUI.xaml +++ b/Project-Aurora/Project-Aurora/ConfigUI.xaml @@ -6,7 +6,7 @@ xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit" xmlns:local="clr-namespace:Aurora" xmlns:tb="http://www.hardcodet.net/taskbar" - xmlns:Controls="clr-namespace:Aurora.Controls" xmlns:Settings="clr-namespace:Aurora.Settings" x:Class="Aurora.ConfigUI" + xmlns:Controls="clr-namespace:Aurora.Controls" xmlns:Settings="clr-namespace:Aurora.Settings" xmlns:DeviceLayout="clr-namespace:Aurora.Settings.DeviceLayoutViewer" x:Class="Aurora.ConfigUI" mc:Ignorable="d" Height="656" Width="1000" Title="Aurora" Loaded="Window_Loaded" Initialized="Window_Initialized" Closing="Window_Closing" Activated="Window_Activated" Deactivated="Window_Deactivated" HorizontalContentAlignment="Stretch" MinWidth="926" MinHeight="575" DataContext="{Binding RelativeSource={RelativeSource Self}}" SizeChanged="Window_SizeChanged"> @@ -87,18 +87,7 @@ - - - - - - - - - - - + diff --git a/Project-Aurora/Project-Aurora/ConfigUI.xaml.cs b/Project-Aurora/Project-Aurora/ConfigUI.xaml.cs index 01133260d..dd44f2308 100755 --- a/Project-Aurora/Project-Aurora/ConfigUI.xaml.cs +++ b/Project-Aurora/Project-Aurora/ConfigUI.xaml.cs @@ -15,7 +15,6 @@ using Aurora.Controls; using Aurora.Profiles.Generic_Application; using System.IO; -using Aurora.Settings.Keycaps; using Aurora.Profiles; using Aurora.Settings.Layers; using Aurora.Profiles.Aurora_Wrapper; @@ -50,13 +49,7 @@ partial class ConfigUI : Window, INotifyPropertyChanged private Timer virtual_keyboard_timer; private Stopwatch recording_stopwatch = new Stopwatch(); - private Grid virtial_kb = new Grid(); - private readonly double virtual_keyboard_width; - private readonly double virtual_keyboard_height; - - private readonly double width; - private readonly double height; public static readonly DependencyProperty FocusedApplicationProperty = DependencyProperty.Register("FocusedApplication", typeof(Profiles.Application), typeof(ConfigUI), new PropertyMetadata(null, new PropertyChangedCallback(FocusedProfileChanged))); @@ -70,8 +63,6 @@ public Profiles.Application FocusedApplication } } - LayerEditor layer_editor = new LayerEditor(); - private bool _ShowHidden = false; public bool ShowHidden @@ -88,19 +79,10 @@ public ConfigUI() { InitializeComponent(); - virtual_keyboard_height = this.keyboard_grid.Height; - virtual_keyboard_width = this.keyboard_grid.Width; - - width = Width; - height = Height; - - Global.kbLayout.KeyboardLayoutUpdated += KbLayout_KeyboardLayoutUpdated; - ctrlProfileManager.ProfileSelected += CtrlProfileManager_ProfileSelected; GenerateProfileStack(); settingsControl.DataContext = this; - } @@ -141,28 +123,7 @@ private void Layer_manager_NewLayer(Layer layer) SelectedControl = layerPresenter; } - private void KbLayout_KeyboardLayoutUpdated(object sender) - { - virtial_kb = Global.kbLayout.Virtual_keyboard; - - keyboard_grid.Children.Clear(); - keyboard_grid.Children.Add(virtial_kb); - keyboard_grid.Children.Add(new LayerEditor()); - - keyboard_grid.Width = virtial_kb.Width; - this.Width = width + (virtial_kb.Width - virtual_keyboard_width); - - keyboard_grid.Height = virtial_kb.Height; - this.Height = height + (virtial_kb.Height - virtual_keyboard_height); - - keyboard_grid.UpdateLayout(); - - keyboard_viewbox.MaxWidth = virtial_kb.Width + 50; - keyboard_viewbox.MaxHeight = virtial_kb.Height + 50; - keyboard_viewbox.UpdateLayout(); - - this.UpdateLayout(); - } + private void Window_Loaded(object sender, RoutedEventArgs e) { @@ -171,34 +132,15 @@ private void Window_Loaded(object sender, RoutedEventArgs e) if (!settingsloaded) { virtual_keyboard_timer = new Timer(33); - virtual_keyboard_timer.Elapsed += new ElapsedEventHandler(virtual_keyboard_timer_Tick); + virtual_keyboard_timer.Elapsed += new ElapsedEventHandler(LayoutRenderTimerTick); virtual_keyboard_timer.Start(); settingsloaded = true; } - this.keyboard_record_message.Visibility = Visibility.Hidden; - current_color = desktop_color_scheme; bg_grid.Background = new SolidColorBrush(Color.FromRgb(desktop_color_scheme.Red, desktop_color_scheme.Green, desktop_color_scheme.Blue)); - virtial_kb = Global.kbLayout.Virtual_keyboard; - - keyboard_grid.Children.Clear(); - keyboard_grid.Children.Add(virtial_kb); - keyboard_grid.Children.Add(new LayerEditor()); - - keyboard_grid.Width = virtial_kb.Width; - this.Width = width + (virtial_kb.Width - virtual_keyboard_width); - - keyboard_grid.Height = virtial_kb.Height; - this.Height = height + (virtial_kb.Height - virtual_keyboard_height); - - keyboard_grid.UpdateLayout(); - - keyboard_viewbox.MaxWidth = virtial_kb.Width + 50; - keyboard_viewbox.MaxHeight = virtial_kb.Height + 50; - keyboard_viewbox.UpdateLayout(); UpdateManagerStackFocus(ctrlLayerManager); @@ -233,7 +175,7 @@ public static bool ApplicationIsActivated() [System.Runtime.InteropServices.DllImport("user32.dll", CharSet = System.Runtime.InteropServices.CharSet.Auto, SetLastError = true)] private static extern int GetWindowThreadProcessId(IntPtr handle, out int processId); - private void virtual_keyboard_timer_Tick(object sender, EventArgs e) + private void LayoutRenderTimerTick(object sender, EventArgs e) { if (!ApplicationIsActivated()) return; @@ -249,20 +191,11 @@ private void virtual_keyboard_timer_Tick(object sender, EventArgs e) bg_grid.UpdateLayout(); } - - Dictionary keylights = new Dictionary(); - if (IsActive) { - keylights = Global.effengine.GetKeyboardLights(); - Global.kbLayout.SetKeyboardColors(keylights); + deviceLayerPresenter.Refresh(); } - if (Global.key_recorder.IsRecording()) - this.keyboard_record_message.Visibility = Visibility.Visible; - else - this.keyboard_record_message.Visibility = Visibility.Hidden; - }); } diff --git a/Project-Aurora/Project-Aurora/Controls/Control_AnimationEditor.xaml b/Project-Aurora/Project-Aurora/Controls/Control_AnimationEditor.xaml index 3f9a01541..37ff25097 100644 --- a/Project-Aurora/Project-Aurora/Controls/Control_AnimationEditor.xaml +++ b/Project-Aurora/Project-Aurora/Controls/Control_AnimationEditor.xaml @@ -4,6 +4,7 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:Aurora.Controls" + xmlns:DeviceLayout="clr-namespace:Aurora.Settings.DeviceLayoutViewer" mc:Ignorable="d" d:DesignHeight="414" d:DesignWidth="535" Loaded="UserControl_Loaded" PreviewKeyDown="UserControl_PreviewKeyDown"> @@ -11,20 +12,14 @@ - - - - - - - - - - - - - - + + + + + + + + diff --git a/Project-Aurora/Project-Aurora/Controls/Control_AnimationEditor.xaml.cs b/Project-Aurora/Project-Aurora/Controls/Control_AnimationEditor.xaml.cs index aa69a1fa9..0a1413b84 100644 --- a/Project-Aurora/Project-Aurora/Controls/Control_AnimationEditor.xaml.cs +++ b/Project-Aurora/Project-Aurora/Controls/Control_AnimationEditor.xaml.cs @@ -1,5 +1,6 @@ using Aurora.Devices; using Aurora.EffectsEngine.Animations; +using Aurora.Settings; using System; using System.Collections.Generic; using System.ComponentModel; @@ -57,55 +58,25 @@ public Control_AnimationEditor() { InitializeComponent(); - UpdateVirtualKeyboard(); - - Global.kbLayout.KeyboardLayoutUpdated += KbLayout_KeyboardLayoutUpdated; - } - - private void KbLayout_KeyboardLayoutUpdated(object sender) - { - UpdateVirtualKeyboard(); } private void UserControl_Loaded(object sender, RoutedEventArgs e) { - } - - private void UpdateVirtualKeyboard() - { - Grid virtial_kb = Global.kbLayout.AbstractVirtualKeyboard; - - keyboard_grid.Children.Clear(); - keyboard_grid.Children.Add(virtial_kb); - keyboard_grid.Children.Add(new LayerEditor()); - - keyboard_grid.Width = virtial_kb.Width; - keyboard_grid.Height = virtial_kb.Height; - - keyboard_grid.UpdateLayout(); - - viewbxAnimationView.MaxWidth = virtial_kb.Width + 50; - viewbxAnimationView.MaxHeight = virtial_kb.Height + 50; - viewbxAnimationView.UpdateLayout(); - - this.UpdateLayout(); - - //Generate a new mapping - foreach (FrameworkElement Child in virtial_kb.Children) + foreach (Settings.DeviceLayoutViewer.Control_Keycap key in deviceLayerPresenter.Keycaps) { - if (Child is Settings.Keycaps.IKeycap && (Child as Settings.Keycaps.IKeycap).GetKey() != DeviceKeys.NONE) + if (key.GetKey() != DeviceKeys.NONE) { - Child.PreviewMouseLeftButtonDown += KeyboardKey_PreviewMouseLeftButtonDown; - Child.PreviewMouseRightButtonDown += KeyboardKey_PreviewMouseRightButtonDown; + key.PreviewMouseLeftButtonDown += KeyboardKey_PreviewMouseLeftButtonDown; + key.PreviewMouseRightButtonDown += KeyboardKey_PreviewMouseRightButtonDown; } } } private void KeyboardKey_PreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e) { - if (_selectedFrameItem != null && (_selectedFrameItem as Control_AnimationFrameItem).ContextFrame is AnimationManualColorFrame && sender is Settings.Keycaps.IKeycap) + if (_selectedFrameItem != null && (_selectedFrameItem as Control_AnimationFrameItem).ContextFrame is AnimationManualColorFrame && sender is Settings.DeviceLayoutViewer.Keycaps.KeycapViewer keycapViewer) { - SetKeyColor((sender as Settings.Keycaps.IKeycap).GetKey(), _PrimaryManualColor); + SetKeyColor(keycapViewer.GetKey(), _PrimaryManualColor); this.animMixer.UpdatePlaybackTime(); } @@ -113,15 +84,15 @@ private void KeyboardKey_PreviewMouseLeftButtonDown(object sender, MouseButtonEv private void KeyboardKey_PreviewMouseRightButtonDown(object sender, MouseButtonEventArgs e) { - if (_selectedFrameItem != null && (_selectedFrameItem as Control_AnimationFrameItem).ContextFrame is AnimationManualColorFrame && sender is Settings.Keycaps.IKeycap) + if (_selectedFrameItem != null && (_selectedFrameItem as Control_AnimationFrameItem).ContextFrame is AnimationManualColorFrame && sender is Settings.DeviceLayoutViewer.Keycaps.KeycapViewer keycapViewer) { - SetKeyColor((sender as Settings.Keycaps.IKeycap).GetKey(), _SecondaryManualColor); + SetKeyColor(keycapViewer.GetKey(), _SecondaryManualColor); this.animMixer.UpdatePlaybackTime(); } } - private void SetKeyColor(DeviceKeys key, System.Drawing.Color color) + private void SetKeyColor(DeviceKey key, System.Drawing.Color color) { if (_selectedFrameItem != null && (_selectedFrameItem as Control_AnimationFrameItem).ContextFrame is AnimationManualColorFrame) { @@ -443,7 +414,7 @@ private void BtnClearColors_Click(object sender, RoutedEventArgs e) { AnimationManualColorFrame frame = ((_selectedFrameItem as Control_AnimationFrameItem).ContextFrame as AnimationManualColorFrame); - frame.SetBitmapColors(new Dictionary()); + frame.SetBitmapColors(new Dictionary()); this.animMixer.UpdatePlaybackTime(); } diff --git a/Project-Aurora/Project-Aurora/Controls/EditorResources/ResizeDecorator.xaml b/Project-Aurora/Project-Aurora/Controls/EditorResources/ResizeDecorator.xaml index 05e2d7309..39ecdc79f 100644 --- a/Project-Aurora/Project-Aurora/Controls/EditorResources/ResizeDecorator.xaml +++ b/Project-Aurora/Project-Aurora/Controls/EditorResources/ResizeDecorator.xaml @@ -3,24 +3,26 @@ xmlns:s="clr-namespace:Aurora.Controls.EditorResources"> + - - - - - - - - + + + + + + + + + \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/Controls/EditorResources/RotateDecorator.xaml b/Project-Aurora/Project-Aurora/Controls/EditorResources/RotateDecorator.xaml index 9f0bee33e..ead7cd844 100644 --- a/Project-Aurora/Project-Aurora/Controls/EditorResources/RotateDecorator.xaml +++ b/Project-Aurora/Project-Aurora/Controls/EditorResources/RotateDecorator.xaml @@ -22,18 +22,18 @@ - - + + - + - + diff --git a/Project-Aurora/Project-Aurora/Controls/KeySequence.xaml b/Project-Aurora/Project-Aurora/Controls/KeySequence.xaml index 7fb9bb7de..0ca0b0687 100644 --- a/Project-Aurora/Project-Aurora/Controls/KeySequence.xaml +++ b/Project-Aurora/Project-Aurora/Controls/KeySequence.xaml @@ -3,20 +3,15 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" - xmlns:EnumValueConverters="clr-namespace:Aurora.Utils" mc:Ignorable="d" MinWidth="230" MinHeight="111" Loaded="UserControl_Loaded" Unloaded="UserControl_Unloaded" IsEnabledChanged="UserControl_IsEnabledChanged" IsVisibleChanged="UserControl_IsVisibleChanged"> - - - - - - - - + + + + diff --git a/Project-Aurora/Project-Aurora/Controls/KeySequence.xaml.cs b/Project-Aurora/Project-Aurora/Controls/KeySequence.xaml.cs index d4bd8b644..d8b3641d9 100644 --- a/Project-Aurora/Project-Aurora/Controls/KeySequence.xaml.cs +++ b/Project-Aurora/Project-Aurora/Controls/KeySequence.xaml.cs @@ -1,4 +1,5 @@ -using System; +using Aurora.Settings; +using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; @@ -40,7 +41,7 @@ public string RecordingTag } } - public List List + public List List { get { @@ -53,7 +54,8 @@ public List List { if (Sequence == null) Sequence = new Settings.KeySequence(value.ToArray()); - else { + else + { Sequence.keys = value; } SequenceKeysChange?.Invoke(this, new EventArgs()); @@ -65,14 +67,17 @@ public List List [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)] public static readonly DependencyProperty SequenceProperty = DependencyProperty.Register("Sequence", typeof(Settings.KeySequence), typeof(UserControl), new PropertyMetadata(new Settings.KeySequence(), SequencePropertyChanged)); - public Settings.KeySequence Sequence { + public Settings.KeySequence Sequence + { get => (Settings.KeySequence)GetValue(SequenceProperty); set => SetValue(SequenceProperty, value); } - private static void SequencePropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e) { + private static void SequencePropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e) + { var source = (KeySequence)sender; - if (!(e.NewValue is Settings.KeySequence@new)) { + if (!(e.NewValue is Settings.KeySequence @new)) + { source.Sequence = new Settings.KeySequence(); return; } @@ -85,7 +90,8 @@ private static void SequencePropertyChanged(DependencyObject sender, DependencyP source.sequence_updateToLayerEditor(); // Manually update the keysequence list. Gross - if (source.allowListRefresh) { + if (source.allowListRefresh) + { source.keys_keysequence.Items.Clear(); foreach (var key in @new.keys) source.keys_keysequence.Items.Add(key); @@ -116,13 +122,14 @@ public bool FreestyleEnabled this.sequence_freestyle_checkbox.IsEnabled = value; this.sequence_freestyle_checkbox.ToolTip = (value ? null : "Freestyle has been disabled."); - + } } #region ShowOnCanvas property // Drawn freeform object bounds will only appear if this is true. - public bool ShowOnCanvas { + public bool ShowOnCanvas + { get => (bool)GetValue(ShowOnCanvasProperty); set => SetValue(ShowOnCanvasProperty, value); } @@ -214,7 +221,7 @@ private void RecordKeySequence(string whoisrecording, Button button, ListBox seq button.Content = "Assign Keys"; - Devices.DeviceKeys[] recorded_keys = Global.key_recorder.GetKeys(); + DeviceKey[] recorded_keys = Global.key_recorder.GetKeys(); if (sequence_listbox.SelectedIndex > 0 && sequence_listbox.SelectedIndex < (sequence_listbox.Items.Count - 1)) { @@ -276,7 +283,7 @@ public void sequence_updateToLayerEditor() private void freeform_updated(Settings.FreeFormObject newfreeform) { - if(newfreeform != null) + if (newfreeform != null) { Sequence.freeform = newfreeform; @@ -309,7 +316,7 @@ private void UserControl_Unloaded(object sender, RoutedEventArgs e) private void UserControl_IsEnabledChanged(object sender, DependencyPropertyChangedEventArgs e) { - if(e.NewValue is bool) + if (e.NewValue is bool) { this.keys_keysequence.IsEnabled = (bool)e.NewValue; this.sequence_record.IsEnabled = (bool)e.NewValue; @@ -328,7 +335,7 @@ private void UserControl_IsEnabledChanged(object sender, DependencyPropertyChang private void keys_keysequence_SelectionChanged(object sender, SelectionChangedEventArgs e) { - if(keys_keysequence.SelectedItems.Count <= 1) + if (keys_keysequence.SelectedItems.Count <= 1) { this.sequence_up.IsEnabled = IsEnabled && true; this.sequence_down.IsEnabled = IsEnabled && true; @@ -361,7 +368,7 @@ private void UserControl_IsVisibleChanged(object sender, DependencyPropertyChang else sequence_removeFromLayerEditor(); } - + } } -} +} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/Controls/LayerEditor.xaml b/Project-Aurora/Project-Aurora/Controls/LayerEditor.xaml index fb8c7c075..d60ecab43 100644 --- a/Project-Aurora/Project-Aurora/Controls/LayerEditor.xaml +++ b/Project-Aurora/Project-Aurora/Controls/LayerEditor.xaml @@ -12,7 +12,4 @@ - - - diff --git a/Project-Aurora/Project-Aurora/Controls/LayerEditor.xaml.cs b/Project-Aurora/Project-Aurora/Controls/LayerEditor.xaml.cs index 1752ea900..108624140 100644 --- a/Project-Aurora/Project-Aurora/Controls/LayerEditor.xaml.cs +++ b/Project-Aurora/Project-Aurora/Controls/LayerEditor.xaml.cs @@ -16,16 +16,16 @@ public partial class LayerEditor : UserControl { //static FreeFormObject activeLayer = new FreeFormObject(); - private static Canvas static_canvas = new Canvas(); + private static Canvas static_canvas; private static Style style = new Style(); //public static event EventHandler SequenceUpdated; - public LayerEditor() + public LayerEditor(Canvas editorCanvas) { InitializeComponent(); - static_canvas = editor_canvas; + static_canvas = editorCanvas; style = this.FindResource("DesignerItemStyle") as Style; } diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Asus_Pugio.psd b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Asus_Pugio.psd similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Asus_Pugio.psd rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Asus_Pugio.psd diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Asus_Pugio_backlights.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Asus_Pugio_backlights.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Asus_Pugio_backlights.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Asus_Pugio_backlights.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Asus_Pugio_body.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Asus_Pugio_body.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Asus_Pugio_body.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Asus_Pugio_body.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Asus_Pugio_logo.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Asus_Pugio_logo.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Asus_Pugio_logo.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Asus_Pugio_logo.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Asus_Pugio_wheel.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Asus_Pugio_wheel.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Asus_Pugio_wheel.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Asus_Pugio_wheel.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Asus_logo.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Asus_logo.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Asus_logo.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Asus_logo.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Corsair_Katar.psd b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Corsair_Katar.psd similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Corsair_Katar.psd rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Corsair_Katar.psd diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Corsair_Katar_logo.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Corsair_Katar_logo.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Corsair_Katar_logo.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Corsair_Katar_logo.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Corsair_Katar_outline.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Corsair_Katar_outline.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Corsair_Katar_outline.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Corsair_Katar_outline.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Corsair_M65.psd b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Corsair_M65.psd similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Corsair_M65.psd rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Corsair_M65.psd diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Corsair_M65_logo.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Corsair_M65_logo.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Corsair_M65_logo.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Corsair_M65_logo.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Corsair_M65_outline.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Corsair_M65_outline.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Corsair_M65_outline.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Corsair_M65_outline.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Corsair_M65_scrollwheel.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Corsair_M65_scrollwheel.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Corsair_M65_scrollwheel.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Corsair_M65_scrollwheel.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Corsair_logo.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Corsair_logo.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Corsair_logo.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Corsair_logo.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Corsair_strafe_logo.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Corsair_strafe_logo.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Corsair_strafe_logo.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Corsair_strafe_logo.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Corsair_strafe_mk2_logo.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Corsair_strafe_mk2_logo.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Corsair_strafe_mk2_logo.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Corsair_strafe_mk2_logo.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Logi_G502.pdn b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Logi_G502.pdn similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Logi_G502.pdn rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Logi_G502.pdn diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Logi_G502_dpi.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Logi_G502_dpi.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Logi_G502_dpi.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Logi_G502_dpi.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Logi_G502_logo.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Logi_G502_logo.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Logi_G502_logo.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Logi_G502_logo.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Logi_G502_outline.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Logi_G502_outline.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Logi_G502_outline.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Logi_G502_outline.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Logi_G810.psd b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Logi_G810.psd similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Logi_G810.psd rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Logi_G810.psd diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Logi_G810_logo.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Logi_G810_logo.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Logi_G810_logo.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Logi_G810_logo.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Logi_G900.psd b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Logi_G900.psd similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Logi_G900.psd rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Logi_G900.psd diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Logi_G900_logo.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Logi_G900_logo.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Logi_G900_logo.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Logi_G900_logo.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Logi_G900_outline.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Logi_G900_outline.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Logi_G900_outline.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Logi_G900_outline.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Logi_G910_badge.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Logi_G910_badge.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Logi_G910_badge.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Logi_G910_badge.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Logi_G910_logo.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Logi_G910_logo.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Logi_G910_logo.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Logi_G910_logo.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Logi_g900_dpi.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Logi_g900_dpi.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Logi_g900_dpi.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Logi_g900_dpi.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Omen_logo.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Omen_logo.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Omen_logo.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Omen_logo.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Omen_logo.psd b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Omen_logo.psd similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Omen_logo.psd rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Omen_logo.psd diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Omen_zone_0.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Omen_zone_0.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Omen_zone_0.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Omen_zone_0.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Omen_zone_1.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Omen_zone_1.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Omen_zone_1.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Omen_zone_1.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Omen_zone_2.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Omen_zone_2.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Omen_zone_2.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Omen_zone_2.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Omen_zone_3.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Omen_zone_3.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Omen_zone_3.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Omen_zone_3.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Razer_Mamba_TE.psd b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Razer_Mamba_TE.psd similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Razer_Mamba_TE.psd rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Razer_Mamba_TE.psd diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Razer_Mamba_TE_L1.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Razer_Mamba_TE_L1.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Razer_Mamba_TE_L1.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Razer_Mamba_TE_L1.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Razer_Mamba_TE_L2.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Razer_Mamba_TE_L2.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Razer_Mamba_TE_L2.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Razer_Mamba_TE_L2.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Razer_Mamba_TE_L3.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Razer_Mamba_TE_L3.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Razer_Mamba_TE_L3.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Razer_Mamba_TE_L3.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Razer_Mamba_TE_L4.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Razer_Mamba_TE_L4.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Razer_Mamba_TE_L4.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Razer_Mamba_TE_L4.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Razer_Mamba_TE_L5.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Razer_Mamba_TE_L5.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Razer_Mamba_TE_L5.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Razer_Mamba_TE_L5.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Razer_Mamba_TE_L6.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Razer_Mamba_TE_L6.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Razer_Mamba_TE_L6.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Razer_Mamba_TE_L6.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Razer_Mamba_TE_L7.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Razer_Mamba_TE_L7.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Razer_Mamba_TE_L7.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Razer_Mamba_TE_L7.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Razer_Mamba_TE_Logo.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Razer_Mamba_TE_Logo.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Razer_Mamba_TE_Logo.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Razer_Mamba_TE_Logo.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Razer_Mamba_TE_R1.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Razer_Mamba_TE_R1.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Razer_Mamba_TE_R1.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Razer_Mamba_TE_R1.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Razer_Mamba_TE_R2.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Razer_Mamba_TE_R2.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Razer_Mamba_TE_R2.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Razer_Mamba_TE_R2.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Razer_Mamba_TE_R3.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Razer_Mamba_TE_R3.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Razer_Mamba_TE_R3.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Razer_Mamba_TE_R3.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Razer_Mamba_TE_R4.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Razer_Mamba_TE_R4.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Razer_Mamba_TE_R4.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Razer_Mamba_TE_R4.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Razer_Mamba_TE_R5.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Razer_Mamba_TE_R5.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Razer_Mamba_TE_R5.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Razer_Mamba_TE_R5.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Razer_Mamba_TE_R6.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Razer_Mamba_TE_R6.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Razer_Mamba_TE_R6.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Razer_Mamba_TE_R6.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Razer_Mamba_TE_R7.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Razer_Mamba_TE_R7.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Razer_Mamba_TE_R7.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Razer_Mamba_TE_R7.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Razer_Mamba_TE_Scroll_Wheel.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Razer_Mamba_TE_Scroll_Wheel.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Razer_Mamba_TE_Scroll_Wheel.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Razer_Mamba_TE_Scroll_Wheel.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Razer_Mamba_TE_outline.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Razer_Mamba_TE_outline.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Razer_Mamba_TE_outline.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Razer_Mamba_TE_outline.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Razer_logo.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Razer_logo.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Razer_logo.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Razer_logo.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Razer_logo.psd b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Razer_logo.psd similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Razer_logo.psd rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Razer_logo.psd diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Roccat_Kone_Pure_logo.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Roccat_Kone_Pure_logo.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Roccat_Kone_Pure_logo.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Roccat_Kone_Pure_logo.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Roccat_Kone_Pure_outline.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Roccat_Kone_Pure_outline.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Roccat_Kone_Pure_outline.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Roccat_Kone_Pure_outline.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Sabre.psd b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Sabre.psd similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Sabre.psd rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Sabre.psd diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Sabre_front_lights.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Sabre_front_lights.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Sabre_front_lights.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Sabre_front_lights.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Sabre_outline.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Sabre_outline.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Sabre_outline.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Sabre_outline.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Sabre_scrollwheel.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/Sabre_scrollwheel.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/Sabre_scrollwheel.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/Sabre_scrollwheel.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/SoundBlasterX_logo.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/SoundBlasterX_logo.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/SoundBlasterX_logo.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/SoundBlasterX_logo.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/SteelSeries_Apex_logo.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/SteelSeries_Apex_logo.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/SteelSeries_Apex_logo.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/SteelSeries_Apex_logo.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/SteelSeries_Rival_300_logo.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/SteelSeries_Rival_300_logo.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/SteelSeries_Rival_300_logo.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/SteelSeries_Rival_300_logo.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/SteelSeries_Rival_300_logo.psd b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/SteelSeries_Rival_300_logo.psd similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/SteelSeries_Rival_300_logo.psd rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/SteelSeries_Rival_300_logo.psd diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/SteelSeries_Rival_300_outline.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/SteelSeries_Rival_300_outline.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/SteelSeries_Rival_300_outline.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/SteelSeries_Rival_300_outline.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/SteelSeries_Rival_300_outline.psd b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/SteelSeries_Rival_300_outline.psd similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/SteelSeries_Rival_300_outline.psd rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/SteelSeries_Rival_300_outline.psd diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/SteelSeries_Rival_300_scrollwheel.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/SteelSeries_Rival_300_scrollwheel.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/SteelSeries_Rival_300_scrollwheel.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/SteelSeries_Rival_300_scrollwheel.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/SteelSeries_Rival_300_scrollwheel.psd b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/SteelSeries_Rival_300_scrollwheel.psd similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/SteelSeries_Rival_300_scrollwheel.psd rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/SteelSeries_Rival_300_scrollwheel.psd diff --git a/Project-Aurora/Project-Aurora/DeviceLayouts/Images/SteelSeries_Rival_650_L1.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/SteelSeries_Rival_650_L1.png new file mode 100644 index 000000000..ac4dfc79a Binary files /dev/null and b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/SteelSeries_Rival_650_L1.png differ diff --git a/Project-Aurora/Project-Aurora/DeviceLayouts/Images/SteelSeries_Rival_650_L2.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/SteelSeries_Rival_650_L2.png new file mode 100644 index 000000000..8853ce875 Binary files /dev/null and b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/SteelSeries_Rival_650_L2.png differ diff --git a/Project-Aurora/Project-Aurora/DeviceLayouts/Images/SteelSeries_Rival_650_L3.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/SteelSeries_Rival_650_L3.png new file mode 100644 index 000000000..539900b88 Binary files /dev/null and b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/SteelSeries_Rival_650_L3.png differ diff --git a/Project-Aurora/Project-Aurora/DeviceLayouts/Images/SteelSeries_Rival_650_R1.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/SteelSeries_Rival_650_R1.png new file mode 100644 index 000000000..d26fb1841 Binary files /dev/null and b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/SteelSeries_Rival_650_R1.png differ diff --git a/Project-Aurora/Project-Aurora/DeviceLayouts/Images/SteelSeries_Rival_650_R2.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/SteelSeries_Rival_650_R2.png new file mode 100644 index 000000000..24a889721 Binary files /dev/null and b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/SteelSeries_Rival_650_R2.png differ diff --git a/Project-Aurora/Project-Aurora/DeviceLayouts/Images/SteelSeries_Rival_650_R3.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/SteelSeries_Rival_650_R3.png new file mode 100644 index 000000000..cd8a2edc4 Binary files /dev/null and b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/SteelSeries_Rival_650_R3.png differ diff --git a/Project-Aurora/Project-Aurora/DeviceLayouts/Images/SteelSeries_Rival_650_outline.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/SteelSeries_Rival_650_outline.png new file mode 100644 index 000000000..57ac12af7 Binary files /dev/null and b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/SteelSeries_Rival_650_outline.png differ diff --git a/Project-Aurora/Project-Aurora/DeviceLayouts/Images/SteelSeries_Rival_650_wheel.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/SteelSeries_Rival_650_wheel.png new file mode 100644 index 000000000..3a9bde1fc Binary files /dev/null and b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/SteelSeries_Rival_650_wheel.png differ diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/omen_outpost_outline.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/omen_outpost_outline.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/omen_outpost_outline.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/omen_outpost_outline.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/omen_outpost_plus_photon_outline.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/omen_outpost_plus_photon_outline.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/omen_outpost_plus_photon_outline.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/omen_outpost_plus_photon_outline.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/omen_photon_outline.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/omen_photon_outline.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/omen_photon_outline.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/omen_photon_outline.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/omen_photon_scrollwheel.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/omen_photon_scrollwheel.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/omen_photon_scrollwheel.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/omen_photon_scrollwheel.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/omen_sequencer_logo.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/omen_sequencer_logo.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/omen_sequencer_logo.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/omen_sequencer_logo.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/omen_vector_essentials_outline.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/omen_vector_essentials_outline.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/omen_vector_essentials_outline.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/omen_vector_essentials_outline.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/omen_vector_logo.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/omen_vector_logo.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/omen_vector_logo.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/omen_vector_logo.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/omen_vector_outline.png b/Project-Aurora/Project-Aurora/DeviceLayouts/Images/omen_vector_outline.png similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/images/omen_vector_outline.png rename to Project-Aurora/Project-Aurora/DeviceLayouts/Images/omen_vector_outline.png diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/asus_strix_flare_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/asus_strix_flare_features.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/asus_strix_flare_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/asus_strix_flare_features.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/cooler_master_sk650_bottom_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/cooler_master_sk650_bottom_features.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/cooler_master_sk650_bottom_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/cooler_master_sk650_bottom_features.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/cooler_master_sk650_left_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/cooler_master_sk650_left_features.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/cooler_master_sk650_left_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/cooler_master_sk650_left_features.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/cooler_master_sk650_right_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/cooler_master_sk650_right_features.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/cooler_master_sk650_right_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/cooler_master_sk650_right_features.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/cooler_master_sk650_top_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/cooler_master_sk650_top_features.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/cooler_master_sk650_top_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/cooler_master_sk650_top_features.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/corsair_k65_right_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/corsair_k65_right_features.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/corsair_k65_right_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/corsair_k65_right_features.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/corsair_k68_right_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/corsair_k68_right_features.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/corsair_k68_right_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/corsair_k68_right_features.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/corsair_k70_mk2_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/corsair_k70_mk2_features.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/corsair_k70_mk2_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/corsair_k70_mk2_features.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/corsair_k95_left_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/corsair_k95_left_features.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/corsair_k95_left_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/corsair_k95_left_features.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/corsair_k95_right_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/corsair_k95_right_features.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/corsair_k95_right_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/corsair_k95_right_features.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/corsair_strafe_left_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/corsair_strafe_left_features.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/corsair_strafe_left_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/corsair_strafe_left_features.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/corsair_strafe_mk2_left_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/corsair_strafe_mk2_left_features.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/corsair_strafe_mk2_left_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/corsair_strafe_mk2_left_features.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/corsair_strafe_mk2_right_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/corsair_strafe_mk2_right_features.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/corsair_strafe_mk2_right_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/corsair_strafe_mk2_right_features.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/corsair_strafe_right_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/corsair_strafe_right_features.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/corsair_strafe_right_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/corsair_strafe_right_features.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/drevo_blademaster_left_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/drevo_blademaster_left_features.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/drevo_blademaster_left_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/drevo_blademaster_left_features.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/ducky_shine_7_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/ducky_shine_7_features.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/ducky_shine_7_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/ducky_shine_7_features.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/hyperx_alloy_elite_rgb_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/hyperx_alloy_elite_rgb_features.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/hyperx_alloy_elite_rgb_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/hyperx_alloy_elite_rgb_features.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/logitech_gpro_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/logitech_g810_features.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/logitech_gpro_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/logitech_g810_features.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/logitech_g815_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/logitech_g815_features.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/logitech_g815_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/logitech_g815_features.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/logitech_g910_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/logitech_g910_features.json similarity index 95% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/logitech_g910_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/logitech_g910_features.json index a41d1fadd..6cae013ca 100644 --- a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/logitech_g910_features.json +++ b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/logitech_g910_features.json @@ -1,157 +1,157 @@ -{ - "group_tag": "keyboard", - "origin_region": 1, - "grouped_keys": [ - { - "visualName": "G6", - "tag": 113, - "margin_left": 62.0, - "margin_top": -37.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 5, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "G7", - "tag": 114, - "margin_left": 99.0, - "margin_top": -37.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 8, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "G8", - "tag": 115, - "margin_left": 136.0, - "margin_top": -37.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 11, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "G9", - "tag": 116, - "margin_left": 173.0, - "margin_top": -37.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 14, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "LOGO", - "tag": 128, - "margin_left": -45.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": -4, - "margin_top_bits": 0, - "image": "Logi_G910_logo.png", - "enabled": true, - "absolute_location": true - }, - { - "visualName": "G1", - "tag": 108, - "margin_left": -45.0, - "margin_top": 37.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": -4, - "margin_top_bits": 3, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "G2", - "tag": 109, - "margin_left": -45.0, - "margin_top": 74.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": -4, - "margin_top_bits": 6, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "G3", - "tag": 110, - "margin_left": -45.0, - "margin_top": 111.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": -4, - "margin_top_bits": 9, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "G4", - "tag": 111, - "margin_left": -45.0, - "margin_top": 148.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": -4, - "margin_top_bits": 12, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "G5", - "tag": 112, - "margin_left": -45.0, - "margin_top": 185.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": -4, - "margin_top_bits": 15, - "enabled": true, - "absolute_location": true - } - ] +{ + "group_tag": "keyboard", + "origin_region": 1, + "grouped_keys": [ + { + "visualName": "G6", + "tag": 113, + "margin_left": 62.0, + "margin_top": -37.0, + "width": 30.0, + "height": 30.0, + "font_size": 12.0, + "width_bits": 3, + "height_bits": 3, + "margin_left_bits": 5, + "margin_top_bits": -3, + "enabled": true, + "absolute_location": true + }, + { + "visualName": "G7", + "tag": 114, + "margin_left": 99.0, + "margin_top": -37.0, + "width": 30.0, + "height": 30.0, + "font_size": 12.0, + "width_bits": 3, + "height_bits": 3, + "margin_left_bits": 8, + "margin_top_bits": -3, + "enabled": true, + "absolute_location": true + }, + { + "visualName": "G8", + "tag": 115, + "margin_left": 136.0, + "margin_top": -37.0, + "width": 30.0, + "height": 30.0, + "font_size": 12.0, + "width_bits": 3, + "height_bits": 3, + "margin_left_bits": 11, + "margin_top_bits": -3, + "enabled": true, + "absolute_location": true + }, + { + "visualName": "G9", + "tag": 116, + "margin_left": 173.0, + "margin_top": -37.0, + "width": 30.0, + "height": 30.0, + "font_size": 12.0, + "width_bits": 3, + "height_bits": 3, + "margin_left_bits": 14, + "margin_top_bits": -3, + "enabled": true, + "absolute_location": true + }, + { + "visualName": "LOGO", + "tag": 128, + "margin_left": -45.0, + "margin_top": 0.0, + "width": 30.0, + "height": 30.0, + "font_size": 9.0, + "width_bits": 3, + "height_bits": 3, + "margin_left_bits": -4, + "margin_top_bits": 0, + "image": "Logi_G910_logo.png", + "enabled": true, + "absolute_location": true + }, + { + "visualName": "G1", + "tag": 108, + "margin_left": -45.0, + "margin_top": 37.0, + "width": 30.0, + "height": 30.0, + "font_size": 12.0, + "width_bits": 3, + "height_bits": 3, + "margin_left_bits": -4, + "margin_top_bits": 3, + "enabled": true, + "absolute_location": true + }, + { + "visualName": "G2", + "tag": 109, + "margin_left": -45.0, + "margin_top": 74.0, + "width": 30.0, + "height": 30.0, + "font_size": 12.0, + "width_bits": 3, + "height_bits": 3, + "margin_left_bits": -4, + "margin_top_bits": 6, + "enabled": true, + "absolute_location": true + }, + { + "visualName": "G3", + "tag": 110, + "margin_left": -45.0, + "margin_top": 111.0, + "width": 30.0, + "height": 30.0, + "font_size": 12.0, + "width_bits": 3, + "height_bits": 3, + "margin_left_bits": -4, + "margin_top_bits": 9, + "enabled": true, + "absolute_location": true + }, + { + "visualName": "G4", + "tag": 111, + "margin_left": -45.0, + "margin_top": 148.0, + "width": 30.0, + "height": 30.0, + "font_size": 12.0, + "width_bits": 3, + "height_bits": 3, + "margin_left_bits": -4, + "margin_top_bits": 12, + "enabled": true, + "absolute_location": true + }, + { + "visualName": "G5", + "tag": 112, + "margin_left": -45.0, + "margin_top": 185.0, + "width": 30.0, + "height": 30.0, + "font_size": 12.0, + "width_bits": 3, + "height_bits": 3, + "margin_left_bits": -4, + "margin_top_bits": 15, + "enabled": true, + "absolute_location": true + } + ] } \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/logitech_g910_left_bottom_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/logitech_g910_left_bottom_features.json similarity index 95% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/logitech_g910_left_bottom_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/logitech_g910_left_bottom_features.json index 2d5ac5530..4b3b6c013 100644 --- a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/logitech_g910_left_bottom_features.json +++ b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/logitech_g910_left_bottom_features.json @@ -1,22 +1,22 @@ -{ - "group_tag": "keyboard", - "origin_region": 3, - "grouped_keys": [ - { - "visualName": "BADGE", - "tag": 129, - "margin_left": 92.5, - "margin_top": 0.0, - "width": 79.0, - "height": 10.0, - "font_size": 9.0, - "width_bits": 8, - "height_bits": 1, - "margin_left_bits": 8, - "margin_top_bits": 0, - "image": "Logi_G910_badge.png", - "enabled": true, - "absolute_location": true - } - ] +{ + "group_tag": "keyboard", + "origin_region": 3, + "grouped_keys": [ + { + "visualName": "BADGE", + "tag": 129, + "margin_left": 92.5, + "margin_top": 0.0, + "width": 79.0, + "height": 10.0, + "font_size": 9.0, + "width_bits": 8, + "height_bits": 1, + "margin_left_bits": 8, + "margin_top_bits": 0, + "image": "Logi_G910_badge.png", + "enabled": true, + "absolute_location": true + } + ] } \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/logitech_g810_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/logitech_gpro_features.json similarity index 95% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/logitech_g810_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/logitech_gpro_features.json index a0436cbaf..50e607a25 100644 --- a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/logitech_g810_features.json +++ b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/logitech_gpro_features.json @@ -1,22 +1,22 @@ -{ - "group_tag": "keyboard", - "origin_region": 1, - "grouped_keys": [ - { - "visualName": "LOGO", - "tag": 128, - "margin_left": 0.0, - "margin_top": -37.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": -3, - "image": "Logi_G810_logo.png", - "enabled": true, - "absolute_location": true - }, - ] +{ + "group_tag": "keyboard", + "origin_region": 1, + "grouped_keys": [ + { + "visualName": "LOGO", + "tag": 128, + "margin_left": 0.0, + "margin_top": -37.0, + "width": 30.0, + "height": 30.0, + "font_size": 9.0, + "width_bits": 3, + "height_bits": 3, + "margin_left_bits": 0, + "margin_top_bits": -3, + "image": "Logi_G810_logo.png", + "enabled": true, + "absolute_location": true + }, + ] } \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/masterkeys_mk730_bottom_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/masterkeys_mk730_bottom_features.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/masterkeys_mk730_bottom_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/masterkeys_mk730_bottom_features.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/masterkeys_mk730_left_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/masterkeys_mk730_left_features.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/masterkeys_mk730_left_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/masterkeys_mk730_left_features.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/masterkeys_mk730_right_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/masterkeys_mk730_right_features.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/masterkeys_mk730_right_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/masterkeys_mk730_right_features.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/masterkeys_mk750_bottom_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/masterkeys_mk750_bottom_features.json old mode 100755 new mode 100644 similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/masterkeys_mk750_bottom_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/masterkeys_mk750_bottom_features.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/masterkeys_mk750_left_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/masterkeys_mk750_left_features.json old mode 100755 new mode 100644 similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/masterkeys_mk750_left_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/masterkeys_mk750_left_features.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/masterkeys_mk750_right_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/masterkeys_mk750_right_features.json old mode 100755 new mode 100644 similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/masterkeys_mk750_right_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/masterkeys_mk750_right_features.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/masterkeys_pro_l_right_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/masterkeys_pro_l_right_features.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/masterkeys_pro_l_right_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/masterkeys_pro_l_right_features.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/masterkeys_pro_m_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/masterkeys_pro_m_features.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/masterkeys_pro_m_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/masterkeys_pro_m_features.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/omen_four_zone_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/omen_four_zone_features.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/omen_four_zone_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/omen_four_zone_features.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/omen_outpost_plus_photon_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/omen_outpost_plus_photon_features.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/omen_outpost_plus_photon_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/omen_outpost_plus_photon_features.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/omen_photon_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/omen_photon_features.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/omen_photon_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/omen_photon_features.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/omen_sequencer_bottom_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/omen_sequencer_bottom_features.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/omen_sequencer_bottom_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/omen_sequencer_bottom_features.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/omen_sequencer_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/omen_sequencer_features.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/omen_sequencer_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/omen_sequencer_features.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/omen_sequencer_right_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/omen_sequencer_right_features.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/omen_sequencer_right_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/omen_sequencer_right_features.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/omen_vector_essentials_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/omen_vector_essentials_features.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/omen_vector_essentials_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/omen_vector_essentials_features.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/omen_vector_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/omen_vector_features.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/omen_vector_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/omen_vector_features.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/razer_blackwidow_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/razer_blackwidow_features.json similarity index 95% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/razer_blackwidow_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/razer_blackwidow_features.json index 8709abd7a..c46bad3b3 100644 --- a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/razer_blackwidow_features.json +++ b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/razer_blackwidow_features.json @@ -1,81 +1,81 @@ -{ - "group_tag": "keyboard", - "origin_region": 1, - "grouped_keys": [ - { - "visualName": "M1", - "tag": 108, - "margin_left": -38.0, - "margin_top": 37.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": -4, - "margin_top_bits": 3, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "M2", - "tag": 109, - "margin_left": -38.0, - "margin_top": 74.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": -4, - "margin_top_bits": 6, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "M3", - "tag": 110, - "margin_left": -38.0, - "margin_top": 111.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": -4, - "margin_top_bits": 9, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "M4", - "tag": 111, - "margin_left": -38.0, - "margin_top": 148.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": -4, - "margin_top_bits": 12, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "M5", - "tag": 112, - "margin_left": -38.0, - "margin_top": 185.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": -4, - "margin_top_bits": 15, - "enabled": true, - "absolute_location": true - } - ] +{ + "group_tag": "keyboard", + "origin_region": 1, + "grouped_keys": [ + { + "visualName": "M1", + "tag": 108, + "margin_left": -38.0, + "margin_top": 37.0, + "width": 30.0, + "height": 30.0, + "font_size": 12.0, + "width_bits": 3, + "height_bits": 3, + "margin_left_bits": -4, + "margin_top_bits": 3, + "enabled": true, + "absolute_location": true + }, + { + "visualName": "M2", + "tag": 109, + "margin_left": -38.0, + "margin_top": 74.0, + "width": 30.0, + "height": 30.0, + "font_size": 12.0, + "width_bits": 3, + "height_bits": 3, + "margin_left_bits": -4, + "margin_top_bits": 6, + "enabled": true, + "absolute_location": true + }, + { + "visualName": "M3", + "tag": 110, + "margin_left": -38.0, + "margin_top": 111.0, + "width": 30.0, + "height": 30.0, + "font_size": 12.0, + "width_bits": 3, + "height_bits": 3, + "margin_left_bits": -4, + "margin_top_bits": 9, + "enabled": true, + "absolute_location": true + }, + { + "visualName": "M4", + "tag": 111, + "margin_left": -38.0, + "margin_top": 148.0, + "width": 30.0, + "height": 30.0, + "font_size": 12.0, + "width_bits": 3, + "height_bits": 3, + "margin_left_bits": -4, + "margin_top_bits": 12, + "enabled": true, + "absolute_location": true + }, + { + "visualName": "M5", + "tag": 112, + "margin_left": -38.0, + "margin_top": 185.0, + "width": 30.0, + "height": 30.0, + "font_size": 12.0, + "width_bits": 3, + "height_bits": 3, + "margin_left_bits": -4, + "margin_top_bits": 15, + "enabled": true, + "absolute_location": true + } + ] } \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/razer_blackwidow_left_bottom_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/razer_blackwidow_left_bottom_features.json similarity index 95% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/razer_blackwidow_left_bottom_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/razer_blackwidow_left_bottom_features.json index 581152de8..f156b475b 100644 --- a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/razer_blackwidow_left_bottom_features.json +++ b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/razer_blackwidow_left_bottom_features.json @@ -1,22 +1,22 @@ -{ - "group_tag": "keyboard", - "origin_region": 3, - "grouped_keys": [ - { - "visualName": "LOGO", - "tag": 128, - "margin_left": 395.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 32, - "margin_top_bits": 0, - "image": "Razer_logo.png", - "enabled": true, - "absolute_location": true - } - ] +{ + "group_tag": "keyboard", + "origin_region": 3, + "grouped_keys": [ + { + "visualName": "LOGO", + "tag": 128, + "margin_left": 395.0, + "margin_top": 0.0, + "width": 30.0, + "height": 30.0, + "font_size": 9.0, + "width_bits": 3, + "height_bits": 3, + "margin_left_bits": 32, + "margin_top_bits": 0, + "image": "Razer_logo.png", + "enabled": true, + "absolute_location": true + } + ] } \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/roccat_ryos_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/roccat_ryos_features.json similarity index 95% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/roccat_ryos_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/roccat_ryos_features.json index 8709abd7a..c46bad3b3 100644 --- a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/roccat_ryos_features.json +++ b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/roccat_ryos_features.json @@ -1,81 +1,81 @@ -{ - "group_tag": "keyboard", - "origin_region": 1, - "grouped_keys": [ - { - "visualName": "M1", - "tag": 108, - "margin_left": -38.0, - "margin_top": 37.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": -4, - "margin_top_bits": 3, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "M2", - "tag": 109, - "margin_left": -38.0, - "margin_top": 74.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": -4, - "margin_top_bits": 6, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "M3", - "tag": 110, - "margin_left": -38.0, - "margin_top": 111.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": -4, - "margin_top_bits": 9, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "M4", - "tag": 111, - "margin_left": -38.0, - "margin_top": 148.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": -4, - "margin_top_bits": 12, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "M5", - "tag": 112, - "margin_left": -38.0, - "margin_top": 185.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": -4, - "margin_top_bits": 15, - "enabled": true, - "absolute_location": true - } - ] +{ + "group_tag": "keyboard", + "origin_region": 1, + "grouped_keys": [ + { + "visualName": "M1", + "tag": 108, + "margin_left": -38.0, + "margin_top": 37.0, + "width": 30.0, + "height": 30.0, + "font_size": 12.0, + "width_bits": 3, + "height_bits": 3, + "margin_left_bits": -4, + "margin_top_bits": 3, + "enabled": true, + "absolute_location": true + }, + { + "visualName": "M2", + "tag": 109, + "margin_left": -38.0, + "margin_top": 74.0, + "width": 30.0, + "height": 30.0, + "font_size": 12.0, + "width_bits": 3, + "height_bits": 3, + "margin_left_bits": -4, + "margin_top_bits": 6, + "enabled": true, + "absolute_location": true + }, + { + "visualName": "M3", + "tag": 110, + "margin_left": -38.0, + "margin_top": 111.0, + "width": 30.0, + "height": 30.0, + "font_size": 12.0, + "width_bits": 3, + "height_bits": 3, + "margin_left_bits": -4, + "margin_top_bits": 9, + "enabled": true, + "absolute_location": true + }, + { + "visualName": "M4", + "tag": 111, + "margin_left": -38.0, + "margin_top": 148.0, + "width": 30.0, + "height": 30.0, + "font_size": 12.0, + "width_bits": 3, + "height_bits": 3, + "margin_left_bits": -4, + "margin_top_bits": 12, + "enabled": true, + "absolute_location": true + }, + { + "visualName": "M5", + "tag": 112, + "margin_left": -38.0, + "margin_top": 185.0, + "width": 30.0, + "height": 30.0, + "font_size": 12.0, + "width_bits": 3, + "height_bits": 3, + "margin_left_bits": -4, + "margin_top_bits": 15, + "enabled": true, + "absolute_location": true + } + ] } \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/soundblasterx_vanguardk08_left_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/soundblasterx_vanguardk08_left_features.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/soundblasterx_vanguardk08_left_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/soundblasterx_vanguardk08_left_features.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/soundblasterx_vanguardk08_right_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/soundblasterx_vanguardk08_right_features.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/soundblasterx_vanguardk08_right_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/soundblasterx_vanguardk08_right_features.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/steelseries_apex_m750_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/steelseries_apex_m750_features.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/steelseries_apex_m750_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/steelseries_apex_m750_features.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/steelseries_apex_m750_tkl_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/steelseries_apex_m750_tkl_features.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/steelseries_apex_m750_tkl_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/steelseries_apex_m750_tkl_features.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/steelseries_apex_m800_left_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/steelseries_apex_m800_left_features.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/steelseries_apex_m800_left_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/steelseries_apex_m800_left_features.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/steelseries_apex_m800_right_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/steelseries_apex_m800_right_features.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/steelseries_apex_m800_right_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/steelseries_apex_m800_right_features.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/wooting_two_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/wooting_two_features.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/wooting_two_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Extra Features/wooting_two_features.json diff --git a/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Plain Keyboard/abnt2_layout.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Plain Keyboard/abnt2_layout.json new file mode 100644 index 000000000..381f80665 --- /dev/null +++ b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Plain Keyboard/abnt2_layout.json @@ -0,0 +1,1276 @@ +{ + "keys": [ + { + "Key": { + "tag": 1, + "visual_name": "ESC" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 0, + "Y": 0, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 2, + "visual_name": "F1" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 62, + "Y": 0, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 3, + "visual_name": "F2" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 99, + "Y": 0, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 4, + "visual_name": "F3" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 136, + "Y": 0, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 5, + "visual_name": "F4" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 173, + "Y": 0, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 6, + "visual_name": "F5" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 237, + "Y": 0, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 7, + "visual_name": "F6" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 274, + "Y": 0, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 8, + "visual_name": "F7" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 311, + "Y": 0, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 9, + "visual_name": "F8" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 348, + "Y": 0, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 10, + "visual_name": "F9" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 407, + "Y": 0, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 11, + "visual_name": "F10" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 444, + "Y": 0, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 12, + "visual_name": "F11" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 481, + "Y": 0, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 13, + "visual_name": "F12" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 518, + "Y": 0, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 14, + "visual_name": "PRINT" + }, + "FontSize": 9.0, + "Enabled": true, + "X": 562, + "Y": 0, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 15, + "visual_name": "SCRL\r\nLOCK" + }, + "FontSize": 9.0, + "Enabled": true, + "X": 599, + "Y": 0, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 16, + "visual_name": "PAUSE" + }, + "FontSize": 9.0, + "Enabled": true, + "X": 636, + "Y": 0, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 17, + "visual_name": "~" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 0, + "Y": 37, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 18, + "visual_name": "1" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 37, + "Y": 37, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 19, + "visual_name": "2" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 74, + "Y": 37, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 20, + "visual_name": "3" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 111, + "Y": 37, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 21, + "visual_name": "4" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 148, + "Y": 37, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 22, + "visual_name": "5" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 185, + "Y": 37, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 23, + "visual_name": "6" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 222, + "Y": 37, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 24, + "visual_name": "7" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 259, + "Y": 37, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 25, + "visual_name": "8" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 296, + "Y": 37, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 26, + "visual_name": "9" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 333, + "Y": 37, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 27, + "visual_name": "0" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 370, + "Y": 37, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 28, + "visual_name": "-" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 407, + "Y": 37, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 29, + "visual_name": "=" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 444, + "Y": 37, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 30, + "visual_name": "BACKSPACE" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 481, + "Y": 37, + "Width": 67, + "Height": 30 + }, + { + "Key": { + "tag": 31, + "visual_name": "INSERT" + }, + "FontSize": 9.0, + "Enabled": true, + "X": 562, + "Y": 37, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 32, + "visual_name": "HOME" + }, + "FontSize": 9.0, + "Enabled": true, + "X": 599, + "Y": 37, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 33, + "visual_name": "PAGE\r\nUP" + }, + "FontSize": 9.0, + "Enabled": true, + "X": 636, + "Y": 37, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 34, + "visual_name": "NUM\r\nLOCK" + }, + "FontSize": 9.0, + "Enabled": true, + "X": 680, + "Y": 37, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 35, + "visual_name": "/" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 717, + "Y": 37, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 36, + "visual_name": "*" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 754, + "Y": 37, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 37, + "visual_name": "-" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 791, + "Y": 37, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 38, + "visual_name": "TAB" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 0, + "Y": 74, + "Width": 50, + "Height": 30 + }, + { + "Key": { + "tag": 39, + "visual_name": "Q" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 57, + "Y": 74, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 40, + "visual_name": "W" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 94, + "Y": 74, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 41, + "visual_name": "E" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 131, + "Y": 74, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 42, + "visual_name": "R" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 168, + "Y": 74, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 43, + "visual_name": "T" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 205, + "Y": 74, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 44, + "visual_name": "Y" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 242, + "Y": 74, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 45, + "visual_name": "U" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 279, + "Y": 74, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 46, + "visual_name": "I" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 316, + "Y": 74, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 47, + "visual_name": "O" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 353, + "Y": 74, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 48, + "visual_name": "P" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 390, + "Y": 74, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 49, + "visual_name": "´" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 427, + "Y": 74, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 50, + "visual_name": "[" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 464, + "Y": 74, + "Width": 40, + "Height": 30 + }, + { + "Key": { + "tag": 52, + "visual_name": "DEL" + }, + "FontSize": 9.0, + "Enabled": true, + "X": 562, + "Y": 74, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 53, + "visual_name": "END" + }, + "FontSize": 9.0, + "Enabled": true, + "X": 599, + "Y": 74, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 54, + "visual_name": "PAGE\r\nDOWN" + }, + "FontSize": 9.0, + "Enabled": true, + "X": 636, + "Y": 74, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 55, + "visual_name": "7" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 680, + "Y": 74, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 56, + "visual_name": "8" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 717, + "Y": 74, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 57, + "visual_name": "9" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 754, + "Y": 74, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 58, + "visual_name": "+" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 791, + "Y": 74, + "Width": 30, + "Height": 67 + }, + { + "Key": { + "tag": 59, + "visual_name": "CAPS\r\nLOCK" + }, + "FontSize": 9.0, + "Enabled": true, + "X": 0, + "Y": 111, + "Width": 60, + "Height": 30 + }, + { + "Key": { + "tag": 60, + "visual_name": "A" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 67, + "Y": 111, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 61, + "visual_name": "S" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 104, + "Y": 111, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 62, + "visual_name": "D" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 141, + "Y": 111, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 63, + "visual_name": "F" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 178, + "Y": 111, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 64, + "visual_name": "G" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 215, + "Y": 111, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 65, + "visual_name": "H" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 252, + "Y": 111, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 66, + "visual_name": "J" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 289, + "Y": 111, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 67, + "visual_name": "K" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 326, + "Y": 111, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 68, + "visual_name": "L" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 363, + "Y": 111, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 69, + "visual_name": "Ç" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 400, + "Y": 111, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 70, + "visual_name": "~" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 437, + "Y": 111, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 71, + "visual_name": "]" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 474, + "Y": 111, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 72, + "visual_name": "ENTER" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 511, + "Y": 74, + "Width": 38, + "Height": 67 + }, + { + "Key": { + "tag": 73, + "visual_name": "4" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 680, + "Y": 111, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 74, + "visual_name": "5" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 717, + "Y": 111, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 75, + "visual_name": "6" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 754, + "Y": 111, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 76, + "visual_name": "SHIFT" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 0, + "Y": 148, + "Width": 48, + "Height": 30 + }, + { + "Key": { + "tag": 77, + "visual_name": "\\" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 55, + "Y": 148, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 78, + "visual_name": "Z" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 92, + "Y": 148, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 79, + "visual_name": "X" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 129, + "Y": 148, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 80, + "visual_name": "C" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 166, + "Y": 148, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 81, + "visual_name": "V" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 203, + "Y": 148, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 82, + "visual_name": "B" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 240, + "Y": 148, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 83, + "visual_name": "N" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 277, + "Y": 148, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 84, + "visual_name": "M" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 314, + "Y": 148, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 85, + "visual_name": "<" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 351, + "Y": 148, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 86, + "visual_name": ">" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 388, + "Y": 148, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 87, + "visual_name": ";" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 425, + "Y": 148, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 159, + "visual_name": "/" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 462, + "Y": 148, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 88, + "visual_name": "SHIFT" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 499, + "Y": 148, + "Width": 50, + "Height": 30 + }, + { + "Key": { + "tag": 89, + "visual_name": "↑" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 598, + "Y": 148, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 90, + "visual_name": "1" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 680, + "Y": 148, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 91, + "visual_name": "2" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 717, + "Y": 148, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 92, + "visual_name": "3" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 754, + "Y": 148, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 93, + "visual_name": "ENTER" + }, + "FontSize": 9.0, + "Enabled": true, + "X": 791, + "Y": 148, + "Width": 30, + "Height": 67 + }, + { + "Key": { + "tag": 94, + "visual_name": "CTRL" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 0, + "Y": 185, + "Width": 51, + "Height": 30 + }, + { + "Key": { + "tag": 95, + "visual_name": "WIN" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 56, + "Y": 185, + "Width": 39, + "Height": 30 + }, + { + "Key": { + "tag": 96, + "visual_name": "ALT" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 100, + "Y": 185, + "Width": 42, + "Height": 30 + }, + { + "Key": { + "tag": 97, + "visual_name": "SPACE" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 149, + "Y": 185, + "Width": 208, + "Height": 30 + }, + { + "Key": { + "tag": 98, + "visual_name": "ALT Gr" + }, + "FontSize": 9.0, + "Enabled": true, + "X": 362, + "Y": 185, + "Width": 41, + "Height": 30 + }, + { + "Key": { + "tag": 99, + "visual_name": "WIN" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 408, + "Y": 185, + "Width": 41, + "Height": 30 + }, + { + "Key": { + "tag": 100, + "visual_name": "APP" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 454, + "Y": 185, + "Width": 40, + "Height": 30 + }, + { + "Key": { + "tag": 101, + "visual_name": "CTRL" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 499, + "Y": 185, + "Width": 50, + "Height": 30 + }, + { + "Key": { + "tag": 102, + "visual_name": "←" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 561, + "Y": 185, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 103, + "visual_name": "↓" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 598, + "Y": 185, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 104, + "visual_name": "→" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 635, + "Y": 185, + "Width": 30, + "Height": 30 + }, + { + "Key": { + "tag": 105, + "visual_name": "0" + }, + "FontSize": 12.0, + "Enabled": true, + "X": 680, + "Y": 185, + "Width": 67, + "Height": 30 + }, + { + "Key": { + "tag": 106, + "visual_name": "." + }, + "FontSize": 12.0, + "Enabled": true, + "X": 754, + "Y": 185, + "Width": 30, + "Height": 30 + } + ] +} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Plain Keyboard/ansi_layout.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Plain Keyboard/ansi_layout.json new file mode 100644 index 000000000..a7d63b135 --- /dev/null +++ b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Plain Keyboard/ansi_layout.json @@ -0,0 +1,1462 @@ +{ + "layout_width":0, + "layout_height":0, + "keys":[ + { + "Key":{ + "visual_name":"ESC", + "tag":1, + "device_id":null + }, + "X":0, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"F1", + "tag":2, + "device_id":null + }, + "X":62, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"F2", + "tag":3, + "device_id":null + }, + "X":99, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"F3", + "tag":4, + "device_id":null + }, + "X":136, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"F4", + "tag":5, + "device_id":null + }, + "X":173, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"F5", + "tag":6, + "device_id":null + }, + "X":237, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"F6", + "tag":7, + "device_id":null + }, + "X":274, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"F7", + "tag":8, + "device_id":null + }, + "X":311, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"F8", + "tag":9, + "device_id":null + }, + "X":348, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"F9", + "tag":10, + "device_id":null + }, + "X":407, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"F10", + "tag":11, + "device_id":null + }, + "X":444, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"F11", + "tag":12, + "device_id":null + }, + "X":481, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"F12", + "tag":13, + "device_id":null + }, + "X":518, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"PRINT", + "tag":14, + "device_id":null + }, + "X":563, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "FontSize":9.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"SCRL\r\nLOCK", + "tag":15, + "device_id":null + }, + "X":600, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "FontSize":9.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"PAUSE", + "tag":16, + "device_id":null + }, + "X":637, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "FontSize":9.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"~", + "tag":17, + "device_id":null + }, + "X":0, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"1", + "tag":18, + "device_id":null + }, + "X":37, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"2", + "tag":19, + "device_id":null + }, + "X":74, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"3", + "tag":20, + "device_id":null + }, + "X":111, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"4", + "tag":21, + "device_id":null + }, + "X":148, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"5", + "tag":22, + "device_id":null + }, + "X":185, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"6", + "tag":23, + "device_id":null + }, + "X":222, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"7", + "tag":24, + "device_id":null + }, + "X":259, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"8", + "tag":25, + "device_id":null + }, + "X":296, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"9", + "tag":26, + "device_id":null + }, + "X":333, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"0", + "tag":27, + "device_id":null + }, + "X":370, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"-", + "tag":28, + "device_id":null + }, + "X":407, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"=", + "tag":29, + "device_id":null + }, + "X":444, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"BACKSPACE", + "tag":30, + "device_id":null + }, + "X":481, + "Y":37, + "Width":67, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"INSERT", + "tag":31, + "device_id":null + }, + "X":563, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "FontSize":9.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"HOME", + "tag":32, + "device_id":null + }, + "X":600, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "FontSize":9.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"PAGE\r\nUP", + "tag":33, + "device_id":null + }, + "X":637, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "FontSize":9.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"NUM\r\nLOCK", + "tag":34, + "device_id":null + }, + "X":682, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "FontSize":9.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"/", + "tag":35, + "device_id":null + }, + "X":719, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"*", + "tag":36, + "device_id":null + }, + "X":756, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"-", + "tag":37, + "device_id":null + }, + "X":793, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"TAB", + "tag":38, + "device_id":null + }, + "X":0, + "Y":74, + "Width":50, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"Q", + "tag":39, + "device_id":null + }, + "X":57, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"W", + "tag":40, + "device_id":null + }, + "X":94, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"E", + "tag":41, + "device_id":null + }, + "X":131, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"R", + "tag":42, + "device_id":null + }, + "X":168, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"T", + "tag":43, + "device_id":null + }, + "X":205, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"Y", + "tag":44, + "device_id":null + }, + "X":242, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"U", + "tag":45, + "device_id":null + }, + "X":279, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"I", + "tag":46, + "device_id":null + }, + "X":316, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"O", + "tag":47, + "device_id":null + }, + "X":353, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"P", + "tag":48, + "device_id":null + }, + "X":390, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"{", + "tag":49, + "device_id":null + }, + "X":427, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"}", + "tag":50, + "device_id":null + }, + "X":464, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"\\", + "tag":51, + "device_id":null + }, + "X":501, + "Y":74, + "Width":47, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"DEL", + "tag":52, + "device_id":null + }, + "X":563, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "FontSize":9.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"END", + "tag":53, + "device_id":null + }, + "X":600, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "FontSize":9.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"PAGE\r\nDOWN", + "tag":54, + "device_id":null + }, + "X":637, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "FontSize":9.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"7", + "tag":55, + "device_id":null + }, + "X":682, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"8", + "tag":56, + "device_id":null + }, + "X":719, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"9", + "tag":57, + "device_id":null + }, + "X":756, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"+", + "tag":58, + "device_id":null + }, + "X":793, + "Y":74, + "Width":30, + "Height":67, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"CAPS\r\nLOCK", + "tag":59, + "device_id":null + }, + "X":0, + "Y":111, + "Width":60, + "Height":30, + "Image":"", + "FontSize":9.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"A", + "tag":60, + "device_id":null + }, + "X":67, + "Y":111, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"S", + "tag":61, + "device_id":null + }, + "X":104, + "Y":111, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"D", + "tag":62, + "device_id":null + }, + "X":141, + "Y":111, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"F", + "tag":63, + "device_id":null + }, + "X":178, + "Y":111, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"G", + "tag":64, + "device_id":null + }, + "X":215, + "Y":111, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"H", + "tag":65, + "device_id":null + }, + "X":252, + "Y":111, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"J", + "tag":66, + "device_id":null + }, + "X":289, + "Y":111, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"K", + "tag":67, + "device_id":null + }, + "X":326, + "Y":111, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"L", + "tag":68, + "device_id":null + }, + "X":363, + "Y":111, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":":", + "tag":69, + "device_id":null + }, + "X":400, + "Y":111, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"\"", + "tag":70, + "device_id":null + }, + "X":437, + "Y":111, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"ENTER", + "tag":72, + "device_id":null + }, + "X":474, + "Y":111, + "Width":74, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"4", + "tag":73, + "device_id":null + }, + "X":681, + "Y":111, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"5", + "tag":74, + "device_id":null + }, + "X":718, + "Y":111, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"6", + "tag":75, + "device_id":null + }, + "X":755, + "Y":111, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"SHIFT", + "tag":76, + "device_id":null + }, + "X":0, + "Y":148, + "Width":78, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"Z", + "tag":78, + "device_id":null + }, + "X":85, + "Y":148, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"X", + "tag":79, + "device_id":null + }, + "X":122, + "Y":148, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"C", + "tag":80, + "device_id":null + }, + "X":159, + "Y":148, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"V", + "tag":81, + "device_id":null + }, + "X":196, + "Y":148, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"B", + "tag":82, + "device_id":null + }, + "X":233, + "Y":148, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"N", + "tag":83, + "device_id":null + }, + "X":270, + "Y":148, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"M", + "tag":84, + "device_id":null + }, + "X":307, + "Y":148, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"<", + "tag":85, + "device_id":null + }, + "X":344, + "Y":148, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":">", + "tag":86, + "device_id":null + }, + "X":381, + "Y":148, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"?", + "tag":87, + "device_id":null + }, + "X":418, + "Y":148, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"SHIFT", + "tag":88, + "device_id":null + }, + "X":455, + "Y":148, + "Width":93, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"↑", + "tag":89, + "device_id":null + }, + "X":600, + "Y":148, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"1", + "tag":90, + "device_id":null + }, + "X":681, + "Y":148, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"2", + "tag":91, + "device_id":null + }, + "X":718, + "Y":148, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"3", + "tag":92, + "device_id":null + }, + "X":755, + "Y":148, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"ENTER", + "tag":93, + "device_id":null + }, + "X":792, + "Y":148, + "Width":30, + "Height":67, + "Image":"", + "FontSize":9.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"CTRL", + "tag":94, + "device_id":null + }, + "X":0, + "Y":185, + "Width":51, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"WIN", + "tag":95, + "device_id":null + }, + "X":56, + "Y":185, + "Width":39, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"ALT", + "tag":96, + "device_id":null + }, + "X":100, + "Y":185, + "Width":42, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"SPACE", + "tag":97, + "device_id":null + }, + "X":149, + "Y":185, + "Width":208, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"ALT", + "tag":98, + "device_id":null + }, + "X":362, + "Y":185, + "Width":41, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"WIN", + "tag":99, + "device_id":null + }, + "X":408, + "Y":185, + "Width":41, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"APP", + "tag":100, + "device_id":null + }, + "X":454, + "Y":185, + "Width":41, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"CTRL", + "tag":101, + "device_id":null + }, + "X":500, + "Y":185, + "Width":48, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"←", + "tag":102, + "device_id":null + }, + "X":563, + "Y":185, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"↓", + "tag":103, + "device_id":null + }, + "X":600, + "Y":185, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"→", + "tag":104, + "device_id":null + }, + "X":637, + "Y":185, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":"0", + "tag":105, + "device_id":null + }, + "X":681, + "Y":185, + "Width":67, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + }, + { + "Key":{ + "visual_name":".", + "tag":106, + "device_id":null + }, + "X":755, + "Y":185, + "Width":30, + "Height":30, + "Image":"", + "FontSize":12.0, + "Enabled":true + } + ] +} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Plain Keyboard/iso_layout.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Plain Keyboard/iso_layout.json new file mode 100644 index 000000000..8d00a4633 --- /dev/null +++ b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Plain Keyboard/iso_layout.json @@ -0,0 +1,1581 @@ +{ + "layout_width":800, + "layout_height":400, + "keys":[ + { + "Key":{ + "visual_name":"ESC", + "tag":1, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":0, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"F1", + "tag":2, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":62, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"F2", + "tag":3, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":99, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"F3", + "tag":4, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":136, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"F4", + "tag":5, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":173, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"F5", + "tag":6, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":237, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"F6", + "tag":7, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":274, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"F7", + "tag":8, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":311, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"F8", + "tag":9, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":348, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"F9", + "tag":10, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":407, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"F10", + "tag":11, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":444, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"F11", + "tag":12, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":481, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"F12", + "tag":13, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":518, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"PRINT", + "tag":14, + "device_id":null + }, + "FontSize":9.0, + "Enabled":true, + "X":562, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"SCRL\r\nLOCK", + "tag":15, + "device_id":null + }, + "FontSize":9.0, + "Enabled":true, + "X":599, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"PAUSE", + "tag":16, + "device_id":null + }, + "FontSize":9.0, + "Enabled":true, + "X":636, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"`", + "tag":17, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":0, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"1", + "tag":18, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":37, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"2", + "tag":19, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":74, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"3", + "tag":20, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":111, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"4", + "tag":21, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":148, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"5", + "tag":22, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":185, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"6", + "tag":23, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":222, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"7", + "tag":24, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":259, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"8", + "tag":25, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":296, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"9", + "tag":26, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":333, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"0", + "tag":27, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":370, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"-", + "tag":28, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":407, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"=", + "tag":29, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":444, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"BACKSPACE", + "tag":30, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":481, + "Y":37, + "Width":67, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"INSERT", + "tag":31, + "device_id":null + }, + "FontSize":9.0, + "Enabled":true, + "X":562, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"HOME", + "tag":32, + "device_id":null + }, + "FontSize":9.0, + "Enabled":true, + "X":599, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"PAGE\r\nUP", + "tag":33, + "device_id":null + }, + "FontSize":9.0, + "Enabled":true, + "X":636, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"NUM\r\nLOCK", + "tag":34, + "device_id":null + }, + "FontSize":9.0, + "Enabled":true, + "X":680, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"/", + "tag":35, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":717, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"*", + "tag":36, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":754, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"-", + "tag":37, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":791, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"TAB", + "tag":38, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":0, + "Y":74, + "Width":50, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"Q", + "tag":39, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":57, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"W", + "tag":40, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":94, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"E", + "tag":41, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":131, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"R", + "tag":42, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":168, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"T", + "tag":43, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":205, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"Y", + "tag":44, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":242, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"U", + "tag":45, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":279, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"I", + "tag":46, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":316, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"O", + "tag":47, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":353, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"P", + "tag":48, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":390, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"{", + "tag":49, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":427, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"}", + "tag":50, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":464, + "Y":74, + "Width":40, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"DEL", + "tag":52, + "device_id":null + }, + "FontSize":9.0, + "Enabled":true, + "X":562, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"END", + "tag":53, + "device_id":null + }, + "FontSize":9.0, + "Enabled":true, + "X":599, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"PAGE\r\nDOWN", + "tag":54, + "device_id":null + }, + "FontSize":9.0, + "Enabled":true, + "X":636, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"7", + "tag":55, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":680, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"8", + "tag":56, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":717, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"9", + "tag":57, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":754, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"+", + "tag":58, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":791, + "Y":74, + "Width":30, + "Height":67, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"CAPS\r\nLOCK", + "tag":59, + "device_id":null + }, + "FontSize":9.0, + "Enabled":true, + "X":0, + "Y":111, + "Width":60, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"A", + "tag":60, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":67, + "Y":111, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"S", + "tag":61, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":104, + "Y":111, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"D", + "tag":62, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":141, + "Y":111, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"F", + "tag":63, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":178, + "Y":111, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"G", + "tag":64, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":215, + "Y":111, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"H", + "tag":65, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":252, + "Y":111, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"J", + "tag":66, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":289, + "Y":111, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"K", + "tag":67, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":326, + "Y":111, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"L", + "tag":68, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":363, + "Y":111, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":":", + "tag":69, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":400, + "Y":111, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"'", + "tag":70, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":437, + "Y":111, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"#", + "tag":71, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":474, + "Y":111, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"ENTER", + "tag":72, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":511, + "Y":74, + "Width":38, + "Height":67, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"4", + "tag":73, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":680, + "Y":111, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"5", + "tag":74, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":717, + "Y":111, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"6", + "tag":75, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":754, + "Y":111, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"SHIFT", + "tag":76, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":0, + "Y":148, + "Width":48, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"\\", + "tag":77, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":55, + "Y":148, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"Z", + "tag":78, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":92, + "Y":148, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"X", + "tag":79, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":129, + "Y":148, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"C", + "tag":80, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":166, + "Y":148, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"V", + "tag":81, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":203, + "Y":148, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"B", + "tag":82, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":240, + "Y":148, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"N", + "tag":83, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":277, + "Y":148, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"M", + "tag":84, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":314, + "Y":148, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"<", + "tag":85, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":351, + "Y":148, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":">", + "tag":86, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":388, + "Y":148, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"?", + "tag":87, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":425, + "Y":148, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"SHIFT", + "tag":88, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":462, + "Y":148, + "Width":87, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"↑", + "tag":89, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":598, + "Y":148, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"1", + "tag":90, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":680, + "Y":148, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"2", + "tag":91, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":717, + "Y":148, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"3", + "tag":92, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":754, + "Y":148, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"ENTER", + "tag":93, + "device_id":null + }, + "FontSize":9.0, + "Enabled":true, + "X":791, + "Y":148, + "Width":30, + "Height":67, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"CTRL", + "tag":94, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":0, + "Y":185, + "Width":51, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"WIN", + "tag":95, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":56, + "Y":185, + "Width":39, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"ALT", + "tag":96, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":100, + "Y":185, + "Width":42, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"SPACE", + "tag":97, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":149, + "Y":185, + "Width":208, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"ALT Gr", + "tag":98, + "device_id":null + }, + "FontSize":9.0, + "Enabled":true, + "X":362, + "Y":185, + "Width":41, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"WIN", + "tag":99, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":408, + "Y":185, + "Width":41, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"APP", + "tag":100, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":454, + "Y":185, + "Width":40, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"CTRL", + "tag":101, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":499, + "Y":185, + "Width":50, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"←", + "tag":102, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":561, + "Y":185, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"↓", + "tag":103, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":598, + "Y":185, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"→", + "tag":104, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":635, + "Y":185, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"0", + "tag":105, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":680, + "Y":185, + "Width":67, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":".", + "tag":106, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":754, + "Y":185, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + } + ] +} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Plain Keyboard/jpn_layout.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Plain Keyboard/jpn_layout.json new file mode 100644 index 000000000..3e0d7770d --- /dev/null +++ b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Plain Keyboard/jpn_layout.json @@ -0,0 +1,1626 @@ +{ + "layout_width":0, + "layout_height":0, + "keys":[ + { + "Key":{ + "visual_name":"ESC", + "tag":1, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":0, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"F1", + "tag":2, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":62, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"F2", + "tag":3, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":99, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"F3", + "tag":4, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":136, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"F4", + "tag":5, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":173, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"F5", + "tag":6, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":237, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"F6", + "tag":7, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":274, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"F7", + "tag":8, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":311, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"F8", + "tag":9, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":348, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"F9", + "tag":10, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":407, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"F10", + "tag":11, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":444, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"F11", + "tag":12, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":481, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"F12", + "tag":13, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":518, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"PRINT", + "tag":14, + "device_id":null + }, + "FontSize":9.0, + "Enabled":true, + "X":562, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"SCRL\r\nLOCK", + "tag":15, + "device_id":null + }, + "FontSize":9.0, + "Enabled":true, + "X":599, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"PAUSE", + "tag":16, + "device_id":null + }, + "FontSize":9.0, + "Enabled":true, + "X":636, + "Y":0, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"半角/\r\n全角", + "tag":17, + "device_id":null + }, + "FontSize":9.0, + "Enabled":true, + "X":0, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"1", + "tag":18, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":37, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"2", + "tag":19, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":74, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"3", + "tag":20, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":111, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"4", + "tag":21, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":148, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"5", + "tag":22, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":185, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"6", + "tag":23, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":222, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"7", + "tag":24, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":259, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"8", + "tag":25, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":296, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"9", + "tag":26, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":333, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"0", + "tag":27, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":370, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"-", + "tag":28, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":407, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"^", + "tag":29, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":444, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"¥", + "tag":156, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":481, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"BACK", + "tag":30, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":518, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"INSERT", + "tag":31, + "device_id":null + }, + "FontSize":9.0, + "Enabled":true, + "X":562, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"HOME", + "tag":32, + "device_id":null + }, + "FontSize":9.0, + "Enabled":true, + "X":599, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"PAGE\r\nUP", + "tag":33, + "device_id":null + }, + "FontSize":9.0, + "Enabled":true, + "X":636, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"NUM\r\nLOCK", + "tag":34, + "device_id":null + }, + "FontSize":9.0, + "Enabled":true, + "X":680, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"/", + "tag":35, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":717, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"*", + "tag":36, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":754, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"-", + "tag":37, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":791, + "Y":37, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"TAB", + "tag":38, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":0, + "Y":74, + "Width":50, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"Q", + "tag":39, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":57, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"W", + "tag":40, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":94, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"E", + "tag":41, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":131, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"R", + "tag":42, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":168, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"T", + "tag":43, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":205, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"Y", + "tag":44, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":242, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"U", + "tag":45, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":279, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"I", + "tag":46, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":316, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"O", + "tag":47, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":353, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"P", + "tag":48, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":390, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"@", + "tag":49, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":427, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"[", + "tag":50, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":464, + "Y":74, + "Width":40, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"DEL", + "tag":52, + "device_id":null + }, + "FontSize":9.0, + "Enabled":true, + "X":562, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"END", + "tag":53, + "device_id":null + }, + "FontSize":9.0, + "Enabled":true, + "X":599, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"PAGE\r\nDOWN", + "tag":54, + "device_id":null + }, + "FontSize":9.0, + "Enabled":true, + "X":636, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"7", + "tag":55, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":680, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"8", + "tag":56, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":717, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"9", + "tag":57, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":754, + "Y":74, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"+", + "tag":58, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":791, + "Y":74, + "Width":30, + "Height":67, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"CAPS\r\nLOCK", + "tag":59, + "device_id":null + }, + "FontSize":9.0, + "Enabled":true, + "X":0, + "Y":111, + "Width":60, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"A", + "tag":60, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":67, + "Y":111, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"S", + "tag":61, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":104, + "Y":111, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"D", + "tag":62, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":141, + "Y":111, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"F", + "tag":63, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":178, + "Y":111, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"G", + "tag":64, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":215, + "Y":111, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"H", + "tag":65, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":252, + "Y":111, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"J", + "tag":66, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":289, + "Y":111, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"K", + "tag":67, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":326, + "Y":111, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"L", + "tag":68, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":363, + "Y":111, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":";", + "tag":69, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":400, + "Y":111, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":":", + "tag":70, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":437, + "Y":111, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"]", + "tag":71, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":474, + "Y":111, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"ENTER", + "tag":72, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":511, + "Y":74, + "Width":38, + "Height":67, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"4", + "tag":73, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":680, + "Y":111, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"5", + "tag":74, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":717, + "Y":111, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"6", + "tag":75, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":754, + "Y":111, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"SHIFT", + "tag":76, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":0, + "Y":148, + "Width":85, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"Z", + "tag":78, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":92, + "Y":148, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"X", + "tag":79, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":129, + "Y":148, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"C", + "tag":80, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":166, + "Y":148, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"V", + "tag":81, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":203, + "Y":148, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"B", + "tag":82, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":240, + "Y":148, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"N", + "tag":83, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":277, + "Y":148, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"M", + "tag":84, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":314, + "Y":148, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"<", + "tag":85, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":351, + "Y":148, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":">", + "tag":86, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":388, + "Y":148, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"/", + "tag":87, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":425, + "Y":148, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"\\", + "tag":77, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":462, + "Y":148, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"SHIFT", + "tag":88, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":499, + "Y":148, + "Width":50, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"↑", + "tag":89, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":598, + "Y":148, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"1", + "tag":90, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":680, + "Y":148, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"2", + "tag":91, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":717, + "Y":148, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"3", + "tag":92, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":754, + "Y":148, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"ENTER", + "tag":93, + "device_id":null + }, + "FontSize":9.0, + "Enabled":true, + "X":791, + "Y":148, + "Width":30, + "Height":67, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"CTRL", + "tag":94, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":0, + "Y":185, + "Width":51, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"WIN", + "tag":95, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":56, + "Y":185, + "Width":39, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"ALT", + "tag":96, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":100, + "Y":185, + "Width":42, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"無変換", + "tag":153, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":147, + "Y":185, + "Width":42, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"SPACE", + "tag":97, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":196, + "Y":185, + "Width":133, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"変換", + "tag":98, + "device_id":null + }, + "FontSize":9.0, + "Enabled":true, + "X":336, + "Y":185, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"カタカナ/\r\nひらがな", + "tag":155, + "device_id":null + }, + "FontSize":9.0, + "Enabled":true, + "X":373, + "Y":185, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"ALT", + "tag":99, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":408, + "Y":185, + "Width":41, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"APP", + "tag":100, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":454, + "Y":185, + "Width":40, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"CTRL", + "tag":101, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":499, + "Y":185, + "Width":50, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"←", + "tag":102, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":561, + "Y":185, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"↓", + "tag":103, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":598, + "Y":185, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"→", + "tag":104, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":635, + "Y":185, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":"0", + "tag":105, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":680, + "Y":185, + "Width":67, + "Height":30, + "Image":"", + "IsImage":false + }, + { + "Key":{ + "visual_name":".", + "tag":106, + "device_id":null + }, + "FontSize":12.0, + "Enabled":true, + "X":754, + "Y":185, + "Width":30, + "Height":30, + "Image":"", + "IsImage":false + } + ] +} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Uniwill2ND_35X.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Uniwill2ND_35X.json new file mode 100644 index 000000000..21b755c2d --- /dev/null +++ b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Uniwill2ND_35X.json @@ -0,0 +1,508 @@ +{ + "IsNewFormat": true, + "keys_to_remove": [ + 14, + 15, + 16, + 99 + ], + "key_modifications": { + "2": { + "VisualName": null, + "X": 37, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "3": { + "VisualName": null, + "X": 74, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "4": { + "VisualName": null, + "X": 111, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "5": { + "VisualName": null, + "X": 148, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "6": { + "VisualName": null, + "X": 185, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "7": { + "VisualName": null, + "X": 222, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "8": { + "VisualName": null, + "X": 259, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "9": { + "VisualName": null, + "X": 296, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "10": { + "VisualName": null, + "X": 333, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "11": { + "VisualName": null, + "X": 370, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "12": { + "VisualName": null, + "X": 407, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "13": { + "VisualName": null, + "X": 444, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "31": { + "VisualName": null, + "X": 481, + "Y": 0, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "32": { + "VisualName": "Home", + "X": 555, + "Y": 0, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "33": { + "VisualName": "PGUP", + "X": 629, + "Y": 0, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "34": { + "VisualName": null, + "X": 555, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "35": { + "VisualName": null, + "X": 592, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "36": { + "VisualName": null, + "X": 629, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "37": { + "VisualName": null, + "X": 666, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "51": { + "VisualName": null, + "X": null, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": 9.0, + "Enabled": null + }, + "52": { + "VisualName": null, + "X": 518, + "Y": 0, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "53": { + "VisualName": null, + "X": 592, + "Y": 0, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "54": { + "VisualName": "PGDN", + "X": 666, + "Y": 0, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "55": { + "VisualName": null, + "X": 555, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "56": { + "VisualName": null, + "X": 592, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "57": { + "VisualName": null, + "X": 629, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "58": { + "VisualName": null, + "X": 666, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "73": { + "VisualName": null, + "X": 555, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "74": { + "VisualName": null, + "X": 592, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "75": { + "VisualName": null, + "X": 629, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "88": { + "VisualName": null, + "X": null, + "Y": null, + "Width": -37, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "89": { + "VisualName": null, + "X": 518, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "90": { + "VisualName": null, + "X": 555, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "91": { + "VisualName": null, + "X": 592, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "92": { + "VisualName": null, + "X": 629, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "93": { + "VisualName": null, + "X": 666, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "94": { + "VisualName": null, + "X": null, + "Y": null, + "Width": -10, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "95": { + "VisualName": null, + "X": 85, + "Y": null, + "Width": -9, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "96": { + "VisualName": null, + "X": 122, + "Y": null, + "Width": -12, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "97": { + "VisualName": null, + "X": 159, + "Y": null, + "Width": -30, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "98": { + "VisualName": null, + "X": 344, + "Y": null, + "Width": -11, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "100": { + "VisualName": "App", + "X": 381, + "Y": null, + "Width": -11, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "101": { + "VisualName": null, + "X": 418, + "Y": null, + "Width": 8, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "102": { + "VisualName": null, + "X": 481, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "103": { + "VisualName": null, + "X": 518, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "104": { + "VisualName": null, + "X": 555, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "105": { + "VisualName": null, + "X": 592, + "Y": null, + "Width": -37, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "106": { + "VisualName": null, + "X": 629, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + } + }, + "key_to_add": { + "107": { + "Key": { + "visual_name": "FN", + "tag": 107, + "device_id": null + }, + "FontSize": 9.0, + "Enabled": true, + "X": 48, + "Y": 185, + "Width": 30, + "Height": 30, + "Image": "", + "IsImage": false + } + } +} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Uniwill2P1_550.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Uniwill2P1_550.json new file mode 100644 index 000000000..4afd44610 --- /dev/null +++ b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Uniwill2P1_550.json @@ -0,0 +1,365 @@ +{ + "IsNewFormat": true, + "keys_to_remove": [ + 15, + 16, + 34, + 35, + 36, + 37, + 55, + 56, + 57, + 58, + 73, + 74, + 75, + 90, + 91, + 92, + 93, + 99, + 105, + 106 + ], + "key_modifications": { + "2": { + "VisualName": null, + "X": 37, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "3": { + "VisualName": null, + "X": 74, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "4": { + "VisualName": null, + "X": 111, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "5": { + "VisualName": null, + "X": 148, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "6": { + "VisualName": null, + "X": 185, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "7": { + "VisualName": null, + "X": 222, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "8": { + "VisualName": null, + "X": 259, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "9": { + "VisualName": null, + "X": 296, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "10": { + "VisualName": null, + "X": 333, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "11": { + "VisualName": null, + "X": 370, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "12": { + "VisualName": null, + "X": 407, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "13": { + "VisualName": null, + "X": 444, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "14": { + "VisualName": null, + "X": 518, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "31": { + "VisualName": null, + "X": 481, + "Y": 0, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "32": { + "VisualName": "Home", + "X": 555, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "33": { + "VisualName": "PGUP", + "X": 555, + "Y": 74, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "51": { + "VisualName": null, + "X": null, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": 9.0, + "Enabled": null + }, + "52": { + "VisualName": null, + "X": 555, + "Y": 0, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "53": { + "VisualName": null, + "X": 555, + "Y": 148, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "54": { + "VisualName": "PGDN", + "X": 555, + "Y": 111, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "88": { + "VisualName": null, + "X": null, + "Y": null, + "Width": -37, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "89": { + "VisualName": null, + "X": 518, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "94": { + "VisualName": null, + "X": null, + "Y": null, + "Width": -10, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "95": { + "VisualName": null, + "X": 85, + "Y": null, + "Width": -9, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "96": { + "VisualName": null, + "X": 122, + "Y": null, + "Width": -12, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "97": { + "VisualName": null, + "X": 159, + "Y": null, + "Width": -30, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "98": { + "VisualName": null, + "X": 344, + "Y": null, + "Width": -11, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "100": { + "VisualName": "App", + "X": 381, + "Y": null, + "Width": -11, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "101": { + "VisualName": null, + "X": 418, + "Y": null, + "Width": 8, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "102": { + "VisualName": null, + "X": 481, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "103": { + "VisualName": null, + "X": 518, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "104": { + "VisualName": null, + "X": 555, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + } + }, + "key_to_add": { + "107": { + "Key": { + "visual_name": "FN", + "tag": 107, + "device_id": null + }, + "FontSize": 9.0, + "Enabled": true, + "X": 48, + "Y": 185, + "Width": 30, + "Height": 30, + "Image": "", + "IsImage": false + } + }, + "jis_key_modifications": {} +} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Uniwill2P2_650.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Uniwill2P2_650.json new file mode 100644 index 000000000..c81b277ab --- /dev/null +++ b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/Uniwill2P2_650.json @@ -0,0 +1,473 @@ +{ + "IsNewFormat": true, + "keys_to_remove": [ + 15, + 31, + 32, + 33, + 53, + 54, + 93, + 99 + ], + "key_modifications": { + "2": { + "VisualName": null, + "X": 37, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "3": { + "VisualName": null, + "X": 74, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "4": { + "VisualName": null, + "X": 111, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "5": { + "VisualName": null, + "X": 148, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "6": { + "VisualName": null, + "X": 185, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "7": { + "VisualName": null, + "X": 222, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "8": { + "VisualName": null, + "X": 259, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "9": { + "VisualName": null, + "X": 296, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "10": { + "VisualName": null, + "X": 333, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "11": { + "VisualName": null, + "X": 370, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "12": { + "VisualName": null, + "X": 407, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "13": { + "VisualName": null, + "X": 444, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "14": { + "VisualName": null, + "X": 518, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "16": { + "VisualName": null, + "X": 481, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "34": { + "VisualName": null, + "X": 555, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "35": { + "VisualName": null, + "X": 592, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "36": { + "VisualName": null, + "X": 629, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "37": { + "VisualName": null, + "X": 592, + "Y": 0, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "51": { + "VisualName": null, + "X": null, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": 9.0, + "Enabled": null + }, + "52": { + "VisualName": null, + "X": 555, + "Y": 0, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "55": { + "VisualName": null, + "X": 555, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "56": { + "VisualName": null, + "X": 592, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "57": { + "VisualName": null, + "X": 629, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "58": { + "VisualName": null, + "X": 629, + "Y": 0, + "Width": null, + "Height": -37, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "73": { + "VisualName": null, + "X": 555, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "74": { + "VisualName": null, + "X": 592, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "75": { + "VisualName": null, + "X": 629, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "88": { + "VisualName": null, + "X": null, + "Y": null, + "Width": -37, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "89": { + "VisualName": null, + "X": 518, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "90": { + "VisualName": null, + "X": 555, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "91": { + "VisualName": null, + "X": 592, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "92": { + "VisualName": null, + "X": 629, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "94": { + "VisualName": null, + "X": null, + "Y": null, + "Width": -10, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "95": { + "VisualName": null, + "X": 85, + "Y": null, + "Width": -9, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "96": { + "VisualName": null, + "X": 122, + "Y": null, + "Width": -12, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "97": { + "VisualName": null, + "X": 159, + "Y": null, + "Width": -30, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "98": { + "VisualName": null, + "X": 344, + "Y": null, + "Width": -11, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "100": { + "VisualName": "App", + "X": 381, + "Y": null, + "Width": -11, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "101": { + "VisualName": null, + "X": 418, + "Y": null, + "Width": 8, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "102": { + "VisualName": null, + "X": 481, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "103": { + "VisualName": null, + "X": 518, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "104": { + "VisualName": null, + "X": 555, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "105": { + "VisualName": null, + "X": 592, + "Y": null, + "Width": -37, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "106": { + "VisualName": null, + "X": 629, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + } + }, + "key_to_add": { + "107": { + "Key": { + "visual_name": "FN", + "tag": 107, + "device_id": null + }, + "FontSize": 9.0, + "Enabled": true, + "X": 48, + "Y": 185, + "Width": 30, + "Height": 30, + "Image": "", + "IsImage": false + } +}, + "jis_key_modifications": {} +} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/asus_strix_flare.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/asus_strix_flare.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/asus_strix_flare.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/asus_strix_flare.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/asus_strix_scope.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/asus_strix_scope.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/asus_strix_scope.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/asus_strix_scope.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/cooler_master_sk650.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/cooler_master_sk650.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/cooler_master_sk650.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/cooler_master_sk650.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/corsair_k65.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/corsair_k65.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/corsair_k65.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/corsair_k65.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/corsair_k68.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/corsair_k68.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/corsair_k68.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/corsair_k68.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/corsair_k70.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/corsair_k70.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/corsair_k70.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/corsair_k70.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/corsair_k70_mk2.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/corsair_k70_mk2.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/corsair_k70_mk2.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/corsair_k70_mk2.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/corsair_k95.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/corsair_k95.json similarity index 52% rename from Project-Aurora/Project-Aurora/kb_layouts/corsair_k95.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/corsair_k95.json index a2459c37e..60eebda8e 100644 --- a/Project-Aurora/Project-Aurora/kb_layouts/corsair_k95.json +++ b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/corsair_k95.json @@ -2,7 +2,7 @@ "keys_to_remove": [], "key_modifications": {}, "included_features": [ - "corsair_k95_left_features.json", - "corsair_k95_right_features.json" + "corsair_k95_right_features.json", + "corsair_k95_left_features.json" ] } \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/corsair_k95_platinum.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/corsair_k95_platinum.json new file mode 100644 index 000000000..25615a03d --- /dev/null +++ b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/corsair_k95_platinum.json @@ -0,0 +1,487 @@ +{ + "IsNewFormat": true, + "keys_to_remove": [], + "key_modifications": {}, + "key_to_add": { + "139": { + "Key": { + "visual_name": "MUTE", + "tag": 139, + "device_id": null + }, + "FontSize": 9.0, + "Enabled": true, + "X": 717, + "Y": -37, + "Width": 30, + "Height": 24, + "Image": "", + "IsImage": false + }, + "136": { + "Key": { + "visual_name": "STOP", + "tag": 136, + "device_id": null + }, + "FontSize": 9.0, + "Enabled": true, + "X": 680, + "Y": 0, + "Width": 30, + "Height": 24, + "Image": "", + "IsImage": false + }, + "137": { + "Key": { + "visual_name": "PREV", + "tag": 137, + "device_id": null + }, + "FontSize": 9.0, + "Enabled": true, + "X": 717, + "Y": 0, + "Width": 30, + "Height": 24, + "Image": "", + "IsImage": false + }, + "133": { + "Key": { + "visual_name": "PLAY", + "tag": 133, + "device_id": null + }, + "FontSize": 9.0, + "Enabled": true, + "X": 754, + "Y": 0, + "Width": 30, + "Height": 24, + "Image": "", + "IsImage": false + }, + "138": { + "Key": { + "visual_name": "NEXT", + "tag": 138, + "device_id": null + }, + "FontSize": 9.0, + "Enabled": true, + "X": 791, + "Y": 0, + "Width": 30, + "Height": 24, + "Image": "", + "IsImage": false + }, + "142": { + "Key": { + "visual_name": "", + "tag": 142, + "device_id": null + }, + "FontSize": 12.0, + "Enabled": true, + "X": -47, + "Y": -54, + "Width": 46, + "Height": 10, + "Image": "", + "IsImage": false + }, + "143": { + "Key": { + "visual_name": "", + "tag": 143, + "device_id": null + }, + "FontSize": 12.0, + "Enabled": true, + "X": -1, + "Y": -54, + "Width": 46, + "Height": 10, + "Image": "", + "IsImage": false + }, + "144": { + "Key": { + "visual_name": "", + "tag": 144, + "device_id": null + }, + "FontSize": 12.0, + "Enabled": true, + "X": 45, + "Y": -54, + "Width": 46, + "Height": 10, + "Image": "", + "IsImage": false + }, + "145": { + "Key": { + "visual_name": "", + "tag": 145, + "device_id": null + }, + "FontSize": 12.0, + "Enabled": true, + "X": 91, + "Y": -54, + "Width": 46, + "Height": 10, + "Image": "", + "IsImage": false + }, + "146": { + "Key": { + "visual_name": "", + "tag": 146, + "device_id": null + }, + "FontSize": 12.0, + "Enabled": true, + "X": 137, + "Y": -54, + "Width": 46, + "Height": 10, + "Image": "", + "IsImage": false + }, + "147": { + "Key": { + "visual_name": "", + "tag": 147, + "device_id": null + }, + "FontSize": 12.0, + "Enabled": true, + "X": 183, + "Y": -54, + "Width": 46, + "Height": 10, + "Image": "", + "IsImage": false + }, + "148": { + "Key": { + "visual_name": "", + "tag": 148, + "device_id": null + }, + "FontSize": 12.0, + "Enabled": true, + "X": 229, + "Y": -54, + "Width": 46, + "Height": 10, + "Image": "", + "IsImage": false + }, + "149": { + "Key": { + "visual_name": "", + "tag": 149, + "device_id": null + }, + "FontSize": 12.0, + "Enabled": true, + "X": 275, + "Y": -54, + "Width": 46, + "Height": 10, + "Image": "", + "IsImage": false + }, + "150": { + "Key": { + "visual_name": "", + "tag": 150, + "device_id": null + }, + "FontSize": 12.0, + "Enabled": true, + "X": 321, + "Y": -54, + "Width": 46, + "Height": 10, + "Image": "", + "IsImage": false + }, + "151": { + "Key": { + "visual_name": "", + "tag": 151, + "device_id": null + }, + "FontSize": 12.0, + "Enabled": true, + "X": 367, + "Y": -54, + "Width": 46, + "Height": 10, + "Image": "", + "IsImage": false + }, + "172": { + "Key": { + "visual_name": "", + "tag": 172, + "device_id": null + }, + "FontSize": 12.0, + "Enabled": true, + "X": 413, + "Y": -54, + "Width": 46, + "Height": 10, + "Image": "", + "IsImage": false + }, + "173": { + "Key": { + "visual_name": "", + "tag": 173, + "device_id": null + }, + "FontSize": 12.0, + "Enabled": true, + "X": 459, + "Y": -54, + "Width": 46, + "Height": 10, + "Image": "", + "IsImage": false + }, + "174": { + "Key": { + "visual_name": "", + "tag": 174, + "device_id": null + }, + "FontSize": 12.0, + "Enabled": true, + "X": 505, + "Y": -54, + "Width": 46, + "Height": 10, + "Image": "", + "IsImage": false + }, + "175": { + "Key": { + "visual_name": "", + "tag": 175, + "device_id": null + }, + "FontSize": 12.0, + "Enabled": true, + "X": 551, + "Y": -54, + "Width": 46, + "Height": 10, + "Image": "", + "IsImage": false + }, + "176": { + "Key": { + "visual_name": "", + "tag": 176, + "device_id": null + }, + "FontSize": 12.0, + "Enabled": true, + "X": 597, + "Y": -54, + "Width": 46, + "Height": 10, + "Image": "", + "IsImage": false + }, + "177": { + "Key": { + "visual_name": "", + "tag": 177, + "device_id": null + }, + "FontSize": 12.0, + "Enabled": true, + "X": 643, + "Y": -54, + "Width": 46, + "Height": 10, + "Image": "", + "IsImage": false + }, + "178": { + "Key": { + "visual_name": "", + "tag": 178, + "device_id": null + }, + "FontSize": 12.0, + "Enabled": true, + "X": 689, + "Y": -54, + "Width": 46, + "Height": 10, + "Image": "", + "IsImage": false + }, + "179": { + "Key": { + "visual_name": "", + "tag": 179, + "device_id": null + }, + "FontSize": 12.0, + "Enabled": true, + "X": 735, + "Y": -54, + "Width": 46, + "Height": 10, + "Image": "", + "IsImage": false + }, + "180": { + "Key": { + "visual_name": "", + "tag": 180, + "device_id": null + }, + "FontSize": 12.0, + "Enabled": true, + "X": 781, + "Y": -54, + "Width": 46, + "Height": 10, + "Image": "", + "IsImage": false + }, + "131": { + "Key": { + "visual_name": "LIGHTS", + "tag": 131, + "device_id": null + }, + "FontSize": 9.0, + "Enabled": true, + "X": 104, + "Y": -37, + "Width": 30, + "Height": 30, + "Image": "", + "IsImage": false + }, + "132": { + "Key": { + "visual_name": "LOCK", + "tag": 132, + "device_id": null + }, + "FontSize": 9.0, + "Enabled": true, + "X": 141, + "Y": -37, + "Width": 30, + "Height": 30, + "Image": "", + "IsImage": false + }, + "108": { + "Key": { + "visual_name": "G1", + "tag": 108, + "device_id": null + }, + "FontSize": 12.0, + "Enabled": true, + "X": -43, + "Y": 0, + "Width": 30, + "Height": 30, + "Image": "", + "IsImage": false + }, + "109": { + "Key": { + "visual_name": "G2", + "tag": 109, + "device_id": null + }, + "FontSize": 12.0, + "Enabled": true, + "X": -43, + "Y": 37, + "Width": 30, + "Height": 30, + "Image": "", + "IsImage": false + }, + "110": { + "Key": { + "visual_name": "G3", + "tag": 110, + "device_id": null + }, + "FontSize": 12.0, + "Enabled": true, + "X": -43, + "Y": 74, + "Width": 30, + "Height": 30, + "Image": "", + "IsImage": false + }, + "111": { + "Key": { + "visual_name": "G4", + "tag": 111, + "device_id": null + }, + "FontSize": 12.0, + "Enabled": true, + "X": -43, + "Y": 111, + "Width": 30, + "Height": 30, + "Image": "", + "IsImage": false + }, + "112": { + "Key": { + "visual_name": "G5", + "tag": 112, + "device_id": null + }, + "FontSize": 12.0, + "Enabled": true, + "X": -43, + "Y": 148, + "Width": 30, + "Height": 30, + "Image": "", + "IsImage": false + }, + "113": { + "Key": { + "visual_name": "G6", + "tag": 113, + "device_id": null + }, + "FontSize": 12.0, + "Enabled": true, + "X": -43, + "Y": 185, + "Width": 30, + "Height": 30, + "Image": "", + "IsImage": false + } + } +} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/corsair_sabre.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/corsair_sabre.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/corsair_sabre.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/corsair_sabre.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/corsair_strafe.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/corsair_strafe.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/corsair_strafe.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/corsair_strafe.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/corsair_strafe_mk2.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/corsair_strafe_mk2.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/corsair_strafe_mk2.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/corsair_strafe_mk2.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/drevo_blademaster.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/drevo_blademaster.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/drevo_blademaster.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/drevo_blademaster.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/ducky_one_2_rgb_tkl.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/ducky_one_2_rgb_tkl.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/ducky_one_2_rgb_tkl.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/ducky_one_2_rgb_tkl.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/ducky_shine_7.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/ducky_shine_7.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/ducky_shine_7.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/ducky_shine_7.json diff --git a/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/generic_laptop.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/generic_laptop.json new file mode 100644 index 000000000..4adb42d18 --- /dev/null +++ b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/generic_laptop.json @@ -0,0 +1,315 @@ +{ + "IsNewFormat": true, + "keys_to_remove": [ + 16, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 73, + 74, + 75, + 90, + 91, + 92, + 93, + 99, + 100, + 105, + 106 + ], + "key_modifications": { + "2": { + "VisualName": null, + "X": 37, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "3": { + "VisualName": null, + "X": 74, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "4": { + "VisualName": null, + "X": 111, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "5": { + "VisualName": null, + "X": 148, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "6": { + "VisualName": null, + "X": 185, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "7": { + "VisualName": null, + "X": 222, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "8": { + "VisualName": null, + "X": 259, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "9": { + "VisualName": null, + "X": 296, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "10": { + "VisualName": null, + "X": 333, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "11": { + "VisualName": null, + "X": 370, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "12": { + "VisualName": null, + "X": 407, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "13": { + "VisualName": null, + "X": 444, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "14": { + "VisualName": null, + "X": 481, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "15": { + "VisualName": null, + "X": 518, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "51": { + "VisualName": null, + "X": null, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": 9.0, + "Enabled": null + }, + "89": { + "VisualName": null, + "X": 486, + "Y": 185, + "Width": null, + "Height": -17, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "94": { + "VisualName": null, + "X": null, + "Y": null, + "Width": -10, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "95": { + "VisualName": null, + "X": 85, + "Y": null, + "Width": -9, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "96": { + "VisualName": null, + "X": 122, + "Y": null, + "Width": -12, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "97": { + "VisualName": null, + "X": 159, + "Y": null, + "Width": -30, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "98": { + "VisualName": null, + "X": 344, + "Y": null, + "Width": -11, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "101": { + "VisualName": null, + "X": 418, + "Y": null, + "Width": -18, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "102": { + "VisualName": null, + "X": 455, + "Y": null, + "Width": -6, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "103": { + "VisualName": null, + "X": 486, + "Y": 202, + "Width": null, + "Height": -17, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "104": { + "VisualName": null, + "X": 523, + "Y": null, + "Width": -6, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + } + }, + "key_to_add": { + "107": { + "Key": { + "visual_name": "FN", + "tag": 107, + "device_id": null + }, + "FontSize": 12.0, + "Enabled": true, + "X": 381, + "Y": 185, + "Width": 30, + "Height": 30, + "Image": "", + "IsImage": false + }, + "171": { + "Key": { + "visual_name": "FN", + "tag": 171, + "device_id": null + }, + "FontSize": 9.0, + "Enabled": true, + "X": 48, + "Y": 185, + "Width": 30, + "Height": 30, + "Image": "", + "IsImage": false + } + } +} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/generic_laptop_numpad.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/generic_laptop_numpad.json new file mode 100644 index 000000000..dbed1a2bc --- /dev/null +++ b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/generic_laptop_numpad.json @@ -0,0 +1,468 @@ +{ + "IsNewFormat": true, + "keys_to_remove": [ + 16, + 31, + 32, + 33, + 52, + 53, + 54, + 99, + 100 + ], + "key_modifications": { + "2": { + "VisualName": null, + "X": 37, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "3": { + "VisualName": null, + "X": 74, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "4": { + "VisualName": null, + "X": 111, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "5": { + "VisualName": null, + "X": 148, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "6": { + "VisualName": null, + "X": 185, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "7": { + "VisualName": null, + "X": 222, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "8": { + "VisualName": null, + "X": 259, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "9": { + "VisualName": null, + "X": 296, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "10": { + "VisualName": null, + "X": 333, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "11": { + "VisualName": null, + "X": 370, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "12": { + "VisualName": null, + "X": 407, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "13": { + "VisualName": null, + "X": 444, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "14": { + "VisualName": null, + "X": 481, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "15": { + "VisualName": null, + "X": 518, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "34": { + "VisualName": null, + "X": 555, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "35": { + "VisualName": null, + "X": 592, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "36": { + "VisualName": null, + "X": 629, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "37": { + "VisualName": null, + "X": 666, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "51": { + "VisualName": null, + "X": null, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": 9.0, + "Enabled": null + }, + "55": { + "VisualName": null, + "X": 555, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "56": { + "VisualName": null, + "X": 592, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "57": { + "VisualName": null, + "X": 629, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "58": { + "VisualName": null, + "X": 666, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "73": { + "VisualName": null, + "X": 555, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "74": { + "VisualName": null, + "X": 592, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "75": { + "VisualName": null, + "X": 629, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "89": { + "VisualName": null, + "X": 486, + "Y": 185, + "Width": null, + "Height": -17, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "90": { + "VisualName": null, + "X": 555, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "91": { + "VisualName": null, + "X": 592, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "92": { + "VisualName": null, + "X": 629, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "93": { + "VisualName": null, + "X": 666, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "94": { + "VisualName": null, + "X": null, + "Y": null, + "Width": -10, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "95": { + "VisualName": null, + "X": 85, + "Y": null, + "Width": -9, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "96": { + "VisualName": null, + "X": 122, + "Y": null, + "Width": -12, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "97": { + "VisualName": null, + "X": 159, + "Y": null, + "Width": -30, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "98": { + "VisualName": null, + "X": 344, + "Y": null, + "Width": -11, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "101": { + "VisualName": null, + "X": 418, + "Y": null, + "Width": -18, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "102": { + "VisualName": null, + "X": 455, + "Y": null, + "Width": -6, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "103": { + "VisualName": null, + "X": 486, + "Y": 202, + "Width": null, + "Height": -17, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "104": { + "VisualName": null, + "X": 523, + "Y": null, + "Width": -6, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "105": { + "VisualName": null, + "X": 555, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "106": { + "VisualName": null, + "X": 629, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + } + }, + "key_to_add": { + "171": { + "Key": { + "visual_name": "FN", + "tag": 171, + "device_id": null + }, + "FontSize": 9.0, + "Enabled": true, + "X": 48, + "Y": 185, + "Width": 30, + "Height": 30, + "Image": "", + "IsImage": false + }, + "107": { + "Key": { + "visual_name": "FN", + "tag": 107, + "device_id": null + }, + "FontSize": 12.0, + "Enabled": true, + "X": 381, + "Y": 185, + "Width": 30, + "Height": 30, + "Image": "", + "IsImage": false + } + } +} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/hyperx_alloy_elite_rgb.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/hyperx_alloy_elite_rgb.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/hyperx_alloy_elite_rgb.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/hyperx_alloy_elite_rgb.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/logitech_g213.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/logitech_g213.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/logitech_g213.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/logitech_g213.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/logitech_g410.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/logitech_g410.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/logitech_g410.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/logitech_g410.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/logitech_g513.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/logitech_g513.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/logitech_g513.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/logitech_g513.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/logitech_g810.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/logitech_g810.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/logitech_g810.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/logitech_g810.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/logitech_g815.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/logitech_g815.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/logitech_g815.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/logitech_g815.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/logitech_g910.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/logitech_g910.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/logitech_g910.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/logitech_g910.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/logitech_gpro.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/logitech_gpro.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/logitech_gpro.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/logitech_gpro.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/masterkeys_mk730.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/masterkeys_mk730.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/masterkeys_mk730.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/masterkeys_mk730.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/masterkeys_mk750.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/masterkeys_mk750.json old mode 100755 new mode 100644 similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/masterkeys_mk750.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/masterkeys_mk750.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/masterkeys_pro_l.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/masterkeys_pro_l.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/masterkeys_pro_l.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/masterkeys_pro_l.json diff --git a/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/masterkeys_pro_m.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/masterkeys_pro_m.json new file mode 100644 index 000000000..8f1bc8568 --- /dev/null +++ b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/masterkeys_pro_m.json @@ -0,0 +1,207 @@ +{ + "IsNewFormat": true, + "keys_to_remove": [ + 14, + 15, + 16, + 31, + 32, + 33, + 52, + 53, + 54, + 89, + 102, + 103, + 104 + ], + "key_modifications": { + "34": { + "VisualName": null, + "X": 563, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "35": { + "VisualName": null, + "X": 600, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "36": { + "VisualName": null, + "X": 637, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "37": { + "VisualName": null, + "X": 674, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "55": { + "VisualName": null, + "X": 563, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "56": { + "VisualName": null, + "X": 600, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "57": { + "VisualName": null, + "X": 637, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "58": { + "VisualName": null, + "X": 674, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "73": { + "VisualName": null, + "X": 563, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "74": { + "VisualName": null, + "X": 600, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "75": { + "VisualName": null, + "X": 637, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "90": { + "VisualName": null, + "X": 563, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "91": { + "VisualName": null, + "X": 600, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "92": { + "VisualName": null, + "X": 637, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "93": { + "VisualName": null, + "X": 674, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "105": { + "VisualName": null, + "X": 563, + "Y": null, + "Width": 30, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "106": { + "VisualName": null, + "X": 637, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + } + }, + "key_to_add": { + "169": { + "Key": { + "visual_name": "00", + "tag": 169, + "device_id": null + }, + "FontSize": 12.0, + "Enabled": true, + "X": 600, + "Y": 185, + "Width": 30, + "Height": 30, + "Image": "", + "IsImage": false + } + } +} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/masterkeys_pro_s.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/masterkeys_pro_s.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/masterkeys_pro_s.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/masterkeys_pro_s.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/omen_four_zone.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/omen_four_zone.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/omen_four_zone.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/omen_four_zone.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/omen_sequencer.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/omen_sequencer.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/omen_sequencer.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/omen_sequencer.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/razer_blackwidow.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/razer_blackwidow.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/razer_blackwidow.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/razer_blackwidow.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/razer_blackwidow_te.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/razer_blackwidow_te.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/razer_blackwidow_te.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/razer_blackwidow_te.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/razer_blackwidow_x.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/razer_blackwidow_x.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/razer_blackwidow_x.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/razer_blackwidow_x.json diff --git a/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/razer_blade.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/razer_blade.json new file mode 100644 index 000000000..4adb42d18 --- /dev/null +++ b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/razer_blade.json @@ -0,0 +1,315 @@ +{ + "IsNewFormat": true, + "keys_to_remove": [ + 16, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 73, + 74, + 75, + 90, + 91, + 92, + 93, + 99, + 100, + 105, + 106 + ], + "key_modifications": { + "2": { + "VisualName": null, + "X": 37, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "3": { + "VisualName": null, + "X": 74, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "4": { + "VisualName": null, + "X": 111, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "5": { + "VisualName": null, + "X": 148, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "6": { + "VisualName": null, + "X": 185, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "7": { + "VisualName": null, + "X": 222, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "8": { + "VisualName": null, + "X": 259, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "9": { + "VisualName": null, + "X": 296, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "10": { + "VisualName": null, + "X": 333, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "11": { + "VisualName": null, + "X": 370, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "12": { + "VisualName": null, + "X": 407, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "13": { + "VisualName": null, + "X": 444, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "14": { + "VisualName": null, + "X": 481, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "15": { + "VisualName": null, + "X": 518, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "51": { + "VisualName": null, + "X": null, + "Y": null, + "Width": null, + "Height": null, + "Image": null, + "FontSize": 9.0, + "Enabled": null + }, + "89": { + "VisualName": null, + "X": 486, + "Y": 185, + "Width": null, + "Height": -17, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "94": { + "VisualName": null, + "X": null, + "Y": null, + "Width": -10, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "95": { + "VisualName": null, + "X": 85, + "Y": null, + "Width": -9, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "96": { + "VisualName": null, + "X": 122, + "Y": null, + "Width": -12, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "97": { + "VisualName": null, + "X": 159, + "Y": null, + "Width": -30, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "98": { + "VisualName": null, + "X": 344, + "Y": null, + "Width": -11, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "101": { + "VisualName": null, + "X": 418, + "Y": null, + "Width": -18, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "102": { + "VisualName": null, + "X": 455, + "Y": null, + "Width": -6, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "103": { + "VisualName": null, + "X": 486, + "Y": 202, + "Width": null, + "Height": -17, + "Image": null, + "FontSize": null, + "Enabled": null + }, + "104": { + "VisualName": null, + "X": 523, + "Y": null, + "Width": -6, + "Height": null, + "Image": null, + "FontSize": null, + "Enabled": null + } + }, + "key_to_add": { + "107": { + "Key": { + "visual_name": "FN", + "tag": 107, + "device_id": null + }, + "FontSize": 12.0, + "Enabled": true, + "X": 381, + "Y": 185, + "Width": 30, + "Height": 30, + "Image": "", + "IsImage": false + }, + "171": { + "Key": { + "visual_name": "FN", + "tag": 171, + "device_id": null + }, + "FontSize": 9.0, + "Enabled": true, + "X": 48, + "Y": 185, + "Width": 30, + "Height": 30, + "Image": "", + "IsImage": false + } + } +} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/roccat_ryos.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/roccat_ryos.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/roccat_ryos.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/roccat_ryos.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/soundblasterx_vanguardk08.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/soundblasterx_vanguardk08.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/soundblasterx_vanguardk08.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/soundblasterx_vanguardk08.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/steelseries_apex_m750.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/steelseries_apex_m750.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/steelseries_apex_m750.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/steelseries_apex_m750.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/steelseries_apex_m750_tkl.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/steelseries_apex_m750_tkl.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/steelseries_apex_m750_tkl.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/steelseries_apex_m750_tkl.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/steelseries_apex_m800.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/steelseries_apex_m800.json similarity index 89% rename from Project-Aurora/Project-Aurora/kb_layouts/steelseries_apex_m800.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/steelseries_apex_m800.json index 08c84f7f8..49557166e 100644 --- a/Project-Aurora/Project-Aurora/kb_layouts/steelseries_apex_m800.json +++ b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/steelseries_apex_m800.json @@ -33,7 +33,7 @@ } }, "included_features": [ - "steelseries_apex_m800_left_features.json", - "steelseries_apex_m800_right_features.json" + "steelseries_apex_m800_right_features.json", + "steelseries_apex_m800_left_features.json" ] } \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/wooting_one.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/wooting_one.json old mode 100755 new mode 100644 similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/wooting_one.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/wooting_one.json diff --git a/Project-Aurora/Project-Aurora/kb_layouts/wooting_two.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/wooting_two.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/wooting_two.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Keyboard/wooting_two.json diff --git a/Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/Asus - Pugio.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/Asus - Pugio.json new file mode 100644 index 000000000..9526bbcac --- /dev/null +++ b/Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/Asus - Pugio.json @@ -0,0 +1,67 @@ +{ + "IsNewFormat": true, + "keys_to_remove": [], + "key_modifications": {}, + "key_to_add": { + "-1": { + "Key": { + "visual_name": "NONE", + "tag": -1, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 0, + "Y": 0, + "Width": 128, + "Height": 232, + "Image": "Asus_Pugio_body.png", + "IsImage": true + }, + "161": { + "Key": { + "visual_name": "Scroll Wheel", + "tag": 161, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 56, + "Y": 22, + "Width": 14, + "Height": 41, + "Image": "Asus_Pugio_wheel.png", + "IsImage": true + }, + "162": { + "Key": { + "visual_name": "Bottom Light", + "tag": 162, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": -1, + "Y": 130, + "Width": 128, + "Height": 103, + "Image": "Asus_Pugio_backlights.png", + "IsImage": true + }, + "160": { + "Key": { + "visual_name": "Logo", + "tag": 160, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 41, + "Y": 187, + "Width": 46, + "Height": 24, + "Image": "Asus_Pugio_logo.png", + "IsImage": true + } + } +} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/Clevo - Touchpad.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/Clevo - Touchpad.json new file mode 100644 index 000000000..402cfebd1 --- /dev/null +++ b/Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/Clevo - Touchpad.json @@ -0,0 +1,22 @@ +{ + "IsNewFormat": true, + "keys_to_remove": [], + "key_modifications": {}, + "key_to_add": { + "0": { + "Key": { + "visual_name": "TOUCHPAD", + "tag": 0, + "device_id": null + }, + "FontSize": 12.0, + "Enabled": true, + "X": 0, + "Y": 0, + "Width": 208, + "Height": 30, + "Image": "", + "IsImage": false + } + } +} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/Corsair - Katar.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/Corsair - Katar.json new file mode 100644 index 000000000..8c99e3f12 --- /dev/null +++ b/Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/Corsair - Katar.json @@ -0,0 +1,37 @@ +{ + "IsNewFormat": true, + "keys_to_remove": [], + "key_modifications": {}, + "key_to_add": { + "-1": { + "Key": { + "visual_name": "NONE", + "tag": -1, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 0, + "Y": 0, + "Width": 153, + "Height": 232, + "Image": "Corsair_Katar_outline.png", + "IsImage": true + }, + "160": { + "Key": { + "visual_name": "Logo", + "tag": 160, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 58, + "Y": 187, + "Width": 35, + "Height": 22, + "Image": "Corsair_Katar_logo.png", + "IsImage": true + } + } +} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/Corsair - M65.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/Corsair - M65.json new file mode 100644 index 000000000..ae34fa393 --- /dev/null +++ b/Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/Corsair - M65.json @@ -0,0 +1,52 @@ +{ + "IsNewFormat": true, + "keys_to_remove": [], + "key_modifications": {}, + "key_to_add": { + "-1": { + "Key": { + "visual_name": "NONE", + "tag": -1, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 0, + "Y": 0, + "Width": 158, + "Height": 232, + "Image": "Corsair_M65_outline.png", + "IsImage": true + }, + "160": { + "Key": { + "visual_name": "Logo", + "tag": 160, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 70, + "Y": 156, + "Width": 27, + "Height": 27, + "Image": "Corsair_M65_logo.png", + "IsImage": true + }, + "161": { + "Key": { + "visual_name": "Scroll Wheel", + "tag": 161, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 74, + "Y": 10, + "Width": 21, + "Height": 60, + "Image": "Corsair_M65_scrollwheel.png", + "IsImage": true + } + } +} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/corsair_sabre_features.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/Corsair - Sabre.json similarity index 100% rename from Project-Aurora/Project-Aurora/kb_layouts/Extra Features/corsair_sabre_features.json rename to Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/Corsair - Sabre.json diff --git a/Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/Generic Peripheral.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/Generic Peripheral.json new file mode 100644 index 000000000..63470335b --- /dev/null +++ b/Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/Generic Peripheral.json @@ -0,0 +1,37 @@ +{ + "IsNewFormat": true, + "keys_to_remove": [], + "key_modifications": {}, + "key_to_add": { + "-1": { + "Key": { + "visual_name": "NONE", + "tag": -1, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 0, + "Y": 0, + "Width": 90, + "Height": 90, + "Image": "", + "IsImage": false + }, + "0": { + "Key": { + "visual_name": "Mouse/\r\nHeadset", + "tag": 0, + "device_id": null + }, + "FontSize": 12.0, + "Enabled": true, + "X": 0, + "Y": 0, + "Width": 90, + "Height": 90, + "Image": "", + "IsImage": false + } + } +} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/Logitech - G502.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/Logitech - G502.json new file mode 100644 index 000000000..4a7fdc53d --- /dev/null +++ b/Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/Logitech - G502.json @@ -0,0 +1,37 @@ +{ + "IsNewFormat": true, + "keys_to_remove": [], + "key_modifications": {}, + "key_to_add": { + "-1": { + "Key": { + "visual_name": "NONE", + "tag": -1, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 0, + "Y": 0, + "Width": 143, + "Height": 232, + "Image": "Logi_G502_outline.png", + "IsImage": true + }, + "160": { + "Key": { + "visual_name": "Logo", + "tag": 160, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 30, + "Y": 107, + "Width": 45, + "Height": 65, + "Image": "Logi_G502_logo.png", + "IsImage": true + } + } +} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/Logitech - G900.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/Logitech - G900.json new file mode 100644 index 000000000..a40cf792a --- /dev/null +++ b/Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/Logitech - G900.json @@ -0,0 +1,37 @@ +{ + "IsNewFormat": true, + "keys_to_remove": [], + "key_modifications": {}, + "key_to_add": { + "-1": { + "Key": { + "visual_name": "NONE", + "tag": -1, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 0, + "Y": 0, + "Width": 123, + "Height": 232, + "Image": "Logi_G900_outline.png", + "IsImage": true + }, + "160": { + "Key": { + "visual_name": "Logo", + "tag": 160, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 50, + "Y": 163, + "Width": 22, + "Height": 24, + "Image": "Logi_G900_logo.png", + "IsImage": true + } + } +} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/Razer - Mamba TE.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/Razer - Mamba TE.json new file mode 100644 index 000000000..060b347b1 --- /dev/null +++ b/Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/Razer - Mamba TE.json @@ -0,0 +1,229 @@ +{ + "IsNewFormat": true, + "keys_to_remove": [], + "key_modifications": {}, + "key_to_add": { + "-1": { + "Key": { + "tag": -1, + "visual_name": "NONE" + }, + "FontSize": null, + "Enabled": true, + "X": 0, + "Y": 0, + "Width": 130, + "Height": 232, + "Image": "Razer_Mamba_TE_outline.png" + }, + "161": { + "Key": { + "tag": 161, + "visual_name": "Scroll Wheel" + }, + "FontSize": null, + "Enabled": true, + "X": 54, + "Y": 28, + "Width": 16, + "Height": 38, + "Image": "Razer_Mamba_TE_Scroll_Wheel.png" + }, + "160": { + "Key": { + "tag": 160, + "visual_name": "Peripheral Logo" + }, + "FontSize": null, + "Enabled": true, + "X": 41, + "Y": 162, + "Width": 38, + "Height": 39, + "Image": "Razer_Mamba_TE_Logo.png" + }, + "217": { + "Key": { + "tag": 217, + "visual_name": "Left Side 1" + }, + "FontSize": null, + "Enabled": true, + "X": 3, + "Y": 46, + "Width": 6, + "Height": 22, + "Image": "Razer_Mamba_TE_L1.png" + }, + "229": { + "Key": { + "tag": 229, + "visual_name": "Right Side 1" + }, + "FontSize": null, + "Enabled": true, + "X": 117, + "Y": 48, + "Width": 6, + "Height": 20, + "Image": "Razer_Mamba_TE_R1.png" + }, + "218": { + "Key": { + "tag": 218, + "visual_name": "Left Side 2" + }, + "FontSize": null, + "Enabled": true, + "X": 4, + "Y": 67, + "Width": 10, + "Height": 24, + "Image": "Razer_Mamba_TE_L2.png" + }, + "230": { + "Key": { + "tag": 230, + "visual_name": "Right Side 2" + }, + "FontSize": null, + "Enabled": true, + "X": 113, + "Y": 67, + "Width": 7, + "Height": 24, + "Image": "Razer_Mamba_TE_R2.png" + }, + "219": { + "Key": { + "tag": 219, + "visual_name": "Left Side 3" + }, + "FontSize": null, + "Enabled": true, + "X": 10, + "Y": 90, + "Width": 8, + "Height": 23, + "Image": "Razer_Mamba_TE_L3.png" + }, + "231": { + "Key": { + "tag": 231, + "visual_name": "Right Side 3" + }, + "FontSize": null, + "Enabled": true, + "X": 112, + "Y": 90, + "Width": 6, + "Height": 23, + "Image": "Razer_Mamba_TE_R3.png" + }, + "220": { + "Key": { + "tag": 220, + "visual_name": "Left Side 4" + }, + "FontSize": null, + "Enabled": true, + "X": 13, + "Y": 113, + "Width": 6, + "Height": 24, + "Image": "Razer_Mamba_TE_L4.png" + }, + "232": { + "Key": { + "tag": 232, + "visual_name": "Right Side 4" + }, + "FontSize": null, + "Enabled": true, + "X": 112, + "Y": 113, + "Width": 6, + "Height": 24, + "Image": "Razer_Mamba_TE_R4.png" + }, + "221": { + "Key": { + "tag": 221, + "visual_name": "Left Side 5" + }, + "FontSize": null, + "Enabled": true, + "X": 10, + "Y": 137, + "Width": 8, + "Height": 23, + "Image": "Razer_Mamba_TE_L5.png" + }, + "233": { + "Key": { + "tag": 233, + "visual_name": "Right Side 5" + }, + "FontSize": null, + "Enabled": true, + "X": 113, + "Y": 137, + "Width": 7, + "Height": 23, + "Image": "Razer_Mamba_TE_R5.png" + }, + "222": { + "Key": { + "tag": 222, + "visual_name": "Left Side 6" + }, + "FontSize": null, + "Enabled": true, + "X": 7, + "Y": 159, + "Width": 7, + "Height": 23, + "Image": "Razer_Mamba_TE_L6.png" + }, + "234": { + "Key": { + "tag": 234, + "visual_name": "Right Side 6" + }, + "FontSize": null, + "Enabled": true, + "X": 114, + "Y": 159, + "Width": 6, + "Height": 23, + "Image": "Razer_Mamba_TE_R6.png" + }, + "223": { + "Key": { + "tag": 223, + "visual_name": "Left Side 7" + }, + "FontSize": null, + "Enabled": true, + "X": 7, + "Y": 181, + "Width": 9, + "Height": 24, + "Image": "Razer_Mamba_TE_L7.png" + }, + "235": { + "Key": { + "tag": 235, + "visual_name": "Right Side 7" + }, + "FontSize": null, + "Enabled": true, + "X": 108, + "Y": 180, + "Width": 10, + "Height": 23, + "Image": "Razer_Mamba_TE_R7.png" + } + }, + "jis_key_modifications": {} +} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/RazerICorsair Mousepad + Mouse.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/RazerICorsair Mousepad + Mouse.json new file mode 100644 index 000000000..b3dc78318 --- /dev/null +++ b/Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/RazerICorsair Mousepad + Mouse.json @@ -0,0 +1,262 @@ +{ + "IsNewFormat": true, + "keys_to_remove": [], + "key_modifications": {}, + "key_to_add": { + "-1": { + "Key": { + "visual_name": "NONE", + "tag": -1, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 10, + "Y": 0, + "Width": 200, + "Height": 168, + "Image": "", + "IsImage": false + }, + "160": { + "Key": { + "visual_name": "Mouse Logo", + "tag": 160, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 90, + "Y": 60, + "Width": 50, + "Height": 50, + "Image": "", + "IsImage": false + }, + "201": { + "Key": { + "visual_name": "", + "tag": 201, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 0, + "Y": 0, + "Width": 10, + "Height": 33, + "Image": "", + "IsImage": false + }, + "202": { + "Key": { + "visual_name": "", + "tag": 202, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 0, + "Y": 34, + "Width": 10, + "Height": 33, + "Image": "", + "IsImage": false + }, + "203": { + "Key": { + "visual_name": "", + "tag": 203, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 0, + "Y": 68, + "Width": 10, + "Height": 33, + "Image": "", + "IsImage": false + }, + "204": { + "Key": { + "visual_name": "", + "tag": 204, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 0, + "Y": 101, + "Width": 10, + "Height": 33, + "Image": "", + "IsImage": false + }, + "205": { + "Key": { + "visual_name": "", + "tag": 205, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 0, + "Y": 135, + "Width": 10, + "Height": 33, + "Image": "", + "IsImage": false + }, + "206": { + "Key": { + "visual_name": "", + "tag": 206, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 10, + "Y": 168, + "Width": 40, + "Height": 10, + "Image": "", + "IsImage": false + }, + "207": { + "Key": { + "visual_name": "", + "tag": 207, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 50, + "Y": 168, + "Width": 40, + "Height": 10, + "Image": "", + "IsImage": false + }, + "208": { + "Key": { + "visual_name": "", + "tag": 208, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 90, + "Y": 168, + "Width": 40, + "Height": 10, + "Image": "", + "IsImage": false + }, + "209": { + "Key": { + "visual_name": "", + "tag": 209, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 130, + "Y": 168, + "Width": 40, + "Height": 10, + "Image": "", + "IsImage": false + }, + "210": { + "Key": { + "visual_name": "", + "tag": 210, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 170, + "Y": 168, + "Width": 40, + "Height": 10, + "Image": "", + "IsImage": false + }, + "211": { + "Key": { + "visual_name": "", + "tag": 211, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 210, + "Y": 135, + "Width": 10, + "Height": 33, + "Image": "", + "IsImage": false + }, + "212": { + "Key": { + "visual_name": "", + "tag": 212, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 210, + "Y": 101, + "Width": 10, + "Height": 33, + "Image": "", + "IsImage": false + }, + "213": { + "Key": { + "visual_name": "", + "tag": 213, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 210, + "Y": 68, + "Width": 10, + "Height": 33, + "Image": "", + "IsImage": false + }, + "214": { + "Key": { + "visual_name": "", + "tag": 214, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 210, + "Y": 34, + "Width": 10, + "Height": 33, + "Image": "", + "IsImage": false + }, + "215": { + "Key": { + "visual_name": "", + "tag": 215, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 210, + "Y": 0, + "Width": 10, + "Height": 33, + "Image": "", + "IsImage": false + } + } +} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/Roccat - Kone Pure.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/Roccat - Kone Pure.json new file mode 100644 index 000000000..a6269a41c --- /dev/null +++ b/Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/Roccat - Kone Pure.json @@ -0,0 +1,34 @@ +{ + "IsNewFormat": true, + "keys_to_remove": [], + "key_modifications": {}, + "key_to_add": { + "-1": { + "Key": { + "tag": -1, + "visual_name": "NONE" + }, + "FontSize": null, + "Enabled": true, + "X": 0, + "Y": 0, + "Width": 153, + "Height": 232, + "Image": "Roccat_Kone_Pure_outline.png" + }, + "160": { + "Key": { + "tag": 160, + "visual_name": "Logo" + }, + "FontSize": null, + "Enabled": true, + "X": 54, + "Y": 166, + "Width": 66, + "Height": 59, + "Image": "Roccat_Kone_Pure_logo.png" + } + }, + "jis_key_modifications": {} +} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/SteelSeries - QcK Prism Mousepad + Mouse.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/SteelSeries - QcK Prism Mousepad + Mouse.json new file mode 100644 index 000000000..fe3db83c4 --- /dev/null +++ b/Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/SteelSeries - QcK Prism Mousepad + Mouse.json @@ -0,0 +1,232 @@ +{ + "IsNewFormat": true, + "keys_to_remove": [], + "key_modifications": {}, + "key_to_add": { + "-1": { + "Key": { + "visual_name": "NONE", + "tag": -1, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 0, + "Y": 0, + "Width": 200, + "Height": 168, + "Image": "", + "IsImage": false + }, + "160": { + "Key": { + "visual_name": "Mouse Logo", + "tag": 160, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 75, + "Y": 89, + "Width": 50, + "Height": 50, + "Image": "", + "IsImage": false + }, + "161": { + "Key": { + "visual_name": "Scroll Wheel", + "tag": 161, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 75, + "Y": 29, + "Width": 50, + "Height": 50, + "Image": "", + "IsImage": false + }, + "201": { + "Key": { + "visual_name": "", + "tag": 201, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 0, + "Y": 56, + "Width": 16, + "Height": 56, + "Image": "", + "IsImage": false + }, + "202": { + "Key": { + "visual_name": "", + "tag": 202, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 0, + "Y": 112, + "Width": 16, + "Height": 56, + "Image": "", + "IsImage": false + }, + "203": { + "Key": { + "visual_name": "", + "tag": 203, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 16, + "Y": 152, + "Width": 56, + "Height": 16, + "Image": "", + "IsImage": false + }, + "204": { + "Key": { + "visual_name": "", + "tag": 204, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 72, + "Y": 152, + "Width": 56, + "Height": 16, + "Image": "", + "IsImage": false + }, + "205": { + "Key": { + "visual_name": "", + "tag": 205, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 127, + "Y": 152, + "Width": 56, + "Height": 16, + "Image": "", + "IsImage": false + }, + "206": { + "Key": { + "visual_name": "", + "tag": 206, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 185, + "Y": 112, + "Width": 16, + "Height": 56, + "Image": "", + "IsImage": false + }, + "207": { + "Key": { + "visual_name": "", + "tag": 207, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 185, + "Y": 56, + "Width": 16, + "Height": 56, + "Image": "", + "IsImage": false + }, + "208": { + "Key": { + "visual_name": "", + "tag": 208, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 185, + "Y": 0, + "Width": 16, + "Height": 56, + "Image": "", + "IsImage": false + }, + "209": { + "Key": { + "visual_name": "", + "tag": 209, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 127, + "Y": 0, + "Width": 56, + "Height": 16, + "Image": "", + "IsImage": false + }, + "210": { + "Key": { + "visual_name": "", + "tag": 210, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 72, + "Y": 0, + "Width": 56, + "Height": 16, + "Image": "", + "IsImage": false + }, + "211": { + "Key": { + "visual_name": "", + "tag": 211, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 16, + "Y": 0, + "Width": 56, + "Height": 16, + "Image": "", + "IsImage": false + }, + "212": { + "Key": { + "visual_name": "", + "tag": 212, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 0, + "Y": 0, + "Width": 16, + "Height": 56, + "Image": "", + "IsImage": false + } + } +} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/SteelSeries - Rival 300 HP OMEN Edition.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/SteelSeries - Rival 300 HP OMEN Edition.json new file mode 100644 index 000000000..f59266f61 --- /dev/null +++ b/Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/SteelSeries - Rival 300 HP OMEN Edition.json @@ -0,0 +1,52 @@ +{ + "IsNewFormat": true, + "keys_to_remove": [], + "key_modifications": {}, + "key_to_add": { + "-1": { + "Key": { + "visual_name": "NONE", + "tag": -1, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 0, + "Y": 0, + "Width": 128, + "Height": 232, + "Image": "SteelSeries_Rival_300_outline.png", + "IsImage": true + }, + "160": { + "Key": { + "visual_name": "Logo", + "tag": 160, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 41, + "Y": 177, + "Width": 40, + "Height": 40, + "Image": "Omen_logo.png", + "IsImage": true + }, + "161": { + "Key": { + "visual_name": "Scroll Wheel", + "tag": 161, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 53, + "Y": 43, + "Width": 16, + "Height": 31, + "Image": "SteelSeries_Rival_300_scrollwheel.png", + "IsImage": true + } + } +} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/SteelSeries - Rival 300.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/SteelSeries - Rival 300.json new file mode 100644 index 000000000..853945e2f --- /dev/null +++ b/Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/SteelSeries - Rival 300.json @@ -0,0 +1,52 @@ +{ + "IsNewFormat": true, + "keys_to_remove": [], + "key_modifications": {}, + "key_to_add": { + "-1": { + "Key": { + "visual_name": "NONE", + "tag": -1, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 0, + "Y": 0, + "Width": 128, + "Height": 232, + "Image": "SteelSeries_Rival_300_outline.png", + "IsImage": true + }, + "160": { + "Key": { + "visual_name": "Logo", + "tag": 160, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 41, + "Y": 177, + "Width": 40, + "Height": 40, + "Image": "SteelSeries_Rival_300_logo.png", + "IsImage": true + }, + "161": { + "Key": { + "visual_name": "Scroll Wheel", + "tag": 161, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 53, + "Y": 43, + "Width": 16, + "Height": 31, + "Image": "SteelSeries_Rival_300_scrollwheel.png", + "IsImage": true + } + } +} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/SteelSeries - Two-zone QcK Mousepad + Mouse.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/SteelSeries - Two-zone QcK Mousepad + Mouse.json new file mode 100644 index 000000000..086463bb9 --- /dev/null +++ b/Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/SteelSeries - Two-zone QcK Mousepad + Mouse.json @@ -0,0 +1,82 @@ +{ + "IsNewFormat": true, + "keys_to_remove": [], + "key_modifications": {}, + "key_to_add": { + "-1": { + "Key": { + "visual_name": "NONE", + "tag": -1, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 0, + "Y": 0, + "Width": 200, + "Height": 168, + "Image": "", + "IsImage": false + }, + "160": { + "Key": { + "visual_name": "Mouse Logo", + "tag": 160, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 75, + "Y": 89, + "Width": 50, + "Height": 50, + "Image": "", + "IsImage": false + }, + "161": { + "Key": { + "visual_name": "Scroll Wheel", + "tag": 161, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 75, + "Y": 29, + "Width": 50, + "Height": 50, + "Image": "", + "IsImage": false + }, + "201": { + "Key": { + "visual_name": "", + "tag": 201, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 0, + "Y": 0, + "Width": 16, + "Height": 168, + "Image": "", + "IsImage": false + }, + "202": { + "Key": { + "visual_name": "", + "tag": 202, + "device_id": null + }, + "FontSize": null, + "Enabled": true, + "X": 185, + "Y": 0, + "Width": 16, + "Height": 168, + "Image": "", + "IsImage": false + } + } +} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/Steelseries - Rival 650.json b/Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/Steelseries - Rival 650.json new file mode 100644 index 000000000..4e21ef589 --- /dev/null +++ b/Project-Aurora/Project-Aurora/DeviceLayouts/Mouse/Steelseries - Rival 650.json @@ -0,0 +1,125 @@ +{ + "IsNewFormat": true, + "keys_to_remove": [], + "key_modifications": {}, + "key_to_add": { + "-1": { + "Key": { + "tag": -1, + "visual_name": "NONE" + }, + "FontSize": null, + "Enabled": true, + "X": 1, + "Y": 0, + "Width": 122, + "Height": 232, + "Image": "SteelSeries_Rival_650_outline.png" + }, + "1": { + "Key": { + "tag": 1, + "visual_name": "NONE" + }, + "FontSize": null, + "Enabled": true, + "X": 52, + "Y": 36, + "Width": 14, + "Height": 36, + "Image": "SteelSeries_Rival_650_wheel.png" + }, + "0": { + "Key": { + "tag": 0, + "visual_name": "Logo" + }, + "FontSize": null, + "Enabled": true, + "X": 30, + "Y": 170, + "Width": 45, + "Height": 45, + "Image": "SteelSeries_Rival_300_logo.png" + }, + "2": { + "Key": { + "tag": 2, + "visual_name": "L1" + }, + "FontSize": null, + "Enabled": true, + "X": 31, + "Y": 103, + "Width": 12, + "Height": 37, + "Image": "SteelSeries_Rival_650_L1.png" + }, + "3": { + "Key": { + "tag": 3, + "visual_name": "L2" + }, + "FontSize": null, + "Enabled": true, + "X": 20, + "Y": 138, + "Width": 17, + "Height": 14, + "Image": "SteelSeries_Rival_650_L2.png" + }, + "4": { + "Key": { + "tag": 4, + "visual_name": "L3" + }, + "FontSize": null, + "Enabled": true, + "X": 8, + "Y": 151, + "Width": 13, + "Height": 14, + "Image": "SteelSeries_Rival_650_L3.png" + }, + "5": { + "Key": { + "tag": 5, + "visual_name": "R1" + }, + "FontSize": null, + "Enabled": true, + "X": 76, + "Y": 103, + "Width": 13, + "Height": 37, + "Image": "SteelSeries_Rival_650_R1.png" + }, + "6": { + "Key": { + "tag": 6, + "visual_name": "R2" + }, + "FontSize": null, + "Enabled": true, + "X": 85, + "Y": 139, + "Width": 17, + "Height": 14, + "Image": "SteelSeries_Rival_650_R2.png" + }, + "7": { + "Key": { + "tag": 7, + "visual_name": "R3" + }, + "FontSize": null, + "Enabled": true, + "X": 98, + "Y": 152, + "Width": 14, + "Height": 14, + "Image": "SteelSeries_Rival_650_R3.png" + } + }, + "jis_key_modifications": {} +} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/DeviceLayouts/OtherDevices/Ram.json b/Project-Aurora/Project-Aurora/DeviceLayouts/OtherDevices/Ram.json new file mode 100644 index 000000000..f8cfa8cf0 --- /dev/null +++ b/Project-Aurora/Project-Aurora/DeviceLayouts/OtherDevices/Ram.json @@ -0,0 +1,68 @@ +{ + "IsNewFormat": true, + "keys_to_remove": [], + "key_modifications": {}, + "key_to_add": { + "0": { + "Key": { + "tag": 0, + "visual_name": "." + }, + "FontSize": null, + "Enabled": true, + "X": 0, + "Y": 0, + "Width": 30, + "Height": 30 + }, + "1": { + "Key": { + "tag": 1, + "visual_name": "." + }, + "FontSize": null, + "Enabled": true, + "X": 0, + "Y": 37, + "Width": 30, + "Height": 30 + }, + "2": { + "Key": { + "tag": 2, + "visual_name": "." + }, + "FontSize": null, + "Enabled": true, + "X": 0, + "Y": 74, + "Width": 30, + "Height": 30 + }, + "3": { + "Key": { + "tag": 3, + "visual_name": "." + }, + "FontSize": null, + "Enabled": true, + "X": 0, + "Y": 111, + "Width": 30, + "Height": 30 + }, + "4": { + "Key": { + "tag": 4, + "visual_name": "." + }, + "FontSize": null, + "Enabled": true, + "X": 0, + "Y": 148, + "Width": 30, + "Height": 30 + } + }, + "jis_key_modifications": {} +} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/Devices/Asus/AsusDevice.cs b/Project-Aurora/Project-Aurora/Devices/Asus/AsusDevice.cs index 212293d29..8ed07f8a5 100644 --- a/Project-Aurora/Project-Aurora/Devices/Asus/AsusDevice.cs +++ b/Project-Aurora/Project-Aurora/Devices/Asus/AsusDevice.cs @@ -56,6 +56,7 @@ public bool Initialize() Global.Configuration.VarRegistry.GetVariable($"{DeviceName}_enable_unsupported_version"), Global.Configuration.VarRegistry.GetVariable($"{DeviceName}_force_initialize")); isActive = asusHandler.Start(); + return isActive; } @@ -103,7 +104,7 @@ public bool IsPeripheralConnected() } /// - public bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false) + public bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false) { asusHandler.UpdateColors(keyColors); return true; diff --git a/Project-Aurora/Project-Aurora/Devices/Asus/AsusHandler.cs b/Project-Aurora/Project-Aurora/Devices/Asus/AsusHandler.cs index 40034e098..7167e6677 100644 --- a/Project-Aurora/Project-Aurora/Devices/Asus/AsusHandler.cs +++ b/Project-Aurora/Project-Aurora/Devices/Asus/AsusHandler.cs @@ -98,7 +98,7 @@ public bool Start() { if (AuraSdk == null) return false; - + //return false; lock (deviceLock) { try @@ -195,7 +195,7 @@ public void Stop() } } - public void UpdateColors(Dictionary colors) + public void UpdateColors(Dictionary colors) { lock (deviceLock) { diff --git a/Project-Aurora/Project-Aurora/Devices/Asus/AsusSyncClaymoreDevice.cs b/Project-Aurora/Project-Aurora/Devices/Asus/AsusSyncClaymoreDevice.cs index e08525e2f..7f705d3bf 100644 --- a/Project-Aurora/Project-Aurora/Devices/Asus/AsusSyncClaymoreDevice.cs +++ b/Project-Aurora/Project-Aurora/Devices/Asus/AsusSyncClaymoreDevice.cs @@ -13,7 +13,7 @@ public class AsusSyncClaymoreDevice : AuraSyncDevice public AsusSyncClaymoreDevice(AsusHandler asusHandler, IAuraSyncDevice device, int frameRate = 30) : base( asusHandler, device, frameRate) { } - protected override void ApplyColors(Dictionary colors) + protected override void ApplyColors(Dictionary colors) { if (Global.Configuration.DevicesDisableKeyboard) return; @@ -22,8 +22,8 @@ protected override void ApplyColors(Dictionary colors) { var light = DeviceKeyToClaymore(i); - if (colors.ContainsKey(light)) - SetRgbLight(Device.Lights[i], colors[light]); + if (colors.ContainsKey((int)light)) + SetRgbLight(Device.Lights[i], colors[(int)light]); } } diff --git a/Project-Aurora/Project-Aurora/Devices/Asus/AsusSyncConfiguredDevice.cs b/Project-Aurora/Project-Aurora/Devices/Asus/AsusSyncConfiguredDevice.cs index d92cbfc53..5d0efe68e 100644 --- a/Project-Aurora/Project-Aurora/Devices/Asus/AsusSyncConfiguredDevice.cs +++ b/Project-Aurora/Project-Aurora/Devices/Asus/AsusSyncConfiguredDevice.cs @@ -19,13 +19,13 @@ public AsusSyncConfiguredDevice(AsusHandler asusHandler, IAuraSyncDevice device, } /// - protected override void ApplyColors(Dictionary colors) + protected override void ApplyColors(Dictionary colors) { lock (configLock) { foreach (var keyPair in config.KeyMapper) { - if (colors.TryGetValue(keyPair.Value, out var color)) + if (colors.TryGetValue((int)keyPair.Value, out var color)) SetRgbLight(keyPair.Key, color); } } diff --git a/Project-Aurora/Project-Aurora/Devices/Asus/AuraSyncDevice.cs b/Project-Aurora/Project-Aurora/Devices/Asus/AuraSyncDevice.cs index 9261c184b..e54c49e53 100644 --- a/Project-Aurora/Project-Aurora/Devices/Asus/AuraSyncDevice.cs +++ b/Project-Aurora/Project-Aurora/Devices/Asus/AuraSyncDevice.cs @@ -19,10 +19,10 @@ public class AuraSyncDevice : IDisposable private readonly IAuraSyncDevice device; public IAuraSyncDevice Device => device; private readonly AsusHandler asusHandler; - private readonly ConcurrentQueue> colorQueue = new ConcurrentQueue>(); + private readonly ConcurrentQueue> colorQueue = new ConcurrentQueue>(); private CancellationTokenSource tokenSource = new CancellationTokenSource(); private readonly int frameRateMillis; - private readonly DeviceKeys[] defaultKeys = { DeviceKeys.Peripheral, DeviceKeys.Peripheral_Logo, DeviceKeys.SPACE }; + private readonly int[] defaultKeys = { (int)DeviceKeys.Peripheral, (int)DeviceKeys.Peripheral_Logo, (int)DeviceKeys.SPACE }; private readonly Stopwatch stopwatch = new Stopwatch(); @@ -37,7 +37,7 @@ public AuraSyncDevice(AsusHandler asusHandler, IAuraSyncDevice device, int frame frameRateMillis = (int)((1f / frameRate) * 1000f); } - public void UpdateColors(Dictionary colors) + public void UpdateColors(Dictionary colors) { if (DeviceType == AsusHandler.AsusDeviceType.Mouse && Global.Configuration.DevicesDisableMouse) return; @@ -47,7 +47,7 @@ public void UpdateColors(Dictionary colors) colorQueue.TryDequeue(out _); // queue a clone of the colors - colorQueue.Enqueue(new Dictionary(colors)); + colorQueue.Enqueue(new Dictionary(colors)); } public void Start() @@ -114,7 +114,7 @@ private async void Thread(CancellationToken token) } catch (TaskCanceledException) { - asusHandler.DisconnectDevice(this); + //asusHandler.DisconnectDevice(this); return; } catch (Exception exception) @@ -132,7 +132,7 @@ private async void Thread(CancellationToken token) /// Try to apply the aurora color collection to this device /// /// The colors to apply - protected virtual void ApplyColors(Dictionary colors) + protected virtual void ApplyColors(Dictionary colors) { // simple implementation is to assign all colors to DefaultKey foreach (var defaultKey in defaultKeys) @@ -163,9 +163,9 @@ protected void SetRgbLight(int index, Color color) SetRgbLight(device.Lights[index], color); } - private Dictionary GetLatestColors() + private Dictionary GetLatestColors() { - Dictionary colors = null; + Dictionary colors = null; while (colorQueue.Count > 0) colorQueue.TryDequeue(out colors); diff --git a/Project-Aurora/Project-Aurora/Devices/Asus/AuraSyncKeyboardDevice.cs b/Project-Aurora/Project-Aurora/Devices/Asus/AuraSyncKeyboardDevice.cs index b36c62a0c..291105101 100644 --- a/Project-Aurora/Project-Aurora/Devices/Asus/AuraSyncKeyboardDevice.cs +++ b/Project-Aurora/Project-Aurora/Devices/Asus/AuraSyncKeyboardDevice.cs @@ -26,7 +26,8 @@ public AuraSyncKeyboardDevice(AsusHandler asusHandler, IAuraSyncKeyboard device, // BackSlash Key deviceKeyToKey[DeviceKeys.BACKSLASH_UK] = keyboard.Lights[(int)(4 * keyboard.Width + 1)]; - if (Global.Configuration.KeyboardBrand == Settings.PreferredKeyboard.Asus_Strix_Scope) + + if (Global.Configuration.KeyboardBrand == Settings.PreferredKeyboard.Asus_Strix_Scope) //"Asus_Strix_Scope") { // Left Windows Key deviceKeyToKey[DeviceKeys.LEFT_WINDOWS] = keyboard.Lights[(int)(5 * keyboard.Width + 2)]; @@ -37,14 +38,14 @@ public AuraSyncKeyboardDevice(AsusHandler asusHandler, IAuraSyncKeyboard device, } /// - protected override void ApplyColors(Dictionary colors) + protected override void ApplyColors(Dictionary colors) { if (Global.Configuration.DevicesDisableKeyboard) return; foreach (var keyPair in colors) { - if (!deviceKeyToKey.TryGetValue(keyPair.Key, out var light)) + if (!deviceKeyToKey.TryGetValue((DeviceKeys)keyPair.Key, out var light)) continue; SetRgbLight(light, keyPair.Value); diff --git a/Project-Aurora/Project-Aurora/Devices/AtmoOrb/AtmoOrbDevice.cs b/Project-Aurora/Project-Aurora/Devices/AtmoOrb/AtmoOrbDevice.cs index b0424e3f1..864516cd3 100644 --- a/Project-Aurora/Project-Aurora/Devices/AtmoOrb/AtmoOrbDevice.cs +++ b/Project-Aurora/Project-Aurora/Devices/AtmoOrb/AtmoOrbDevice.cs @@ -185,7 +185,7 @@ public bool UpdateDevice(DeviceColorComposition colorComposition, DoWorkEventArg return true; } - public bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false) + public bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false) { throw new NotImplementedException(); } diff --git a/Project-Aurora/Project-Aurora/Devices/AuroraDevice.cs b/Project-Aurora/Project-Aurora/Devices/AuroraDevice.cs new file mode 100644 index 000000000..307ea598e --- /dev/null +++ b/Project-Aurora/Project-Aurora/Devices/AuroraDevice.cs @@ -0,0 +1,207 @@ +using System; +using System.Collections.Generic; +using System.Diagnostics; +using System.Drawing; +using System.Linq; +using System.Runtime.ExceptionServices; +using System.Security; +using System.Text; +using System.Threading.Tasks; +using Aurora.Settings; +using Newtonsoft.Json; + +namespace Aurora.Devices +{ + public enum AuroraDeviceType + { + Keyboard = 0, + Mouse = 1, + Unkown = 2, + Headset = 3, + } + public class UniqueDeviceId + { + public string ConnectorName = ""; + public string DeviceName { get; set; } = "Generic SDK device"; + public int Index = 0; + [JsonIgnore] + public int? ViewPort = null; + public UniqueDeviceId() + { + } + public UniqueDeviceId(AuroraDeviceConnector connector, AuroraDevice device) + { + ConnectorName = connector.GetConnectorName(); + DeviceName = device.GetDeviceName(); + } + public static bool operator ==(UniqueDeviceId obj1, UniqueDeviceId obj2) + { + return (!(obj1 is null) && !(obj2 is null) + && string.Equals(obj1.ConnectorName, obj2.ConnectorName) + && string.Equals(obj1.DeviceName, obj2.DeviceName) + && obj1.Index == obj2.Index); + } + + public static bool operator !=(UniqueDeviceId obj1, UniqueDeviceId obj2) + { + return !(obj1 == obj2); + } + public override bool Equals(object obj) + { + return this == obj as UniqueDeviceId; + } + + } + public abstract class AuroraDevice + { + private readonly Stopwatch Watch = new Stopwatch(); + private long LastUpdateTime = 0; + private bool UpdateIsOngoing = false; + private bool DeviceIsConnected = false; + private AuroraDeviceConnector connector; + + public UniqueDeviceId id = null; + private VariableRegistry variableRegistry; + + public event EventHandler ConnectionHandler; + public event EventHandler UpdateFinished; + /// + /// Is called every frame (30fps). Update the device here + /// + + //[HandleProcessCorruptedStateExceptions, SecurityCritical] + public async void UpdateDevice(DeviceColorComposition composition) + { + if (IsConnected()) + { + if (Global.Configuration.DevicesDisabled.Contains(GetType())) + { + //Initialized when it's supposed to be disabled? SMACK IT! + Disconnect(); + return; + } + + if (!UpdateIsOngoing) + { + UpdateIsOngoing = true; + Watch.Restart(); + try + { + if (!await Task.Run(() => UpdateDeviceImpl(composition))) + { + LogError(DeviceName + " device, error when updating device."); + } + } + catch (Exception exc) + { + LogError(DeviceName + " device, error when updating device. Exception: " + exc.Message); + } + + + Watch.Stop(); + LastUpdateTime = Watch.ElapsedMilliseconds; + + await Task.Run(() => connector?.DeviceLedUpdateFinished()); + UpdateFinished.Invoke(this, new EventArgs()); + UpdateIsOngoing = false; + } + + } + } + protected abstract bool UpdateDeviceImpl(DeviceColorComposition composition); + + public string GetDeviceUpdatePerformance() + { + return IsConnected() ? LastUpdateTime + " ms" : ""; + } + public async void Connect() + { + /*if (GetDeviceType() == AuroraDeviceType.Keyboard && Global.Configuration.DevicesDisableKeyboard || + GetDeviceType() == AuroraDeviceType.Mouse && Global.Configuration.DevicesDisableMouse || + GetDeviceType() == AuroraDeviceType.Headset && Global.Configuration.DevicesDisableHeadset) + { + Disconnect(); + } + else*/ + { + try + { + if (await Task.Run(() => ConnectImpl())) + { + ConnectionHandler.Invoke(this, new EventArgs()); + DeviceIsConnected = true; + } + } + catch (Exception exc) + { + Global.logger.Info("Device, " + GetDeviceName() + ", throwed exception:" + exc.ToString()); + } + } + } + protected virtual bool ConnectImpl() + { + return true; + } + + public void Disconnect() + { + if (IsConnected()) + { + DisconnectImpl(); + DeviceIsConnected = false; + ConnectionHandler.Invoke(this, new EventArgs()); + } + } + protected virtual void DisconnectImpl() + { + } + + public abstract List GetAllDeviceKey(); + + protected abstract string DeviceName { get; } + public string GetDeviceName() => DeviceName; + + public virtual string GetDeviceDetails() => DeviceName + ": " + (IsConnected() ? "Connected" : "Not connected"); + + protected abstract AuroraDeviceType AuroraDeviceType { get; } + public AuroraDeviceType GetDeviceType() => AuroraDeviceType; + + public VariableRegistry GetRegisteredVariables() + { + if (variableRegistry == null) + { + variableRegistry = new VariableRegistry(); + RegisterVariables(variableRegistry); + } + return variableRegistry; + } + /// + /// Only called once when registering variables. Can be empty if not needed + /// + protected virtual void RegisterVariables(VariableRegistry local) + { + //purposefully empty, if varibles are needed, this should be overridden + } + + public bool IsConnected() => DeviceIsConnected; + + protected void LogInfo(string s) => Global.logger.Info(s); + + protected void LogError(string s) => Global.logger.Error(s); + + protected Color CorrectAlpha(Color clr) => Utils.ColorUtils.CorrectWithAlpha(clr); + + protected VariableRegistry GlobalVarRegistry => Global.Configuration.VarRegistry; + + public void SetConnector(AuroraDeviceConnector connector) + { + this.connector = connector; + } + } + + public abstract class AuroraKeyboardDevice : AuroraDevice + { + protected override AuroraDeviceType AuroraDeviceType => AuroraDeviceType.Keyboard; + + } +} diff --git a/Project-Aurora/Project-Aurora/Devices/AuroraDeviceConnector.cs b/Project-Aurora/Project-Aurora/Devices/AuroraDeviceConnector.cs new file mode 100644 index 000000000..7b884b18b --- /dev/null +++ b/Project-Aurora/Project-Aurora/Devices/AuroraDeviceConnector.cs @@ -0,0 +1,242 @@ +using Aurora.Settings; +using SharpDX.Direct3D11; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading; +using System.Threading.Tasks; + +namespace Aurora.Devices +{ + public class OldAuroraDeviceWrapper : IDevice + { + AuroraDeviceConnector Connector; + public string DeviceName => Connector.GetConnectorName(); + + public string DeviceDetails => string.Join(", ", Connector.Devices.Select(d => d.GetDeviceName())); + + public string DeviceUpdatePerformance => string.Join(", ", Connector.Devices.Select(d => d.GetDeviceUpdatePerformance())); + + public bool IsInitialized => Connector.IsInitialized(); + + public VariableRegistry RegisteredVariables => Connector.GetRegisteredVariables(); + + public OldAuroraDeviceWrapper(AuroraDeviceConnector connector) + { + Connector = connector; + } + + public bool Initialize() + { + Connector.Initialize(); + return true; + } + + public void Reset() + { + Connector.Reset(); + } + + public void Shutdown() + { + Connector.Shutdown(); + } + + public bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false) + { + return true; + } + + public bool UpdateDevice(DeviceColorComposition colorComposition, DoWorkEventArgs e, bool forced = false) + { + return true; + } + } + public abstract class AuroraDeviceConnector + { + //private Dictionary Devices = new Dictionary(); + private List devices = new List(); + public IReadOnlyList Devices => devices.AsReadOnly(); + private bool isInitialized; + public event EventHandler NewSuccessfulInitiation; + private int DisconnectedDeviceCount = 0; + private int UpdatedDeviceCount = 0; + private SemaphoreSlim SingleThread = new SemaphoreSlim(1, 1); + + protected abstract string ConnectorName { get; } + public string GetConnectorName() => ConnectorName; + public virtual void Reset() + { + Shutdown(); + Initialize(); + } + private void RegisterDeviceId (AuroraDevice dev) + { + UniqueDeviceId id = new UniqueDeviceId(this, dev); + while (Devices.Where(d => d.id == id).Any()) + { + id.Index++; + } + var usedIdConfig = Global.devicesLayout.DevicesConfig.Values.Where(c => c.Id == id); + if(!usedIdConfig.Any()) + { + dev.id = id; + } + else + { + dev.id = usedIdConfig.First().Id; + } + + } + protected void RegisterDevice(AuroraDevice device) + { + device.SetConnector(this); + RegisterDeviceId(device); + devices.Add(device); + Global.Configuration.VarRegistry.Combine(device.GetRegisteredVariables()); + device.ConnectionHandler += ConnectionHandling; + device.UpdateFinished += DeviceUpdated; + device.Connect(); + } + public virtual void DeviceLedUpdateFinished() + { + + } + /// + /// Is called first. Initialize the device here + /// + public async void Initialize() + { + await SingleThread.WaitAsync(); + + if (!IsInitialized() && !Global.Configuration.DevicesDisabled.Contains(GetType())) + { + Global.logger.Info("Start initializing Connector: " + GetConnectorName()); + try + { + /*if (!Global.Configuration.devices_not_first_time.Contains(GetType())) + { + RunFirstTime(); + Global.Configuration.devices_not_first_time.Add(GetType()); + }*/ + if (await Task.Run(() => InitializeImpl())) + { + DisconnectedDeviceCount = 0; + if (Devices.Any()) + { + isInitialized = true; + NewSuccessfulInitiation?.Invoke(this, new EventArgs()); + } + } + } + catch (Exception exc) + { + Global.logger.Info("Connector, " + GetConnectorName() + ", throwed exception:" + exc.ToString()); + } + Global.logger.Info("Connector, " + GetConnectorName() + ", was" + (IsInitialized() ? "" : " not") + " initialized"); + } + SingleThread.Release(); + + } + + protected abstract bool InitializeImpl(); + protected virtual void RunFirstTime() { } + + private void ConnectionHandling(object sender, EventArgs args) + { + AuroraDevice device = sender as AuroraDevice; + if (device.IsConnected()) + { + DisconnectedDeviceCount--; + } + else + { + DisconnectedDeviceCount++; + } + if (DisconnectedDeviceCount == 0) + { + Shutdown(); + } + } + private void DeviceUpdated(object sender, EventArgs args) + { + AuroraDevice device = sender as AuroraDevice; + UpdatedDeviceCount++; + if (UpdatedDeviceCount == Devices.Count) + { + UpdateDevices(); + } + } + protected virtual void UpdateDevices() + { + + } + /// + /// Is called last. Dispose of the devices here + /// + public async void Shutdown() + { + await SingleThread.WaitAsync(); + + try + { + if (IsInitialized()) + { + foreach (var device in Devices) + { + device.Disconnect(); + } + devices.Clear(); + await Task.Run(() => ShutdownImpl()); + isInitialized = false; + Global.logger.Info("Connector, " + GetConnectorName() + ", was shutdown"); + } + } + catch (Exception exc) + { + Global.logger.Info("Connector, " + GetConnectorName() + ", throwed exception:" + exc.ToString()); + } + SingleThread.Release(); + } + + protected abstract void ShutdownImpl(); + + + public bool IsInitialized() => isInitialized; + + public string GetConnectorDetails() => isInitialized ? + ConnectorName + ": " + ConnectorSubDetails : + ConnectorName + ": Not Initialized"; + protected virtual string ConnectorSubDetails => "Initialized"; + + protected void LogInfo(string s) => Global.logger.Info(s); + protected void LogError(string s) => Global.logger.Error(s); + + private VariableRegistry variableRegistry; + public virtual VariableRegistry GetRegisteredVariables() + { + if (variableRegistry == null) + { + variableRegistry = new VariableRegistry(); + RegisterVariables(variableRegistry); + foreach (var dev in Devices) + { + variableRegistry.Combine(dev.GetRegisteredVariables()); + } + } + return variableRegistry; + } + /// + /// Only called once when registering variables. Can be empty if not needed + /// + protected virtual void RegisterVariables(VariableRegistry local) + { + //purposefully empty, if varibles are needed, this should be overridden + } + protected VariableRegistry GlobalVarRegistry => Global.Configuration.VarRegistry; + + } +} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/Devices/Bloody/Bloody.cs b/Project-Aurora/Project-Aurora/Devices/Bloody/Bloody.cs index f7431961a..26ce7abc2 100644 --- a/Project-Aurora/Project-Aurora/Devices/Bloody/Bloody.cs +++ b/Project-Aurora/Project-Aurora/Devices/Bloody/Bloody.cs @@ -31,15 +31,15 @@ public override void Shutdown() IsInitialized = false; } - public override bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false) + public override bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false) { if (!IsInitialized) return false; - foreach (var key in keyColors) + foreach (var (key, clr) in keyColors) { - if (BloodyKeyMap.KeyMap.TryGetValue(key.Key, out var bloodyKey)) - keyboard.SetKeyColor(bloodyKey, ColorUtils.CorrectWithAlpha(key.Value)); + if (BloodyKeyMap.KeyMap.TryGetValue((DeviceKeys)key, out var bloodyKey)) + keyboard.SetKeyColor(bloodyKey, ColorUtils.CorrectWithAlpha(clr)); } return keyboard.Update(); diff --git a/Project-Aurora/Project-Aurora/Devices/Clevo/ClevoDevice.cs b/Project-Aurora/Project-Aurora/Devices/Clevo/ClevoDevice.cs index 96c629c8f..185c33f94 100644 --- a/Project-Aurora/Project-Aurora/Devices/Clevo/ClevoDevice.cs +++ b/Project-Aurora/Project-Aurora/Devices/Clevo/ClevoDevice.cs @@ -129,7 +129,7 @@ public bool IsConnected() throw new NotImplementedException(); } - public bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false) // Is this necessary? + public bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false) // Is this necessary? { throw new NotImplementedException(); } @@ -140,16 +140,16 @@ public bool UpdateDevice(DeviceColorComposition colorComposition, DoWorkEventArg watch.Restart(); bool update_result = false; - Dictionary keyColors = colorComposition.keyColors; + Dictionary keyColors = colorComposition.keyColors; if (e.Cancel) return false; try { - foreach (KeyValuePair pair in keyColors) + foreach (KeyValuePair pair in keyColors) { if (e.Cancel) return false; if (useGlobalPeriphericColors) { - if (pair.Key == DeviceKeys.Peripheral) // This is not working anymore. Was working in MASTER + if (pair.Key == (int)DeviceKeys.Peripheral) // This is not working anymore. Was working in MASTER { ColorKBLeft = pair.Value; ColorKBCenter = pair.Value; @@ -161,7 +161,7 @@ public bool UpdateDevice(DeviceColorComposition colorComposition, DoWorkEventArg else { // TouchPad (It would be nice to have a Touchpad Peripheral) - if (pair.Key == DeviceKeys.Peripheral) + if (pair.Key == (int)DeviceKeys.Peripheral) { ColorTouchpad = pair.Value; ColorUpdated = true; diff --git a/Project-Aurora/Project-Aurora/Devices/CoolerMaster/CoolerMasterDevice.cs b/Project-Aurora/Project-Aurora/Devices/CoolerMaster/CoolerMasterDevice.cs index 30b0564b1..ed1f3aee0 100755 --- a/Project-Aurora/Project-Aurora/Devices/CoolerMaster/CoolerMasterDevice.cs +++ b/Project-Aurora/Project-Aurora/Devices/CoolerMaster/CoolerMasterDevice.cs @@ -54,7 +54,7 @@ public override void Shutdown() IsInitialized = false; } - public override bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false) + public override bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false) { foreach (var (dev, colors) in InitializedDevices) { @@ -75,11 +75,12 @@ public override bool UpdateDevice(Dictionary keyColors, DoWorkEventAr foreach (var (dk, clr) in keyColors) { - DK key = dk; + DK key = (DeviceKeys)dk; //HACK: the layouts for some reason switch backslash and enter //around between ANSI and ISO needlessly. We swap them around here - if (key == DK.ENTER && !Global.kbLayout.Loaded_Localization.IsANSI()) - key = DK.BACKSLASH; + //TODO fix it to work + /*if (key == DK.ENTER && !Global.kbLayout.Loaded_Localization.IsANSI()) + key = DK.BACKSLASH;*/ if (dict.TryGetValue(key, out var position)) colors.KeyColor[position.row, position.column] = new Native.KEY_COLOR(ColorUtils.CorrectWithAlpha(clr)); diff --git a/Project-Aurora/Project-Aurora/Devices/Corsair/CorsairDevice.cs b/Project-Aurora/Project-Aurora/Devices/Corsair/CorsairDevice.cs index 567319e5e..83cd3f879 100644 --- a/Project-Aurora/Project-Aurora/Devices/Corsair/CorsairDevice.cs +++ b/Project-Aurora/Project-Aurora/Devices/Corsair/CorsairDevice.cs @@ -1,8 +1,5 @@ using Aurora.Settings; using Aurora.Utils; -using CorsairRGB.NET; -using CorsairRGB.NET.Enums; -using CorsairRGB.NET.Structures; using Mono.CSharp; using System; using System.Collections.Generic; @@ -10,156 +7,174 @@ using System.Drawing; using System.Linq; using System.Text; -using CUESDK = CorsairRGB.NET.CUE; +using Corsair.CUE.SDK; +using IronPython.Runtime; +using SharpDX.Direct3D11; +using System.Threading; +using Aurora.Profiles.Discord.GSI.Nodes; +using NLog.Fluent; namespace Aurora.Devices.Corsair { - public class CorsairDevice : DefaultDevice + public class CorsairDeviceConnector : AuroraDeviceConnector { - public override string DeviceName => "Corsair"; - - protected override string DeviceInfo => string.Join(", ", deviceInfos.Select(d => d.Model)); - - private readonly List deviceInfos = new List(); - - public override bool Initialize() + private SemaphoreSlim allDeviceUpdated; + protected override string ConnectorName => "Corsair"; + private int deviceWaitCounter = 0; + protected override bool InitializeImpl() { - CUESDK.PerformProtocolHandshake(); - var error = CUESDK.GetLastError(); - if (error != CorsairError.Success) + CUESDK.CorsairPerformProtocolHandshake(); + + var error = CUESDK.CorsairGetLastError(); + if (error != CorsairError.CE_Success) { LogError("Error: " + error); - return IsInitialized = false; + return false; } + allDeviceUpdated = new SemaphoreSlim(0, 1); - for (int i = 0; i < CUESDK.GetDeviceCount(); i++) - deviceInfos.Add(CUESDK.GetDeviceInfo(i)); + for (int i = 0; i < CUESDK.CorsairGetDeviceCount(); i++) + { + RegisterDevice(CreateDevice(CUESDK.CorsairGetDeviceInfo(i), i)); + } - if (Global.Configuration.VarRegistry.GetVariable($"{DeviceName}_exclusive") && !CUESDK.RequestControl()) + if (Global.Configuration.VarRegistry.GetVariable($"{ConnectorName}_exclusive") && !CUESDK.CorsairRequestControl(CorsairAccessMode.CAM_ExclusiveLightingControl)) { - LogError("Error requesting cuesdk exclusive control:" + CUESDK.GetLastError()); + LogError("Error requesting cuesdk exclusive control:" + CUESDK.CorsairGetLastError()); } - CUESDK.SetLayerPriority(255); + CUESDK.CorsairSetLayerPriority(255); - return IsInitialized = true; + return true; + } + private CorsairDevice CreateDevice(CorsairDeviceInfo info, int index) + { + switch (info.type) + { + case CorsairDeviceType.CDT_Keyboard: + return new CorsairKeyboard(info, index); + case CorsairDeviceType.CDT_Mouse: + case CorsairDeviceType.CDT_MouseMat: + return new CorsairDevice(info, index, AuroraDeviceType.Mouse); + case CorsairDeviceType.CDT_Headset: + case CorsairDeviceType.CDT_HeadsetStand: + return new CorsairDevice(info, index, AuroraDeviceType.Headset); + case CorsairDeviceType.CDT_CommanderPro: + case CorsairDeviceType.CDT_LightingNodePro: + case CorsairDeviceType.CDT_MemoryModule: + case CorsairDeviceType.CDT_Cooler: + case CorsairDeviceType.CDT_Motherboard: + case CorsairDeviceType.CDT_GraphicsCard: + default: + return new CorsairDevice(info, index); + } } - public override void Shutdown() + protected override void ShutdownImpl() { - CUESDK.SetLayerPriority(0); - deviceInfos.Clear(); - CUESDK.ReleaseControl(); - IsInitialized = false; + CUESDK.CorsairSetLayerPriority(0); + CUESDK.CorsairReleaseControl(CorsairAccessMode.CAM_ExclusiveLightingControl); + allDeviceUpdated.Dispose(); } - public override bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false) + public override void DeviceLedUpdateFinished() { - if (deviceInfos.Count != CUESDK.GetDeviceCount()) + if (Devices.Count != CUESDK.CorsairGetDeviceCount()) + { this.Reset(); + return; + } - for (int i = 0; i < deviceInfos.Count; i++) + deviceWaitCounter++; + if (deviceWaitCounter != Devices.Where(d => d.id.ViewPort != null).ToList().Count) { - var deviceInfo = deviceInfos[i]; - if (deviceInfo.Type == CorsairDeviceType.Keyboard && Global.Configuration.DevicesDisableKeyboard) - continue; + allDeviceUpdated.Wait(); + return; + } + CUESDK.CorsairSetLedsColorsFlushBuffer(); + allDeviceUpdated.Release(); + allDeviceUpdated = new SemaphoreSlim(0, 1); + deviceWaitCounter = 0; + } + protected override void RegisterVariables(VariableRegistry variableRegistry) + { + variableRegistry.Register($"{ConnectorName}_exclusive", false, "Request exclusive control"); + } + } - if ((deviceInfo.Type == CorsairDeviceType.Mouse || deviceInfo.Type == CorsairDeviceType.MouseMat) - && Global.Configuration.DevicesDisableMouse) - continue; - if ((deviceInfo.Type == CorsairDeviceType.Headset || deviceInfo.Type == CorsairDeviceType.HeadsetStand) - && Global.Configuration.DevicesDisableHeadset) - continue; + public class CorsairDevice : AuroraDevice + { + protected override string DeviceName => deviceInfo.model; - List colors = new List(); + protected List colors = new List(); + private AuroraDeviceType type; + protected override AuroraDeviceType AuroraDeviceType => type; - if (LedMaps.MapsMap.TryGetValue(deviceInfo.Type, out var dict) && dict.Count != 0) - { - foreach (var led in keyColors) - { - if (dict.TryGetValue(led.Key, out var ledid)) - { - colors.Add(new CorsairLedColor() - { - LedId = ledid, - R = led.Value.R, - G = led.Value.G, - B = led.Value.B - }); - } - } - } - else - { - if (keyColors.TryGetValue(DeviceKeys.Peripheral_Logo, out var clr)) - { - if(deviceInfo.Type == CorsairDeviceType.LightingNodePro || deviceInfo.Type == CorsairDeviceType.CommanderPro) - { - int totalLeds = 0; - for (int j = 0; j < deviceInfo.Channels.ChannelsCount; j++) - { - totalLeds += deviceInfo.Channels.Channels[j].TotalLedsCount; - foreach (var ledid in LedMaps.ChannelLeds[j]) - { - if (colors.Count == totalLeds) - continue; - - colors.Add(new CorsairLedColor() - { - LedId = ledid, - R = clr.R, - G = clr.G, - B = clr.B - }); - } - } - } - else - { - CorsairLedId initial = GetInitialLedIdForDeviceType(deviceInfo.Type); - - if (initial == CorsairLedId.I_Invalid) - continue; - - for(int j = 0; j < deviceInfo.LedsCount; j++) - { - colors.Add(new CorsairLedColor() - { - LedId = initial++, - R = clr.R, - G = clr.G, - B = clr.B - }); - } - } - } - } + protected CorsairDeviceInfo deviceInfo; + protected int deviceIndex; + protected Dictionary KeyMapping = new Dictionary(new DeviceKey.EqualityComparer()); - if (colors.Count == 0) - continue; + protected CorsairDevice() {} + public CorsairDevice(CorsairDeviceInfo deviceInfo, int index, AuroraDeviceType type = AuroraDeviceType.Unkown) + { + this.deviceInfo = deviceInfo; + deviceIndex = index; + this.type = type; + var ledPositions = CUESDK.CorsairGetLedPositionsByDeviceIndex(deviceIndex); - CUESDK.SetDeviceColors(i, colors.ToArray()); + int overIndex = 0; + foreach (var pos in ledPositions.pLedPosition) + { + KeyMapping[new DeviceKey(overIndex++, pos.ledId.ToString())] = pos.ledId; + colors.Add(new CorsairLedColor { ledId = pos.ledId }); } - - return CUESDK.Update(); } - - private CorsairLedId GetInitialLedIdForDeviceType(CorsairDeviceType type) + protected override bool UpdateDeviceImpl(DeviceColorComposition composition) { - return type switch + List colors = new List(); + foreach (var (key, clr) in composition.keyColors) { - CorsairDeviceType.Headset => CorsairLedId.H_LeftLogo, - CorsairDeviceType.MemoryModule => CorsairLedId.DRAM_1, - CorsairDeviceType.Cooler => CorsairLedId.LC_C1_1, - CorsairDeviceType.Motherboard => CorsairLedId.MB_Zone1, - CorsairDeviceType.GraphicsCard => CorsairLedId.GPU_Zone1, - _ => CorsairLedId.I_Invalid - }; + if (KeyMapping.TryGetValue(key, out var ledid)) + { + colors.Add(new CorsairLedColor() + { + ledId = ledid, + r = clr.R, + g = clr.G, + b = clr.B + }); + } + } + CUESDK.CorsairSetLedsColorsBufferByDeviceIndex(deviceIndex, colors.Count, colors.ToArray()); + return true; } - protected override void RegisterVariables(VariableRegistry variableRegistry) + + public override List GetAllDeviceKey() => KeyMapping.Keys.ToList(); + } + public class CorsairKeyboard : CorsairDevice + { + protected override AuroraDeviceType AuroraDeviceType => AuroraDeviceType.Keyboard; + + public CorsairKeyboard(CorsairDeviceInfo deviceInfo, int index) { - variableRegistry.Register($"{DeviceName}_exclusive", false, "Request exclusive control"); + this.deviceInfo = deviceInfo; + deviceIndex = index; + var ledPositions = CUESDK.CorsairGetLedPositionsByDeviceIndex(deviceIndex); + int overIndex = 0; + foreach (var pos in ledPositions.pLedPosition) + { + if (LedMaps.KeyboardLedMap.TryGetValue(pos.ledId, out var dk)) + { + KeyMapping[new DeviceKey(dk)] = pos.ledId; + } + else + { + KeyMapping[new DeviceKey(500 + overIndex++, pos.ledId.ToString())] = pos.ledId; + } + colors.Add(new CorsairLedColor { ledId = pos.ledId }); + } + } } } diff --git a/Project-Aurora/Project-Aurora/Devices/Corsair/LedMaps.cs b/Project-Aurora/Project-Aurora/Devices/Corsair/LedMaps.cs index 5229f910f..6f7e98195 100644 --- a/Project-Aurora/Project-Aurora/Devices/Corsair/LedMaps.cs +++ b/Project-Aurora/Project-Aurora/Devices/Corsair/LedMaps.cs @@ -4,188 +4,188 @@ using System.Text; using System.Threading.Tasks; using Aurora.Utils; -using CorsairRGB.NET.Enums; -using CorsairRGB.NET.Structures; +using Corsair.CUE.SDK; namespace Aurora.Devices.Corsair { internal static class LedMaps { - internal static readonly Dictionary KeyboardLedMap = new Dictionary() + internal static readonly Dictionary KeyboardLedMap = new Dictionary() { - [DeviceKeys.ESC] = CorsairLedId.K_Escape, - [DeviceKeys.F1] = CorsairLedId.K_F1, - [DeviceKeys.F2] = CorsairLedId.K_F2, - [DeviceKeys.F3] = CorsairLedId.K_F3, - [DeviceKeys.F4] = CorsairLedId.K_F4, - [DeviceKeys.F5] = CorsairLedId.K_F5, - [DeviceKeys.F6] = CorsairLedId.K_F6, - [DeviceKeys.F7] = CorsairLedId.K_F7, - [DeviceKeys.F8] = CorsairLedId.K_F8, - [DeviceKeys.F9] = CorsairLedId.K_F9, - [DeviceKeys.F10] = CorsairLedId.K_F10, - [DeviceKeys.F11] = CorsairLedId.K_F11, - [DeviceKeys.TILDE] = CorsairLedId.K_GraveAccentAndTilde, - [DeviceKeys.ONE] = CorsairLedId.K_1, - [DeviceKeys.TWO] = CorsairLedId.K_2, - [DeviceKeys.THREE] = CorsairLedId.K_3, - [DeviceKeys.FOUR] = CorsairLedId.K_4, - [DeviceKeys.FIVE] = CorsairLedId.K_5, - [DeviceKeys.SIX] = CorsairLedId.K_6, - [DeviceKeys.SEVEN] = CorsairLedId.K_7, - [DeviceKeys.EIGHT] = CorsairLedId.K_8, - [DeviceKeys.NINE] = CorsairLedId.K_9, - [DeviceKeys.ZERO] = CorsairLedId.K_0, - [DeviceKeys.MINUS] = CorsairLedId.K_MinusAndUnderscore, - [DeviceKeys.TAB] = CorsairLedId.K_Tab, - [DeviceKeys.Q] = CorsairLedId.K_Q, - [DeviceKeys.W] = CorsairLedId.K_W, - [DeviceKeys.E] = CorsairLedId.K_E, - [DeviceKeys.R] = CorsairLedId.K_R, - [DeviceKeys.T] = CorsairLedId.K_T, - [DeviceKeys.Y] = CorsairLedId.K_Y, - [DeviceKeys.U] = CorsairLedId.K_U, - [DeviceKeys.I] = CorsairLedId.K_I, - [DeviceKeys.O] = CorsairLedId.K_O, - [DeviceKeys.P] = CorsairLedId.K_P, - [DeviceKeys.OPEN_BRACKET] = CorsairLedId.K_BracketLeft, - [DeviceKeys.CAPS_LOCK] = CorsairLedId.K_CapsLock, - [DeviceKeys.A] = CorsairLedId.K_A, - [DeviceKeys.S] = CorsairLedId.K_S, - [DeviceKeys.D] = CorsairLedId.K_D, - [DeviceKeys.F] = CorsairLedId.K_F, - [DeviceKeys.G] = CorsairLedId.K_G, - [DeviceKeys.H] = CorsairLedId.K_H, - [DeviceKeys.J] = CorsairLedId.K_J, - [DeviceKeys.K] = CorsairLedId.K_K, - [DeviceKeys.L] = CorsairLedId.K_L, - [DeviceKeys.SEMICOLON] = CorsairLedId.K_SemicolonAndColon, - [DeviceKeys.APOSTROPHE] = CorsairLedId.K_ApostropheAndDoubleQuote, - [DeviceKeys.LEFT_SHIFT] = CorsairLedId.K_LeftShift, - [DeviceKeys.BACKSLASH_UK] = CorsairLedId.K_NonUsBackslash, - [DeviceKeys.Z] = CorsairLedId.K_Z, - [DeviceKeys.X] = CorsairLedId.K_X, - [DeviceKeys.C] = CorsairLedId.K_C, - [DeviceKeys.V] = CorsairLedId.K_V, - [DeviceKeys.B] = CorsairLedId.K_B, - [DeviceKeys.N] = CorsairLedId.K_N, - [DeviceKeys.M] = CorsairLedId.K_M, - [DeviceKeys.COMMA] = CorsairLedId.K_CommaAndLessThan, - [DeviceKeys.PERIOD] = CorsairLedId.K_PeriodAndBiggerThan, - [DeviceKeys.FORWARD_SLASH] = CorsairLedId.K_SlashAndQuestionMark, - [DeviceKeys.LEFT_CONTROL] = CorsairLedId.K_LeftCtrl, - [DeviceKeys.LEFT_WINDOWS] = CorsairLedId.K_LeftGui, - [DeviceKeys.LEFT_ALT] = CorsairLedId.K_LeftAlt, - //[DeviceKeys.Lang2] = CorsairLedId.K_Lang2, - [DeviceKeys.SPACE] = CorsairLedId.K_Space, - //[DeviceKeys.Lang1] = CorsairLedId.K_Lang1, - //[DeviceKeys.International2] = CorsairLedId.K_International2, - [DeviceKeys.RIGHT_ALT] = CorsairLedId.K_RightAlt, - [DeviceKeys.RIGHT_WINDOWS] = CorsairLedId.K_RightGui, - [DeviceKeys.APPLICATION_SELECT] = CorsairLedId.K_Application, - //[DeviceKeys.LedProgramming] = CorsairLedId.K_LedProgramming, - [DeviceKeys.BRIGHTNESS_SWITCH] = CorsairLedId.K_Brightness, - [DeviceKeys.F12] = CorsairLedId.K_F12, - [DeviceKeys.PRINT_SCREEN] = CorsairLedId.K_PrintScreen, - [DeviceKeys.SCROLL_LOCK] = CorsairLedId.K_ScrollLock, - [DeviceKeys.PAUSE_BREAK] = CorsairLedId.K_PauseBreak, - [DeviceKeys.INSERT] = CorsairLedId.K_Insert, - [DeviceKeys.HOME] = CorsairLedId.K_Home, - [DeviceKeys.PAGE_UP] = CorsairLedId.K_PageUp, - [DeviceKeys.CLOSE_BRACKET] = CorsairLedId.K_BracketRight, - [DeviceKeys.BACKSLASH] = CorsairLedId.K_Backslash, - [DeviceKeys.HASHTAG] = CorsairLedId.K_NonUsTilde, - [DeviceKeys.ENTER] = CorsairLedId.K_Enter, - //[DeviceKeys.International1] = CorsairLedId.K_International1, - [DeviceKeys.EQUALS] = CorsairLedId.K_EqualsAndPlus, - //[DeviceKeys.International3] = CorsairLedId.K_International3, - [DeviceKeys.BACKSPACE] = CorsairLedId.K_Backspace, - [DeviceKeys.DELETE] = CorsairLedId.K_Delete, - [DeviceKeys.END] = CorsairLedId.K_End, - [DeviceKeys.PAGE_DOWN] = CorsairLedId.K_PageDown, - [DeviceKeys.RIGHT_SHIFT] = CorsairLedId.K_RightShift, - [DeviceKeys.RIGHT_CONTROL] = CorsairLedId.K_RightCtrl, - [DeviceKeys.ARROW_UP] = CorsairLedId.K_UpArrow, - [DeviceKeys.ARROW_LEFT] = CorsairLedId.K_LeftArrow, - [DeviceKeys.ARROW_DOWN] = CorsairLedId.K_DownArrow, - [DeviceKeys.ARROW_RIGHT] = CorsairLedId.K_RightArrow, - [DeviceKeys.LOCK_SWITCH] = CorsairLedId.K_WinLock, - [DeviceKeys.VOLUME_MUTE] = CorsairLedId.K_Mute, - [DeviceKeys.MEDIA_STOP] = CorsairLedId.K_Stop, - [DeviceKeys.MEDIA_PREVIOUS] = CorsairLedId.K_ScanPreviousTrack, - [DeviceKeys.MEDIA_PLAY_PAUSE] = CorsairLedId.K_PlayPause, - [DeviceKeys.MEDIA_NEXT] = CorsairLedId.K_ScanNextTrack, - [DeviceKeys.NUM_LOCK] = CorsairLedId.K_NumLock, - [DeviceKeys.NUM_SLASH] = CorsairLedId.K_KeypadSlash, - [DeviceKeys.NUM_ASTERISK] = CorsairLedId.K_KeypadAsterisk, - [DeviceKeys.NUM_MINUS] = CorsairLedId.K_KeypadMinus, - [DeviceKeys.NUM_PLUS] = CorsairLedId.K_KeypadPlus, - [DeviceKeys.NUM_ENTER] = CorsairLedId.K_KeypadEnter, - [DeviceKeys.NUM_SEVEN] = CorsairLedId.K_Keypad7, - [DeviceKeys.NUM_EIGHT] = CorsairLedId.K_Keypad8, - [DeviceKeys.NUM_NINE] = CorsairLedId.K_Keypad9, - [DeviceKeys.NUM_ZEROZERO] = CorsairLedId.K_KeypadComma, - [DeviceKeys.NUM_FOUR] = CorsairLedId.K_Keypad4, - [DeviceKeys.NUM_FIVE] = CorsairLedId.K_Keypad5, - [DeviceKeys.NUM_SIX] = CorsairLedId.K_Keypad6, - [DeviceKeys.NUM_ONE] = CorsairLedId.K_Keypad1, - [DeviceKeys.NUM_TWO] = CorsairLedId.K_Keypad2, - [DeviceKeys.NUM_THREE] = CorsairLedId.K_Keypad3, - [DeviceKeys.NUM_ZERO] = CorsairLedId.K_Keypad0, - [DeviceKeys.NUM_PERIOD] = CorsairLedId.K_KeypadPeriodAndDelete, - [DeviceKeys.G1] = CorsairLedId.K_G1, - [DeviceKeys.G2] = CorsairLedId.K_G2, - [DeviceKeys.G3] = CorsairLedId.K_G3, - [DeviceKeys.G4] = CorsairLedId.K_G4, - [DeviceKeys.G5] = CorsairLedId.K_G5, - [DeviceKeys.G6] = CorsairLedId.K_G6, - [DeviceKeys.G7] = CorsairLedId.K_G7, - [DeviceKeys.G8] = CorsairLedId.K_G8, - [DeviceKeys.G9] = CorsairLedId.K_G9, - [DeviceKeys.G10] = CorsairLedId.K_G10, - [DeviceKeys.VOLUME_UP] = CorsairLedId.K_VolumeUp, - [DeviceKeys.VOLUME_DOWN] = CorsairLedId.K_VolumeDown, - //[DeviceKeys.MR] = CorsairLedId.K_MR, - //[DeviceKeys.M1] = CorsairLedId.K_M1, - //[DeviceKeys.M2] = CorsairLedId.K_M2, - //[DeviceKeys.M3] = CorsairLedId.K_M3, - [DeviceKeys.G11] = CorsairLedId.K_G11, - [DeviceKeys.G12] = CorsairLedId.K_G12, - [DeviceKeys.G13] = CorsairLedId.K_G13, - [DeviceKeys.G14] = CorsairLedId.K_G14, - [DeviceKeys.G15] = CorsairLedId.K_G15, - [DeviceKeys.G16] = CorsairLedId.K_G16, - [DeviceKeys.G17] = CorsairLedId.K_G17, - [DeviceKeys.G18] = CorsairLedId.K_G18, - //[DeviceKeys.International5] = CorsairLedId.K_International5, - //[DeviceKeys.International4] = CorsairLedId.K_International4, - [DeviceKeys.FN_Key] = CorsairLedId.K_Fn, - [DeviceKeys.LOCK_SWITCH] = CorsairLedId.K_WinLock, - [DeviceKeys.BRIGHTNESS_SWITCH] = CorsairLedId.K_Brightness, - [DeviceKeys.ADDITIONALLIGHT1] = CorsairLedId.KLP_Zone1, - [DeviceKeys.ADDITIONALLIGHT2] = CorsairLedId.KLP_Zone2, - [DeviceKeys.ADDITIONALLIGHT3] = CorsairLedId.KLP_Zone3, - [DeviceKeys.ADDITIONALLIGHT4] = CorsairLedId.KLP_Zone4, - [DeviceKeys.ADDITIONALLIGHT5] = CorsairLedId.KLP_Zone5, - [DeviceKeys.ADDITIONALLIGHT6] = CorsairLedId.KLP_Zone6, - [DeviceKeys.ADDITIONALLIGHT7] = CorsairLedId.KLP_Zone7, - [DeviceKeys.ADDITIONALLIGHT8] = CorsairLedId.KLP_Zone8, - [DeviceKeys.ADDITIONALLIGHT9] = CorsairLedId.KLP_Zone9, - [DeviceKeys.ADDITIONALLIGHT10] = CorsairLedId.KLP_Zone10, - [DeviceKeys.ADDITIONALLIGHT11] = CorsairLedId.KLP_Zone11, - [DeviceKeys.ADDITIONALLIGHT12] = CorsairLedId.KLP_Zone12, - [DeviceKeys.ADDITIONALLIGHT13] = CorsairLedId.KLP_Zone13, - [DeviceKeys.ADDITIONALLIGHT14] = CorsairLedId.KLP_Zone14, - [DeviceKeys.ADDITIONALLIGHT15] = CorsairLedId.KLP_Zone15, - [DeviceKeys.ADDITIONALLIGHT16] = CorsairLedId.KLP_Zone16, - [DeviceKeys.ADDITIONALLIGHT17] = CorsairLedId.KLP_Zone17, - [DeviceKeys.ADDITIONALLIGHT18] = CorsairLedId.KLP_Zone18, - [DeviceKeys.ADDITIONALLIGHT19] = CorsairLedId.KLP_Zone19 + [CorsairLedId.CLK_Escape] = DeviceKeys.ESC, + [CorsairLedId.CLK_F1] = DeviceKeys.F1, + [CorsairLedId.CLK_F2] = DeviceKeys.F2, + [CorsairLedId.CLK_F3] = DeviceKeys.F3, + [CorsairLedId.CLK_F4] = DeviceKeys.F4, + [CorsairLedId.CLK_F5] = DeviceKeys.F5, + [CorsairLedId.CLK_F6] = DeviceKeys.F6, + [CorsairLedId.CLK_F7] = DeviceKeys.F7, + [CorsairLedId.CLK_F8] = DeviceKeys.F8, + [CorsairLedId.CLK_F9] = DeviceKeys.F9, + [CorsairLedId.CLK_F10] = DeviceKeys.F10, + [CorsairLedId.CLK_F11] = DeviceKeys.F11, + [CorsairLedId.CLK_GraveAccentAndTilde] = DeviceKeys.TILDE, + [CorsairLedId.CLK_1] = DeviceKeys.ONE, + [CorsairLedId.CLK_2] = DeviceKeys.TWO, + [CorsairLedId.CLK_3] = DeviceKeys.THREE, + [CorsairLedId.CLK_4] = DeviceKeys.FOUR, + [CorsairLedId.CLK_5] = DeviceKeys.FIVE, + [CorsairLedId.CLK_6] = DeviceKeys.SIX, + [CorsairLedId.CLK_7] = DeviceKeys.SEVEN, + [CorsairLedId.CLK_8] = DeviceKeys.EIGHT, + [CorsairLedId.CLK_9] = DeviceKeys.NINE, + [CorsairLedId.CLK_0] = DeviceKeys.ZERO, + [CorsairLedId.CLK_MinusAndUnderscore] = DeviceKeys.MINUS, + [CorsairLedId.CLK_Tab] = DeviceKeys.TAB, + [CorsairLedId.CLK_Q] = DeviceKeys.Q, + [CorsairLedId.CLK_W] = DeviceKeys.W, + [CorsairLedId.CLK_E] = DeviceKeys.E, + [CorsairLedId.CLK_R] = DeviceKeys.R, + [CorsairLedId.CLK_T] = DeviceKeys.T, + [CorsairLedId.CLK_Y] = DeviceKeys.Y, + [CorsairLedId.CLK_U] = DeviceKeys.U, + [CorsairLedId.CLK_I] = DeviceKeys.I, + [CorsairLedId.CLK_O] = DeviceKeys.O, + [CorsairLedId.CLK_P] = DeviceKeys.P, + [CorsairLedId.CLK_BracketLeft] = DeviceKeys.OPEN_BRACKET, + [CorsairLedId.CLK_CapsLock] = DeviceKeys.CAPS_LOCK, + [CorsairLedId.CLK_A] = DeviceKeys.A, + [CorsairLedId.CLK_S] = DeviceKeys.S, + [CorsairLedId.CLK_D] = DeviceKeys.D, + [CorsairLedId.CLK_F] = DeviceKeys.F, + [CorsairLedId.CLK_G] = DeviceKeys.G, + [CorsairLedId.CLK_H] = DeviceKeys.H, + [CorsairLedId.CLK_J] = DeviceKeys.J, + [CorsairLedId.CLK_K] = DeviceKeys.K, + [CorsairLedId.CLK_L] = DeviceKeys.L, + [CorsairLedId.CLK_SemicolonAndColon] = DeviceKeys.SEMICOLON, + [CorsairLedId.CLK_ApostropheAndDoubleQuote] = DeviceKeys.APOSTROPHE, + [CorsairLedId.CLK_LeftShift] = DeviceKeys.LEFT_SHIFT, + [CorsairLedId.CLK_NonUsBackslash] = DeviceKeys.BACKSLASH_UK, + [CorsairLedId.CLK_Z] = DeviceKeys.Z, + [CorsairLedId.CLK_X] = DeviceKeys.X, + [CorsairLedId.CLK_C] = DeviceKeys.C, + [CorsairLedId.CLK_V] = DeviceKeys.V, + [CorsairLedId.CLK_B] = DeviceKeys.B, + [CorsairLedId.CLK_N] = DeviceKeys.N, + [CorsairLedId.CLK_M] = DeviceKeys.M, + [CorsairLedId.CLK_CommaAndLessThan] = DeviceKeys.COMMA, + [CorsairLedId.CLK_PeriodAndBiggerThan] = DeviceKeys.PERIOD, + [CorsairLedId.CLK_SlashAndQuestionMark] = DeviceKeys.FORWARD_SLASH, + [CorsairLedId.CLK_LeftCtrl] = DeviceKeys.LEFT_CONTROL, + [CorsairLedId.CLK_LeftGui] = DeviceKeys.LEFT_WINDOWS, + [CorsairLedId.CLK_LeftAlt] = DeviceKeys.LEFT_ALT, + //[CorsairLedId.CLK_Lang2] = DeviceKeys.Lang2, + [CorsairLedId.CLK_Space] = DeviceKeys.SPACE, + //[CorsairLedId.CLK_Lang1] = DeviceKeys.Lang1, + // [CorsairLedId.CLK_International2] = DeviceKeys.International2, + [CorsairLedId.CLK_RightAlt] = DeviceKeys.RIGHT_ALT, + [CorsairLedId.CLK_RightGui] = DeviceKeys.RIGHT_WINDOWS, + [CorsairLedId.CLK_Application] = DeviceKeys.APPLICATION_SELECT, + //[CorsairLedId.CLK_LedProgramming] = DeviceKeys.LedProgramming, + [CorsairLedId.CLK_Brightness] = DeviceKeys.BRIGHTNESS_SWITCH, + [CorsairLedId.CLK_F12] = DeviceKeys.F12, + [CorsairLedId.CLK_PrintScreen] = DeviceKeys.PRINT_SCREEN, + [CorsairLedId.CLK_ScrollLock] = DeviceKeys.SCROLL_LOCK, + [CorsairLedId.CLK_PauseBreak] = DeviceKeys.PAUSE_BREAK, + [CorsairLedId.CLK_Insert] = DeviceKeys.INSERT, + [CorsairLedId.CLK_Home] = DeviceKeys.HOME, + [CorsairLedId.CLK_PageUp] = DeviceKeys.PAGE_UP, + [CorsairLedId.CLK_BracketRight] = DeviceKeys.CLOSE_BRACKET, + [CorsairLedId.CLK_Backslash] = DeviceKeys.BACKSLASH, + [CorsairLedId.CLK_NonUsTilde] = DeviceKeys.HASHTAG, + [CorsairLedId.CLK_Enter] = DeviceKeys.ENTER, + //[CorsairLedId.CLK_International1] = DeviceKeys.International1, + [CorsairLedId.CLK_EqualsAndPlus] = DeviceKeys.EQUALS, + //[CorsairLedId.CLK_International3] = DeviceKeys.International3, + [CorsairLedId.CLK_Backspace] = DeviceKeys.BACKSPACE, + [CorsairLedId.CLK_Delete] = DeviceKeys.DELETE, + [CorsairLedId.CLK_End] = DeviceKeys.END, + [CorsairLedId.CLK_PageDown] = DeviceKeys.PAGE_DOWN, + [CorsairLedId.CLK_RightShift] = DeviceKeys.RIGHT_SHIFT, + [CorsairLedId.CLK_RightCtrl] = DeviceKeys.RIGHT_CONTROL, + [CorsairLedId.CLK_UpArrow] = DeviceKeys.ARROW_UP, + [CorsairLedId.CLK_LeftArrow] = DeviceKeys.ARROW_LEFT, + [CorsairLedId.CLK_DownArrow] = DeviceKeys.ARROW_DOWN, + [CorsairLedId.CLK_RightArrow] = DeviceKeys.ARROW_RIGHT, + [CorsairLedId.CLK_WinLock] = DeviceKeys.LOCK_SWITCH, + [CorsairLedId.CLK_Mute] = DeviceKeys.VOLUME_MUTE, + [CorsairLedId.CLK_Stop] = DeviceKeys.MEDIA_STOP, + [CorsairLedId.CLK_ScanPreviousTrack] = DeviceKeys.MEDIA_PREVIOUS, + [CorsairLedId.CLK_PlayPause] = DeviceKeys.MEDIA_PLAY_PAUSE, + [CorsairLedId.CLK_ScanNextTrack] = DeviceKeys.MEDIA_NEXT, + [CorsairLedId.CLK_NumLock] = DeviceKeys.NUM_LOCK, + [CorsairLedId.CLK_KeypadSlash] = DeviceKeys.NUM_SLASH, + [CorsairLedId.CLK_KeypadAsterisk] = DeviceKeys.NUM_ASTERISK, + [CorsairLedId.CLK_KeypadMinus] = DeviceKeys.NUM_MINUS, + [CorsairLedId.CLK_KeypadPlus] = DeviceKeys.NUM_PLUS, + [CorsairLedId.CLK_KeypadEnter] = DeviceKeys.NUM_ENTER, + [CorsairLedId.CLK_Keypad7] = DeviceKeys.NUM_SEVEN, + [CorsairLedId.CLK_Keypad8] = DeviceKeys.NUM_EIGHT, + [CorsairLedId.CLK_Keypad9] = DeviceKeys.NUM_NINE, + [CorsairLedId.CLK_KeypadComma] = DeviceKeys.NUM_ZEROZERO, + [CorsairLedId.CLK_Keypad4] = DeviceKeys.NUM_FOUR, + [CorsairLedId.CLK_Keypad5] = DeviceKeys.NUM_FIVE, + [CorsairLedId.CLK_Keypad6] = DeviceKeys.NUM_SIX, + [CorsairLedId.CLK_Keypad1] = DeviceKeys.NUM_ONE, + [CorsairLedId.CLK_Keypad2] = DeviceKeys.NUM_TWO, + [CorsairLedId.CLK_Keypad3] = DeviceKeys.NUM_THREE, + [CorsairLedId.CLK_Keypad0] = DeviceKeys.NUM_ZERO, + [CorsairLedId.CLK_KeypadPeriodAndDelete] = DeviceKeys.NUM_PERIOD, + [CorsairLedId.CLK_G1] = DeviceKeys.G1, + [CorsairLedId.CLK_G2] = DeviceKeys.G2, + [CorsairLedId.CLK_G3] = DeviceKeys.G3, + [CorsairLedId.CLK_G4] = DeviceKeys.G4, + [CorsairLedId.CLK_G5] = DeviceKeys.G5, + [CorsairLedId.CLK_G6] = DeviceKeys.G6, + [CorsairLedId.CLK_G7] = DeviceKeys.G7, + [CorsairLedId.CLK_G8] = DeviceKeys.G8, + [CorsairLedId.CLK_G9] = DeviceKeys.G9, + [CorsairLedId.CLK_G10] = DeviceKeys.G10, + [CorsairLedId.CLK_VolumeUp] = DeviceKeys.VOLUME_UP, + [CorsairLedId.CLK_VolumeDown] = DeviceKeys.VOLUME_DOWN, + //[CorsairLedId.CLK_MR] = DeviceKeys.MR, + //[CorsairLedId.CLK_M1] = //DeviceKeys.M1, + //[CorsairLedId.CLK_M2] = //DeviceKeys.M2, + //[CorsairLedId.CLK_M3] = //DeviceKeys.M3, + [CorsairLedId.CLK_G11] = DeviceKeys.G11, + [CorsairLedId.CLK_G12] = DeviceKeys.G12, + [CorsairLedId.CLK_G13] = DeviceKeys.G13, + [CorsairLedId.CLK_G14] = DeviceKeys.G14, + [CorsairLedId.CLK_G15] = DeviceKeys.G15, + [CorsairLedId.CLK_G16] = DeviceKeys.G16, + [CorsairLedId.CLK_G17] = DeviceKeys.G17, + [CorsairLedId.CLK_G18] = DeviceKeys.G18, + //[CorsairLedId.CLK_International5] = //DeviceKeys.International5, + // [CorsairLedId.CLK_International4] = //DeviceKeys.International4, + [CorsairLedId.CLK_Fn] = DeviceKeys.FN_Key, + [CorsairLedId.CLK_WinLock] = DeviceKeys.LOCK_SWITCH, + [CorsairLedId.CLK_Brightness] = DeviceKeys.BRIGHTNESS_SWITCH, + [CorsairLedId.CLK_Logo] = DeviceKeys.LOGO, + [CorsairLedId.CLKLP_Zone1] = DeviceKeys.ADDITIONALLIGHT1, + [CorsairLedId.CLKLP_Zone2] = DeviceKeys.ADDITIONALLIGHT2, + [CorsairLedId.CLKLP_Zone3] = DeviceKeys.ADDITIONALLIGHT3, + [CorsairLedId.CLKLP_Zone4] = DeviceKeys.ADDITIONALLIGHT4, + [CorsairLedId.CLKLP_Zone5] = DeviceKeys.ADDITIONALLIGHT5, + [CorsairLedId.CLKLP_Zone6] = DeviceKeys.ADDITIONALLIGHT6, + [CorsairLedId.CLKLP_Zone7] = DeviceKeys.ADDITIONALLIGHT7, + [CorsairLedId.CLKLP_Zone8] = DeviceKeys.ADDITIONALLIGHT8, + [CorsairLedId.CLKLP_Zone9] = DeviceKeys.ADDITIONALLIGHT9, + [CorsairLedId.CLKLP_Zone10] = DeviceKeys.ADDITIONALLIGHT10, + [CorsairLedId.CLKLP_Zone11] = DeviceKeys.ADDITIONALLIGHT11, + [CorsairLedId.CLKLP_Zone12] = DeviceKeys.ADDITIONALLIGHT12, + [CorsairLedId.CLKLP_Zone13] = DeviceKeys.ADDITIONALLIGHT13, + [CorsairLedId.CLKLP_Zone14] = DeviceKeys.ADDITIONALLIGHT14, + [CorsairLedId.CLKLP_Zone15] = DeviceKeys.ADDITIONALLIGHT15, + [CorsairLedId.CLKLP_Zone16] = DeviceKeys.ADDITIONALLIGHT16, + [CorsairLedId.CLKLP_Zone17] = DeviceKeys.ADDITIONALLIGHT17, + [CorsairLedId.CLKLP_Zone18] = DeviceKeys.ADDITIONALLIGHT18, + [CorsairLedId.CLKLP_Zone19] = DeviceKeys.ADDITIONALLIGHT19, }; - internal static readonly Dictionary MouseMatLedMap = new Dictionary() + /*internal static readonly Dictionary MouseMatLedMap = new Dictionary() { - [DeviceKeys.MOUSEPADLIGHT1] = CorsairLedId.MM_Zone1, + [DeviceKeys.MOUSEPADLIGHT1] = CorsairLedId.CLMM_Zone1, [DeviceKeys.MOUSEPADLIGHT2] = CorsairLedId.MM_Zone2, [DeviceKeys.MOUSEPADLIGHT3] = CorsairLedId.MM_Zone3, [DeviceKeys.MOUSEPADLIGHT4] = CorsairLedId.MM_Zone4, @@ -223,14 +223,14 @@ internal static class LedMaps [DeviceKeys.ADDITIONALLIGHT1] = CorsairLedId.M_4,//TODO [DeviceKeys.ADDITIONALLIGHT2] = CorsairLedId.M_5, [DeviceKeys.ADDITIONALLIGHT3] = CorsairLedId.M_6 - }; + };*/ - internal static readonly Dictionary> MapsMap = new Dictionary>() + internal static readonly Dictionary> MapsMap = new Dictionary>() { - [CorsairDeviceType.Keyboard] = KeyboardLedMap, - [CorsairDeviceType.Mouse] = MouseLedMap, - [CorsairDeviceType.MouseMat] = MouseMatLedMap, - [CorsairDeviceType.HeadsetStand] = HeadsetStandLedMap, + [CorsairDeviceType.CDT_Keyboard] = KeyboardLedMap, + /*[CorsairDeviceType.CDT_Mouse] = MouseLedMap, + [CorsairDeviceType.CDT_MouseMat] = MouseMatLedMap, + [CorsairDeviceType.CDT_HeadsetStand] = HeadsetStandLedMap,*/ }; internal static readonly List Channel1LedIds = EnumUtils.GetEnumValues() @@ -252,6 +252,6 @@ internal static class LedMaps Channel3LedIds }; - public static string ToString(this CorsairLedColor corsairLedColor) => $"{corsairLedColor.LedId}, ({corsairLedColor.R},{corsairLedColor.G},{corsairLedColor.B})"; + public static string ToString(this CorsairLedColor corsairLedColor) => $"{corsairLedColor.ledId}, ({corsairLedColor.r},{corsairLedColor.g},{corsairLedColor.b})"; } } diff --git a/Project-Aurora/Project-Aurora/Devices/Creative/SoundBlasterXDevice.cs b/Project-Aurora/Project-Aurora/Devices/Creative/SoundBlasterXDevice.cs index 80e2b2271..54ba1eeb0 100644 --- a/Project-Aurora/Project-Aurora/Devices/Creative/SoundBlasterXDevice.cs +++ b/Project-Aurora/Project-Aurora/Devices/Creative/SoundBlasterXDevice.cs @@ -317,7 +317,7 @@ public bool IsConnected() public bool IsInitialized => (sbKeyboard != null || sbMouse != null); - public bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false) + public bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false) { uint maxKbLength = 0; Dictionary> kbIndices = null; @@ -325,13 +325,13 @@ public bool UpdateDevice(Dictionary keyColors, DoWorkEventArg kbIndices = new Dictionary>(); LedColour[] mouseColors = null; - foreach (KeyValuePair kv in keyColors) + foreach (KeyValuePair kv in keyColors) { if (e.Cancel) return false; if (kbIndices != null) { - var kbLedIdx = GetKeyboardMappingLedIndex(kv.Key); + var kbLedIdx = GetKeyboardMappingLedIndex((DeviceKeys)kv.Key); if (kbLedIdx != Keyboard_LEDIndex.NotApplicable) { if (!kbIndices.ContainsKey(kv.Value)) @@ -345,7 +345,7 @@ public bool UpdateDevice(Dictionary keyColors, DoWorkEventArg } if (sbMouse != null) { - int moosIdx = GetMouseMappingIndex(kv.Key); + int moosIdx = GetMouseMappingIndex((DeviceKeys)kv.Key); if (moosIdx >= 0 && moosIdx <= MouseMapping.Length) { if (mouseColors == null) diff --git a/Project-Aurora/Project-Aurora/Devices/DefaultDevice.cs b/Project-Aurora/Project-Aurora/Devices/DefaultDevice.cs index d2d2f730a..5f79db837 100644 --- a/Project-Aurora/Project-Aurora/Devices/DefaultDevice.cs +++ b/Project-Aurora/Project-Aurora/Devices/DefaultDevice.cs @@ -38,7 +38,7 @@ public virtual void Reset() Initialize(); } - public abstract bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false); + public abstract bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false); public bool UpdateDevice(DeviceColorComposition colorComposition, DoWorkEventArgs e, bool forced = false) { diff --git a/Project-Aurora/Project-Aurora/Devices/DeviceKeys.cs b/Project-Aurora/Project-Aurora/Devices/DeviceKeys.cs old mode 100644 new mode 100755 index 96b758d91..1c145b629 --- a/Project-Aurora/Project-Aurora/Devices/DeviceKeys.cs +++ b/Project-Aurora/Project-Aurora/Devices/DeviceKeys.cs @@ -1303,6 +1303,7 @@ public enum DeviceKeys [Description("Peripheral Light 1")] PERIPHERAL_LIGHT1 = 217, + /// /// Peripheral Light 2 /// @@ -1580,4 +1581,5 @@ public enum DeviceKeys [Description("None")] NONE = -1, }; + } diff --git a/Project-Aurora/Project-Aurora/Devices/DeviceManager.cs b/Project-Aurora/Project-Aurora/Devices/DeviceManager.cs index 2d8d271d3..cb7f3a9f9 100644 --- a/Project-Aurora/Project-Aurora/Devices/DeviceManager.cs +++ b/Project-Aurora/Project-Aurora/Devices/DeviceManager.cs @@ -63,7 +63,6 @@ public void UpdateDevice(DeviceColorComposition composition, bool forced = false } } } - public class DeviceManager { private const int RETRY_INTERVAL = 10000; @@ -83,7 +82,8 @@ private set } public List DeviceContainers { get; } = new List(); - + public List DeviceConnectors { get; } = new List(); + public IEnumerable IndividualDevices => DeviceConnectors.SelectMany(d => d.Devices); public IEnumerable InitializedDeviceContainers => DeviceContainers.Where(d => d.Device.IsInitialized); public event EventHandler RetryAttemptsChanged; @@ -160,6 +160,7 @@ private void AddDevicesFromAssembly() where typeof(IDevice).IsAssignableFrom(type) && !type.IsAbstract && type != typeof(ScriptedDevice.ScriptedDevice) + && type != typeof(OldAuroraDeviceWrapper) let inst = (IDevice)Activator.CreateInstance(type) orderby inst.DeviceName select inst; @@ -168,6 +169,12 @@ orderby inst.DeviceName { DeviceContainers.Add(new DeviceContainer(inst)); } + var CorsairConnector = new Corsair.CorsairDeviceConnector(); + DeviceContainers.Add(new DeviceContainer(new OldAuroraDeviceWrapper(CorsairConnector))); + DeviceConnectors.Add(CorsairConnector); + var OpenRGBConnector = new OpenRGB.OpenRGBDeviceConnector(); + DeviceContainers.Add(new DeviceContainer(new OldAuroraDeviceWrapper(OpenRGBConnector))); + DeviceConnectors.Add(OpenRGBConnector); } private void AddDevicesFromDlls() @@ -262,6 +269,7 @@ public void InitializeDevices() Global.logger.Info(s); } + DeviceConnectors.ForEach(dc => dc.Initialize()); if (devicesToRetry > 0) Task.Run(RetryAll); @@ -277,6 +285,7 @@ public void ShutdownDevices() dc.Device.Shutdown(); Global.logger.Info($"[Device][{dc.Device.DeviceName}] Shutdown"); } + DeviceConnectors.ForEach(dc => dc.Shutdown()); } public void ResetDevices() @@ -286,14 +295,45 @@ public void ResetDevices() lock (dc.actionLock) dc.Device.Reset(); } + DeviceConnectors.ForEach(dc => dc.Reset()); } - public void UpdateDevices(DeviceColorComposition composition, bool forced = false) + public void RegisterViewPort(ref UniqueDeviceId devicId, int viewPort) + { + foreach (var dc in IndividualDevices) + { + if (dc.id?.ViewPort == viewPort) + dc.id.ViewPort = null; + } + devicId.ViewPort = viewPort; + foreach (var dc in IndividualDevices) + { + if (dc.id == devicId) + dc.id = devicId; + } + } + public void UpdateDevices(Dictionary compositionList, bool forced = false) { foreach (var dc in InitializedDeviceContainers) { lock (dc.actionLock) - dc.UpdateDevice(composition, forced); + { + + foreach (var composition in compositionList) + { + if (!IndividualDevices.Where(dc => dc.id?.ViewPort == composition.Key).Any()) + dc.UpdateDevice(composition.Value, forced); + } + + } + } + foreach (var item in compositionList) + { + var dc = IndividualDevices.Where(d => d.IsConnected() && d.id.ViewPort == item.Key); + if (dc.Any()) + { + dc.First().UpdateDevice(item.Value); + } } } diff --git a/Project-Aurora/Project-Aurora/Devices/Drevo/DrevoDevice.cs b/Project-Aurora/Project-Aurora/Devices/Drevo/DrevoDevice.cs index f93dee4ae..811ada93c 100644 --- a/Project-Aurora/Project-Aurora/Devices/Drevo/DrevoDevice.cs +++ b/Project-Aurora/Project-Aurora/Devices/Drevo/DrevoDevice.cs @@ -1,4 +1,5 @@ -using System; +using Aurora.Utils; +using System; using DrevoRadi; using System.Collections.Generic; using System.ComponentModel; @@ -54,10 +55,11 @@ public override void Shutdown() } } - public override bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false) + /// Updates the device with a specified color arrangement. + public override bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false) { - if (!IsInitialized) - return false; + if (e.Cancel) return false; + if (!IsInitialized) return false; try { @@ -68,15 +70,15 @@ public override bool UpdateDevice(Dictionary keyColors, DoWor bitmap[3] = 0x7F; int index = 0; - foreach (var key in keyColors) + foreach (var (dk, clr) in keyColors) { - index = DrevoRadiSDK.ToDrevoBitmap((int)key.Key); + index = DrevoRadiSDK.ToDrevoBitmap(dk); if (index != -1) { index = index * 3 + 4; - bitmap[index] = key.Value.R; - bitmap[index + 1] = key.Value.G; - bitmap[index + 2] = key.Value.B; + bitmap[index] = clr.R; + bitmap[index + 1] = clr.G; + bitmap[index + 2] = clr.B; } } diff --git a/Project-Aurora/Project-Aurora/Devices/Dualshock4/Dualshock4Device.cs b/Project-Aurora/Project-Aurora/Devices/Dualshock4/Dualshock4Device.cs index ea8738188..a419cb1b4 100755 --- a/Project-Aurora/Project-Aurora/Devices/Dualshock4/Dualshock4Device.cs +++ b/Project-Aurora/Project-Aurora/Devices/Dualshock4/Dualshock4Device.cs @@ -122,7 +122,6 @@ private void DeviceListChanged(object sender, HidSharp.DeviceListChangedEventArg if (DS4Devices.getDS4Controllers().Count() != devices.Count) Reset(); } - public override bool Initialize() { if (IsInitialized) @@ -154,9 +153,10 @@ public override void Shutdown() isDisconnecting = false; } - public override bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false) + + public override bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false) { - if (keyColors.TryGetValue(key, out var clr)) + if (keyColors.TryGetValue((int)key, out var clr)) { foreach (var dev in devices) { diff --git a/Project-Aurora/Project-Aurora/Devices/Ducky/DuckyDevice.cs b/Project-Aurora/Project-Aurora/Devices/Ducky/DuckyDevice.cs index 76a4bfba9..da0133aed 100644 --- a/Project-Aurora/Project-Aurora/Devices/Ducky/DuckyDevice.cs +++ b/Project-Aurora/Project-Aurora/Devices/Ducky/DuckyDevice.cs @@ -133,16 +133,16 @@ public bool IsPeripheralConnected() return isInitialized; } - public bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false) + public bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false) { - foreach (KeyValuePair kc in keyColors) + foreach (KeyValuePair kc in keyColors) { //This keyboard doesn't take alpha (transparency) values, so we do this: processedColor = ColorUtils.CorrectWithAlpha(kc.Value); //This if statement grabs the packet offset from the key that Aurora wants to set, using DuckyColourOffsetMap. //It also checks whether the key exists in the Dictionary, and if not, doesn't try and set the key colour. - if(!DuckyRGBMappings.DuckyColourOffsetMap.TryGetValue(kc.Key, out currentKeyOffset)){ + if(!DuckyRGBMappings.DuckyColourOffsetMap.TryGetValue((DeviceKeys)kc.Key, out currentKeyOffset)){ continue; } diff --git a/Project-Aurora/Project-Aurora/Devices/IDevice.cs b/Project-Aurora/Project-Aurora/Devices/IDevice.cs index 7ed543f64..b15d1c58a 100644 --- a/Project-Aurora/Project-Aurora/Devices/IDevice.cs +++ b/Project-Aurora/Project-Aurora/Devices/IDevice.cs @@ -13,7 +13,7 @@ namespace Aurora.Devices public class DeviceColorComposition { public readonly object bitmapLock = new object(); - public Dictionary keyColors; + public Dictionary keyColors; public Bitmap keyBitmap; } @@ -73,7 +73,7 @@ public interface IDevice /// A dictionary of DeviceKeys their corresponding Colors /// A boolean value indicating whether or not to forcefully update this device /// - bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false); + bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false); /// /// Updates the device with a specified color composition. @@ -82,5 +82,6 @@ public interface IDevice /// A boolean value indicating whether or not to forcefully update this device /// bool UpdateDevice(DeviceColorComposition colorComposition, DoWorkEventArgs e, bool forced = false); + } } diff --git a/Project-Aurora/Project-Aurora/Devices/LightFX/LightFX.cs b/Project-Aurora/Project-Aurora/Devices/LightFX/LightFX.cs index ec75d4525..c6a626341 100644 --- a/Project-Aurora/Project-Aurora/Devices/LightFX/LightFX.cs +++ b/Project-Aurora/Project-Aurora/Devices/LightFX/LightFX.cs @@ -320,7 +320,7 @@ public int AlienfxWaitForReady() bool NumLock = (((ushort)LightFXSDK.GetKeyState(0x90)) & 0xffff) != 0; - public bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false) + public bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false) { if (e.Cancel) return false; List leftColor = new List(); @@ -388,38 +388,38 @@ public bool UpdateDevice(Dictionary keyColors, DoWorkEventArg LightFXSDK.LFX_Reset(); } - foreach (KeyValuePair key in keyColors) { + foreach (KeyValuePair key in keyColors) { if (e.Cancel) return false; if (isInitialized) { //left - if (Array.Exists(leftZoneKeys, s => s == key.Key) && (key.Value.R > 0 || key.Value.G > 0 || key.Value.B > 0)) { + if (Array.Exists(leftZoneKeys, s => s == (DeviceKeys)key.Key) && (key.Value.R > 0 || key.Value.G > 0 || key.Value.B > 0)) { leftColor.Add(key.Value); } //middle left - if (Array.Exists(midLeftZoneKeys, s => s == key.Key) && (key.Value.R > 0 || key.Value.G > 0 || key.Value.B > 0)) { + if (Array.Exists(midLeftZoneKeys, s => s == (DeviceKeys)key.Key) && (key.Value.R > 0 || key.Value.G > 0 || key.Value.B > 0)) { midleftColor.Add(key.Value); }//middle right - if (Array.Exists(midRightZoneKeys, s => s == key.Key) && (key.Value.R > 0 || key.Value.G > 0 || key.Value.B > 0)) { + if (Array.Exists(midRightZoneKeys, s => s == (DeviceKeys)key.Key) && (key.Value.R > 0 || key.Value.G > 0 || key.Value.B > 0)) { midRightColor.Add(key.Value); }//right */ - if (Array.Exists(rightZoneKeys, s => s == key.Key) && (key.Value.R > 0 || key.Value.G > 0 || key.Value.B > 0)) { + if (Array.Exists(rightZoneKeys, s => s == (DeviceKeys)key.Key) && (key.Value.R > 0 || key.Value.G > 0 || key.Value.B > 0)) { rightColor.Add(key.Value); } - if (Array.Exists(numpadZone, s => s == key.Key) && (key.Value.R > 0 || key.Value.G > 0 || key.Value.B > 0)) { + if (Array.Exists(numpadZone, s => s == (DeviceKeys)key.Key) && (key.Value.R > 0 || key.Value.G > 0 || key.Value.B > 0)) { numpadColor.Add(key.Value); } - if (key.Key == DeviceKeys.Peripheral_Logo) { + if ((DeviceKeys)key.Key == DeviceKeys.Peripheral_Logo) { setColor(1, (int)BITMASK.AlienFrontLogo, key.Value.R, key.Value.G, key.Value.B); if (!usingHID) { diff --git a/Project-Aurora/Project-Aurora/Devices/Logitech/LogitechDevice.cs b/Project-Aurora/Project-Aurora/Devices/Logitech/LogitechDevice.cs index b53279db4..e2a01ed3f 100755 --- a/Project-Aurora/Project-Aurora/Devices/Logitech/LogitechDevice.cs +++ b/Project-Aurora/Project-Aurora/Devices/Logitech/LogitechDevice.cs @@ -54,28 +54,28 @@ public override void Shutdown() IsInitialized = false; } - public override bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false) + public override bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false) { if (!IsInitialized) return false; - foreach (var key in keyColors) + foreach (var (key, clr) in keyColors) { - if (LedMaps.BitmapMap.TryGetValue(key.Key, out var index)) + if (LedMaps.BitmapMap.TryGetValue((DeviceKeys)key, out var index)) { - logitechBitmap[index] = key.Value.B; - logitechBitmap[index + 1] = key.Value.G; - logitechBitmap[index + 2] = key.Value.R; - logitechBitmap[index + 3] = key.Value.A; + logitechBitmap[index] = clr.B; + logitechBitmap[index + 1] = clr.G; + logitechBitmap[index + 2] = clr.R; + logitechBitmap[index + 3] = clr.A; } - if (!Global.Configuration.DevicesDisableKeyboard && LedMaps.KeyMap.TryGetValue(key.Key, out var logiKey)) - IsInitialized &= LogitechGSDK.LogiLedSetLightingForKeyWithKeyName(logiKey, key.Value); - if (LedMaps.PeripheralMap.TryGetValue(key.Key, out var peripheral)) + if (!Global.Configuration.DevicesDisableKeyboard && LedMaps.KeyMap.TryGetValue((DeviceKeys)key, out var logiKey)) + IsInitialized &= LogitechGSDK.LogiLedSetLightingForKeyWithKeyName(logiKey, clr); + if (LedMaps.PeripheralMap.TryGetValue((DeviceKeys)key, out var peripheral)) { if ((peripheral.type == DeviceType.Headset && !Global.Configuration.DevicesDisableHeadset) || (peripheral.type == DeviceType.Mouse && !Global.Configuration.DevicesDisableMouse)) { - LogitechGSDK.LogiLedSetLightingForTargetZone(peripheral.type, peripheral.zone, key.Value); + LogitechGSDK.LogiLedSetLightingForTargetZone(peripheral.type, peripheral.zone, clr); } } diff --git a/Project-Aurora/Project-Aurora/Devices/Omen/IOmenDevice.cs b/Project-Aurora/Project-Aurora/Devices/Omen/IOmenDevice.cs index 26dac999a..412414078 100644 --- a/Project-Aurora/Project-Aurora/Devices/Omen/IOmenDevice.cs +++ b/Project-Aurora/Project-Aurora/Devices/Omen/IOmenDevice.cs @@ -10,7 +10,7 @@ namespace Aurora.Devices.Omen interface IOmenDevice { public void Shutdown(); - public void SetLights(Dictionary keyColors); + public void SetLights(Dictionary keyColors); public string GetDeviceName(); }; } diff --git a/Project-Aurora/Project-Aurora/Devices/Omen/OmenChassis.cs b/Project-Aurora/Project-Aurora/Devices/Omen/OmenChassis.cs index 169a6deca..0bf139ff7 100644 --- a/Project-Aurora/Project-Aurora/Devices/Omen/OmenChassis.cs +++ b/Project-Aurora/Project-Aurora/Devices/Omen/OmenChassis.cs @@ -72,13 +72,13 @@ public string GetDeviceName() return (hChassis != IntPtr.Zero ? "Chassis Connected" : string.Empty); } - public void SetLights(Dictionary keyColors) + public void SetLights(Dictionary keyColors) { if (hChassis != IntPtr.Zero) { - if (keyColors.ContainsKey(DeviceKeys.Peripheral_Logo)) + if (keyColors.ContainsKey((int)DeviceKeys.Peripheral_Logo)) { - SetLight(DeviceKeys.Peripheral_Logo, keyColors[DeviceKeys.Peripheral_Logo]); + SetLight(DeviceKeys.Peripheral_Logo, keyColors[(int)DeviceKeys.Peripheral_Logo]); return; } } diff --git a/Project-Aurora/Project-Aurora/Devices/Omen/OmenDevices.cs b/Project-Aurora/Project-Aurora/Devices/Omen/OmenDevices.cs index 02fb1f043..41894dcd5 100644 --- a/Project-Aurora/Project-Aurora/Devices/Omen/OmenDevices.cs +++ b/Project-Aurora/Project-Aurora/Devices/Omen/OmenDevices.cs @@ -55,8 +55,9 @@ public string DeviceDetails public bool Initialize() { - Global.kbLayout.KeyboardLayoutUpdated -= DeviceChangedHandler; - Global.kbLayout.KeyboardLayoutUpdated += DeviceChangedHandler; + //TODO fix this + /*Global.kbLayout.KeyboardLayoutUpdated -= DeviceChangedHandler; + Global.kbLayout.KeyboardLayoutUpdated += DeviceChangedHandler;*/ lock (this) { @@ -161,7 +162,7 @@ public void Shutdown() } } - public bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false) + public bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false) { try { diff --git a/Project-Aurora/Project-Aurora/Devices/Omen/OmenFourZoneLighting.cs b/Project-Aurora/Project-Aurora/Devices/Omen/OmenFourZoneLighting.cs index 0a4808dc3..6225a3ba9 100644 --- a/Project-Aurora/Project-Aurora/Devices/Omen/OmenFourZoneLighting.cs +++ b/Project-Aurora/Project-Aurora/Devices/Omen/OmenFourZoneLighting.cs @@ -15,7 +15,7 @@ namespace Aurora.Devices.Omen { class OmenFourZoneLighting : IOmenDevice { - public void SetLights(Dictionary keyColors) + public void SetLights(Dictionary keyColors) { Task.Run(() => { if (Monitor.TryEnter(this)) @@ -23,16 +23,16 @@ public void SetLights(Dictionary keyColors) try { if(FourZoneLighting.IsTurnOn() - && keyColors.ContainsKey(DeviceKeys.ADDITIONALLIGHT1) - && keyColors.ContainsKey(DeviceKeys.ADDITIONALLIGHT2) - && keyColors.ContainsKey(DeviceKeys.ADDITIONALLIGHT3) - && keyColors.ContainsKey(DeviceKeys.ADDITIONALLIGHT4)) + && keyColors.ContainsKey((int)DeviceKeys.ADDITIONALLIGHT1) + && keyColors.ContainsKey((int)DeviceKeys.ADDITIONALLIGHT2) + && keyColors.ContainsKey((int)DeviceKeys.ADDITIONALLIGHT3) + && keyColors.ContainsKey((int)DeviceKeys.ADDITIONALLIGHT4)) { FourZoneLighting.SetZoneColors( - new Color[] { keyColors[DeviceKeys.ADDITIONALLIGHT1], - keyColors[DeviceKeys.ADDITIONALLIGHT2], - keyColors[DeviceKeys.ADDITIONALLIGHT3], - keyColors[DeviceKeys.ADDITIONALLIGHT4] }); + new Color[] { keyColors[(int)DeviceKeys.ADDITIONALLIGHT1], + keyColors[(int)DeviceKeys.ADDITIONALLIGHT2], + keyColors[(int)DeviceKeys.ADDITIONALLIGHT3], + keyColors[(int)DeviceKeys.ADDITIONALLIGHT4] }); } } finally diff --git a/Project-Aurora/Project-Aurora/Devices/Omen/OmenKeyboard.cs b/Project-Aurora/Project-Aurora/Devices/Omen/OmenKeyboard.cs index df4ce1774..a0a68aa34 100644 --- a/Project-Aurora/Project-Aurora/Devices/Omen/OmenKeyboard.cs +++ b/Project-Aurora/Project-Aurora/Devices/Omen/OmenKeyboard.cs @@ -43,10 +43,10 @@ public struct StaticKeyEffect public LightingColor lightingColor; public int key; - public StaticKeyEffect(KeyValuePair key) + public StaticKeyEffect(KeyValuePair key) { lightingColor = LightingColor.FromColor(key.Value); - this.key = OmenKeys.GetKey(key.Key); + this.key = OmenKeys.GetKey((DeviceKeys)key.Key); } } @@ -55,7 +55,7 @@ public string GetDeviceName() return (hKB != IntPtr.Zero ? "Keyboard Connected" : string.Empty); } - public void SetLights(Dictionary keyColors) + public void SetLights(Dictionary keyColors) { if (hKB != IntPtr.Zero && keyColors.Count > 0) { @@ -71,7 +71,7 @@ public void SetLights(Dictionary keyColors) try { List list = new List(); - foreach (KeyValuePair key in keyColors) + foreach (KeyValuePair key in keyColors) { list.Add(new StaticKeyEffect(key)); } diff --git a/Project-Aurora/Project-Aurora/Devices/Omen/OmenMouse.cs b/Project-Aurora/Project-Aurora/Devices/Omen/OmenMouse.cs index 84767af94..782667678 100644 --- a/Project-Aurora/Project-Aurora/Devices/Omen/OmenMouse.cs +++ b/Project-Aurora/Project-Aurora/Devices/Omen/OmenMouse.cs @@ -65,18 +65,18 @@ public enum MouseLightingZone MOUSE_LIGHTING_ZONE_WHEEL = 2, /* Wheel zone */ } - public void SetLights(Dictionary keyColors) + public void SetLights(Dictionary keyColors) { if (hMouse != IntPtr.Zero) { - foreach (KeyValuePair keyColor in keyColors) + foreach (var keyColor in keyColors) { - switch (keyColor.Key) + switch ((DeviceKeys)keyColor.Key) { case DeviceKeys.Peripheral_Logo: case DeviceKeys.Peripheral_FrontLight: case DeviceKeys.Peripheral_ScrollWheel: - SetLight(keyColor.Key, keyColor.Value); + SetLight((DeviceKeys)keyColor.Key, keyColor.Value); break; } } diff --git a/Project-Aurora/Project-Aurora/Devices/Omen/OmenMousePad.cs b/Project-Aurora/Project-Aurora/Devices/Omen/OmenMousePad.cs index abad3c7a7..f2fbb29b5 100644 --- a/Project-Aurora/Project-Aurora/Devices/Omen/OmenMousePad.cs +++ b/Project-Aurora/Project-Aurora/Devices/Omen/OmenMousePad.cs @@ -58,15 +58,15 @@ private int GetZone(DeviceKeys key) return (key == DeviceKeys.MOUSEPADLIGHT15 ? (int)MousePadZone.MOUSE_PAD_ZONE_LOGO : (int)MousePadZone.MOUSE_PAD_ZONE_0 + ((int)key - (int)DeviceKeys.MOUSEPADLIGHT1)); } - public void SetLights(Dictionary keyColors) + public void SetLights(Dictionary keyColors) { if (hMousePad != IntPtr.Zero) { - foreach (KeyValuePair keyColor in keyColors) + foreach (var keyColor in keyColors) { - if (keyColor.Key >= DeviceKeys.MOUSEPADLIGHT1 && keyColor.Key <= DeviceKeys.MOUSEPADLIGHT15) + if (keyColor.Key >= (int)DeviceKeys.MOUSEPADLIGHT1 && keyColor.Key <= (int)DeviceKeys.MOUSEPADLIGHT15) { - SetLight(keyColor.Key, keyColor.Value); + SetLight((DeviceKeys)keyColor.Key, keyColor.Value); } } } diff --git a/Project-Aurora/Project-Aurora/Devices/Omen/OmenSpeaker.cs b/Project-Aurora/Project-Aurora/Devices/Omen/OmenSpeaker.cs index 81d814cf3..c479a6cd1 100644 --- a/Project-Aurora/Project-Aurora/Devices/Omen/OmenSpeaker.cs +++ b/Project-Aurora/Project-Aurora/Devices/Omen/OmenSpeaker.cs @@ -44,13 +44,13 @@ public void Shutdown() } } - public void SetLights(Dictionary keyColors) + public void SetLights(Dictionary keyColors) { if (hSpeaker != IntPtr.Zero) { - if (keyColors.ContainsKey(DeviceKeys.Peripheral_Logo)) + if (keyColors.ContainsKey((int)DeviceKeys.Peripheral_Logo)) { - SetLight(DeviceKeys.Peripheral_Logo, keyColors[DeviceKeys.Peripheral_Logo]); + SetLight(DeviceKeys.Peripheral_Logo, keyColors[(int)DeviceKeys.Peripheral_Logo]); return; } } diff --git a/Project-Aurora/Project-Aurora/Devices/OpenRGB/OpenRGBDevice.cs b/Project-Aurora/Project-Aurora/Devices/OpenRGB/OpenRGBDevice.cs index cd96f1c46..0a582c2e6 100644 --- a/Project-Aurora/Project-Aurora/Devices/OpenRGB/OpenRGBDevice.cs +++ b/Project-Aurora/Project-Aurora/Devices/OpenRGB/OpenRGBDevice.cs @@ -18,166 +18,125 @@ namespace Aurora.Devices.OpenRGB { - public class OpenRGBAuroraDevice : DefaultDevice + public class OpenRGBDeviceConnector : AuroraDeviceConnector { - public override string DeviceName => "OpenRGB"; - protected override string DeviceInfo => string.Join(", ", _devices.Select(d => d.Name)); + + protected override string ConnectorName => "OpenRGB"; private OpenRGBClient _openRgb; - private OpenRGBDevice[] _devices; - private OpenRGBColor[][] _deviceColors; - private List[] _keyMappings; - public override bool Initialize() + protected override bool InitializeImpl() { - if (IsInitialized) - return true; - try { _openRgb = new OpenRGBClient(name: "Aurora"); _openRgb.Connect(); - _devices = _openRgb.GetAllControllerData(); + OpenRGBDevice[] _devices = _openRgb.GetAllControllerData(); - _deviceColors = new OpenRGBColor[_devices.Length][]; - _keyMappings = new List[_devices.Length]; for (var i = 0; i < _devices.Length; i++) { - var dev = _devices[i]; - - _deviceColors[i] = new OpenRGBColor[dev.Leds.Length]; - for (var ledIdx = 0; ledIdx < dev.Leds.Length; ledIdx++) - _deviceColors[i][ledIdx] = new OpenRGBColor(); - - _keyMappings[i] = new List(); - - for (int j = 0; j < dev.Leds.Length; j++) - { - if (dev.Type == OpenRGBDeviceType.Keyboard) - { - if (OpenRGBKeyNames.Keyboard.TryGetValue(dev.Leds[j].Name, out var dk)) - { - _keyMappings[i].Add(dk); - } - else - { - _keyMappings[i].Add(DK.NONE); - } - } - else if (dev.Type == OpenRGBDeviceType.Mouse) - { - if (OpenRGBKeyNames.Mouse.TryGetValue(dev.Leds[j].Name, out var dk)) - { - _keyMappings[i].Add(dk); - } - else - { - _keyMappings[i].Add(DK.Peripheral_Logo); - } - } - else - { - _keyMappings[i].Add(DK.Peripheral_Logo); - } - } - - uint LedOffset = 0; - for (int j = 0; j < dev.Zones.Length; j++) - { - if (dev.Zones[j].Type == OpenRGBZoneType.Linear) - { - for (int k = 0; k < dev.Zones[j].LedCount; k++) - { - if (dev.Type == OpenRGBDeviceType.Mousemat) - { - if (k < 15) - { - _keyMappings[i][(int)(LedOffset + k)] = OpenRGBKeyNames.MousepadLights[k]; - } - } - else - { - //TODO - scale zones with more than 32 LEDs - if (k < 32) - { - _keyMappings[i][(int)(LedOffset + k)] = OpenRGBKeyNames.AdditionalLights[k]; - } - } - } - } - LedOffset += dev.Zones[j].LedCount; - } + OpenRGBAuroraDevice device = new OpenRGBAuroraDevice(_devices[i], i, _openRgb); + RegisterDevice(device); } } catch (Exception e) { - LogError("error in OpenRGB device: " + e); - IsInitialized = false; + LogError("There was an error in OpenRGB device: " + e); return false; } - IsInitialized = true; - return IsInitialized; + return true; + } + + protected override void ShutdownImpl() + { + _openRgb?.Dispose(); + _openRgb = null; } + public void UpdateLeds(int deviceIndex, OpenRGBColor[] colors) + { + _openRgb.UpdateLeds(deviceIndex, colors); + } + } + public class OpenRGBAuroraDevice : AuroraDevice + { + private OpenRGBDevice Device; + private OpenRGBColor[] DeviceColors; + private List KeyMapping = new List(); + private int DeviceIndex; + static object update_lock = new object(); + private OpenRGBClient _openRgb; + protected override string DeviceName => Device.Name; + + protected override AuroraDeviceType AuroraDeviceType => AuroraDeviceTypeConverter(Device.Type); - public override void Shutdown() + public int Id { get; set; } + + public OpenRGBAuroraDevice(OpenRGBDevice device, int deviceIndex, OpenRGBClient openRgb) { - if (!IsInitialized) - return; + Device = device; + _openRgb = openRgb; + DeviceIndex = deviceIndex; + DeviceColors = new OpenRGBColor[Device.Leds.Length]; + for (var ledIdx = 0; ledIdx < Device.Leds.Length; ledIdx++) + DeviceColors[ledIdx] = new OpenRGBColor(); + + int overIndex = 0; - for (var i = 0; i < _devices.Length; i++) + for (int j = 0; j < Device.Leds.Length; j++) { - try + if (Device.Type == OpenRGBDeviceType.Keyboard) { - _openRgb.UpdateLeds(i, _devices[i].Colors); + if (OpenRGBKeyNames.Keyboard.TryGetValue(Device.Leds[j].Name, out var dk)) + { + KeyMapping.Add(new DeviceKey(dk)); + } + else + { + KeyMapping.Add(new DeviceKey(500 + overIndex++, Device.Leds[j].Name)); + } } - catch + else { - //we tried. + KeyMapping.Add(new DeviceKey(j, Device.Leds[j].Name)); } } - - _openRgb?.Dispose(); - _openRgb = null; - IsInitialized = false; } - public override bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false) + protected override bool UpdateDeviceImpl(DeviceColorComposition composition) { - if (!IsInitialized) - return false; - for (var i = 0; i < _devices.Length; i++) - { - //should probably store these bools somewhere when initing - //might also add this as a property in the library - if (!_devices[i].Modes.Any(m => m.Name == "Direct")) - continue; + //should probably store these bools somewhere when initing + //might also add this as a property in the library + if (!Device.Modes.Any(m => m.Name == "Direct")) + return true; - for (int ledIdx = 0; ledIdx < _devices[i].Leds.Length; ledIdx++) + for (int ledIdx = 0; ledIdx < Device.Leds.Length; ledIdx++) + { + if (composition.keyColors.TryGetValue(KeyMapping[ledIdx].Tag, out var keyColor)) { - if (keyColors.TryGetValue(_keyMappings[i][ledIdx], out var keyColor)) - { - _deviceColors[i][ledIdx] = new OpenRGBColor(keyColor.R, keyColor.G, keyColor.B); - } + DeviceColors[ledIdx] = new OpenRGBColor(keyColor.R, keyColor.G, keyColor.B); } + } - try - { - _openRgb.UpdateLeds(i, _deviceColors[i]); - } - catch (Exception exc) + try + { + lock (update_lock) { - LogError($"Failed to update OpenRGB device {_devices[i].Name}: " + exc); - Reset(); + _openRgb.UpdateLeds(DeviceIndex, DeviceColors); } } + catch (Exception exc) + { + LogError($"Failed to update OpenRGB device {DeviceName}: " + exc); + return false; + } - var sleep = Global.Configuration.VarRegistry.GetVariable($"{DeviceName}_sleep"); + /*var sleep = Global.Configuration.VarRegistry.GetVariable($"{DeviceName}_sleep"); if (sleep > 0) - Thread.Sleep(sleep); + Thread.Sleep(sleep);*/ return true; } @@ -186,5 +145,38 @@ protected override void RegisterVariables(VariableRegistry variableRegistry) { variableRegistry.Register($"{DeviceName}_sleep", 25, "Sleep for", 1000, 0); } + private AuroraDeviceType AuroraDeviceTypeConverter(OpenRGBDeviceType type) + { + switch (type) + { + case OpenRGBDeviceType.Motherboard: + break; + case OpenRGBDeviceType.Dram: + break; + case OpenRGBDeviceType.Gpu: + break; + case OpenRGBDeviceType.Cooler: + break; + case OpenRGBDeviceType.Ledstrip: + break; + case OpenRGBDeviceType.Keyboard: + return AuroraDeviceType.Keyboard; + case OpenRGBDeviceType.Mouse: + return AuroraDeviceType.Mouse; + case OpenRGBDeviceType.Mousemat: + break; + case OpenRGBDeviceType.Headset: + return AuroraDeviceType.Headset; + case OpenRGBDeviceType.HeadsetStand: + break; + case OpenRGBDeviceType.Unknown: + return AuroraDeviceType.Unkown; + default: + return AuroraDeviceType.Unkown; + } + return AuroraDeviceType.Unkown; + } + + public override List GetAllDeviceKey() => KeyMapping; } } diff --git a/Project-Aurora/Project-Aurora/Devices/Razer/RazerDevice.cs b/Project-Aurora/Project-Aurora/Devices/Razer/RazerDevice.cs index 770227a63..96b6d12cc 100755 --- a/Project-Aurora/Project-Aurora/Devices/Razer/RazerDevice.cs +++ b/Project-Aurora/Project-Aurora/Devices/Razer/RazerDevice.cs @@ -1,26 +1,28 @@ -using Corale.Colore.Core; -using Corale.Colore.Razer.Keyboard; +using Aurora.Utils; using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Aurora.Settings; -using KeyboardCustom = Corale.Colore.Razer.Keyboard.Effects.Custom; -using MousepadCustom = Corale.Colore.Razer.Mousepad.Effects.Custom; -using MouseCustom = Corale.Colore.Razer.Mouse.Effects.CustomGrid; -using KeypadCustom = Corale.Colore.Razer.Keypad.Effects.Custom; -using ChromaLinkCustom = Corale.Colore.Razer.ChromaLink.Effects.Custom; +using KeyboardCustom = Colore.Effects.Keyboard.CustomKeyboardEffect; +using MousepadCustom = Colore.Effects.Mousepad.CustomMousepadEffect; +using MouseCustom = Colore.Effects.Mouse.CustomMouseEffect; +using KeypadCustom = Colore.Effects.Keypad.CustomKeypadEffect; +using ChromaLinkCustom = Colore.Effects.ChromaLink.CustomChromaLinkEffect; using System.ComponentModel; using System.Linq; -using Corale.Colore.Razer.Mouse; +using Colore; +using Colore.Data; +using Colore.Api; namespace Aurora.Devices.Razer { public class RazerDevice : DefaultDevice { + IChroma Chroma; public override string DeviceName => "Razer"; - private readonly List<(string Name, Guid Guid)> DeviceGuids = typeof(Corale.Colore.Razer.Devices) + private readonly List<(string Name, Guid Guid)> DeviceGuids = typeof(Colore.Data.Devices) .GetFields() .Select(f => (f.Name, (Guid)f.GetValue(null))) .ToList(); @@ -38,23 +40,23 @@ public class RazerDevice : DefaultDevice public override bool Initialize() { - if (!Chroma.SdkAvailable) - { - LogError("SDK not available. Install Razer synapse"); - return IsInitialized = false; - } - try { - Chroma.Instance.Initialize(); + Chroma = ColoreProvider.CreateNativeAsync().Result; + var v = Chroma.SdkVersion; } - catch (Corale.Colore.Razer.NativeCallException e) + catch (ColoreException e) { LogError("Error initializing:" + e.Message); return IsInitialized = false; } + catch (AggregateException e) + { + LogError("SDK not available. Install Razer synapse " + e.Message); + return IsInitialized = false; + } - if (!Chroma.Instance.Initialized) + if (!Chroma.Initialized) { LogError("Failed to Initialize Razer Chroma sdk"); return IsInitialized = false; @@ -73,8 +75,8 @@ public override void Shutdown() try { - Chroma.Instance.SetAll(Color.Black); - Chroma.Instance.Uninitialize(); + Chroma.SetAllAsync(Color.Black); + Chroma.UninitializeAsync(); IsInitialized = false; } catch (Exception e) @@ -83,44 +85,44 @@ public override void Shutdown() } } - public override bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false) + public override bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false) { if (!IsInitialized) return false; - if (keyColors.TryGetValue(DeviceKeys.Peripheral_Logo, out var clr)) + if (keyColors.TryGetValue((int)DeviceKeys.Peripheral_Logo, out var color)) { - keyboard.Set(ToColore(clr)); - mousepad.Set(ToColore(clr)); - mouse.Set(ToColore(clr)); - headset = ToColore(clr); - chromalink.Set(ToColore(clr)); - keypad.Set(ToColore(clr)); + keyboard.Set(ToColore(color)); + mousepad.Set(ToColore(color)); + mouse.Set(ToColore(color)); + headset = ToColore(color); + chromalink.Set(ToColore(color)); + keypad.Set(ToColore(color)); } - foreach (var key in keyColors) + foreach (var (key, clr) in keyColors) { - if (RazerMappings.keyboardDictionary.TryGetValue(key.Key, out var kbIndex)) - keyboard[kbIndex] = ToColore(key.Value); + if (RazerMappings.keyboardDictionary.TryGetValue((DeviceKeys)key, out var kbIndex)) + keyboard[kbIndex] = ToColore(clr); - if (RazerMappings.mousepadDictionary.TryGetValue(key.Key, out var mousepadIndex)) - mousepad[mousepadIndex] = ToColore(key.Value); + if (RazerMappings.mousepadDictionary.TryGetValue((DeviceKeys)key, out var mousepadIndex)) + mousepad[mousepadIndex] = ToColore(clr); - if (RazerMappings.mouseDictionary.TryGetValue(key.Key, out var mouseIndex)) - mouse[mouseIndex] = ToColore(key.Value); + if (RazerMappings.mouseDictionary.TryGetValue((DeviceKeys)key, out var mouseIndex)) + mouse[mouseIndex] = ToColore(clr); } if (!Global.Configuration.DevicesDisableKeyboard) - Chroma.Instance.Keyboard.SetCustom(keyboard); + Chroma.Keyboard.SetCustomAsync(keyboard); if (!Global.Configuration.DevicesDisableMouse) - Chroma.Instance.Mousepad.SetCustom(mousepad); + Chroma.Mousepad.SetCustomAsync(mousepad); if (!Global.Configuration.DevicesDisableMouse) - Chroma.Instance.Mouse.SetGrid(mouse); + Chroma.Mouse.SetGridAsync(mouse); if (!Global.Configuration.DevicesDisableHeadset) - Chroma.Instance.Headset.SetAll(headset); + Chroma.Headset.SetAllAsync(headset); - Chroma.Instance.Keypad.SetCustom(keypad); - Chroma.Instance.ChromaLink.SetCustom(chromalink); + Chroma.Keypad.SetCustomAsync(keypad); + Chroma.ChromaLink.SetCustomAsync(chromalink); return true; } @@ -132,21 +134,21 @@ protected override void RegisterVariables(VariableRegistry variableRegistry) private Color ToColore(System.Drawing.Color value) => new Color(value.R, value.G, value.B); - private void DetectDevices() + private async void DetectDevices() { deviceNames.Clear(); - foreach (var device in DeviceGuids.Where(d => d.Name != "Razer Core Chroma"))//somehow this device is unsupported, can't query it + foreach (var device in DeviceGuids) { try { - var devInfo = Chroma.Instance.Query(device.Guid); + var devInfo = await Chroma.QueryAsync(device.Guid); if (devInfo.Connected) { deviceNames.Add(device.Name); } } - catch (Corale.Colore.Razer.NativeCallException e) + catch (ColoreException e) { LogError("Error querying device: " + e.Message); } diff --git a/Project-Aurora/Project-Aurora/Devices/Razer/RazerMappings.cs b/Project-Aurora/Project-Aurora/Devices/Razer/RazerMappings.cs index f7f9ac25e..7951ea900 100644 --- a/Project-Aurora/Project-Aurora/Devices/Razer/RazerMappings.cs +++ b/Project-Aurora/Project-Aurora/Devices/Razer/RazerMappings.cs @@ -1,5 +1,5 @@ -using Corale.Colore.Razer.Keyboard; -using Corale.Colore.Razer.Mouse; +using Colore.Effects.Keyboard; +using Colore.Effects.Mouse; using System; using System.Collections.Generic; using System.Linq; diff --git a/Project-Aurora/Project-Aurora/Devices/Roccat/RoccatDevice.cs b/Project-Aurora/Project-Aurora/Devices/Roccat/RoccatDevice.cs index e4111b543..b9c3eb0c2 100755 --- a/Project-Aurora/Project-Aurora/Devices/Roccat/RoccatDevice.cs +++ b/Project-Aurora/Project-Aurora/Devices/Roccat/RoccatDevice.cs @@ -286,7 +286,7 @@ public bool IsConnected() byte[] stateStruct = new byte[110]; Roccat_Talk.TalkFX.Color[] colorStruct = new Roccat_Talk.TalkFX.Color[110]; - public bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false) + public bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false) { if (RyosTalkFX == null || !RyosInitialized) return false; @@ -303,10 +303,10 @@ public bool UpdateDevice(Dictionary keyColors, else if (Global.Configuration.KeyboardLocalization == PreferredKeyboardLocalization.jpn) layout = DeviceLayout.JP; - foreach (KeyValuePair key in keyColors) + foreach (KeyValuePair key in keyColors) { if (e.Cancel) return false; - DeviceKeys dev_key = key.Key; + DeviceKeys dev_key = (DeviceKeys)key.Key; //Solution to slightly different mapping rather than giving a whole different dictionary if (layout == DeviceLayout.ANSI) { @@ -320,7 +320,7 @@ public bool UpdateDevice(Dictionary keyColors, if (Global.Configuration.VarRegistry.GetVariable($"{devicename}_enable_generic") == true) { generic_deactivated_first_time = true; - if (key.Key == DeviceKeys.Peripheral_Logo || key.Key == DeviceKeys.Peripheral) + if ((DeviceKeys)key.Key == DeviceKeys.Peripheral_Logo || (DeviceKeys)key.Key == DeviceKeys.Peripheral) { //Send to generic roccat device if color not equal or 1. time after generic got enabled if (!previous_peripheral_Color.Equals(key.Value) || generic_activated_first_time == true) diff --git a/Project-Aurora/Project-Aurora/Devices/ScriptedDevice/ScriptedDevice.cs b/Project-Aurora/Project-Aurora/Devices/ScriptedDevice/ScriptedDevice.cs index 5d322deae..e94dad1eb 100644 --- a/Project-Aurora/Project-Aurora/Devices/ScriptedDevice/ScriptedDevice.cs +++ b/Project-Aurora/Project-Aurora/Devices/ScriptedDevice/ScriptedDevice.cs @@ -136,7 +136,7 @@ public void Shutdown() } } - public bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false) + public bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false) { if (isInitialized) { diff --git a/Project-Aurora/Project-Aurora/Devices/SteelSeries/SteelSeriesDevice.cs b/Project-Aurora/Project-Aurora/Devices/SteelSeries/SteelSeriesDevice.cs index c68ff22cf..1454e419d 100755 --- a/Project-Aurora/Project-Aurora/Devices/SteelSeries/SteelSeriesDevice.cs +++ b/Project-Aurora/Project-Aurora/Devices/SteelSeries/SteelSeriesDevice.cs @@ -118,7 +118,7 @@ public bool IsConnected() public bool IsInitialized => this.isInitialized; - public bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false) + public bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false) { if (e.Cancel) return false; @@ -139,7 +139,7 @@ public bool UpdateDevice(Dictionary keyColors, DoWorkEventArg GameSensePayloadPeripheryColorEventJSON payload = new GameSensePayloadPeripheryColorEventJSON(); gameSenseSDK.setupEvent(payload); - foreach (KeyValuePair key in keyColors) + foreach (KeyValuePair key in keyColors) { @@ -153,7 +153,7 @@ public bool UpdateDevice(Dictionary keyColors, DoWorkEventArg if (e.Cancel) return false; - switch (key.Key) + switch ((DeviceKeys)key.Key) { case DeviceKeys.Peripheral: SendColorToPeripheral(color, payload, forced); @@ -161,7 +161,7 @@ public bool UpdateDevice(Dictionary keyColors, DoWorkEventArg case DeviceKeys.Peripheral_Logo: case DeviceKeys.Peripheral_FrontLight: case DeviceKeys.Peripheral_ScrollWheel: - SendColorToPeripheralZone(key.Key, color, payload); + SendColorToPeripheralZone((DeviceKeys)key.Key, color, payload); break; case DeviceKeys.MOUSEPADLIGHT1: case DeviceKeys.MOUSEPADLIGHT2: @@ -179,7 +179,7 @@ public bool UpdateDevice(Dictionary keyColors, DoWorkEventArg colorsMousepad.Add(Tuple.Create(color.R, color.G, color.B)); break; default: - byte hid = GetHIDCode(key.Key); + byte hid = GetHIDCode((DeviceKeys)key.Key); if (hid != (byte)USBHIDCodes.ERROR) { @@ -389,9 +389,9 @@ public static byte GetHIDCode(DeviceKeys key) case (DeviceKeys.JPN_HALFFULLWIDTH): return (byte)USBHIDCodes.TILDE; case (DeviceKeys.OEM5): - if (Global.kbLayout.Loaded_Localization == Settings.PreferredKeyboardLocalization.jpn) + /*if (Global.kbLayout.Loaded_Localization == Settings.PreferredKeyboardLocalization.jpn) return (byte)USBHIDCodes.ERROR; - else + else*/ return (byte)USBHIDCodes.TILDE; case (DeviceKeys.TILDE): return (byte)USBHIDCodes.TILDE; @@ -514,9 +514,9 @@ public static byte GetHIDCode(DeviceKeys key) case (DeviceKeys.LEFT_SHIFT): return (byte)USBHIDCodes.LEFT_SHIFT; case (DeviceKeys.BACKSLASH_UK): - if (Global.kbLayout.Loaded_Localization == Settings.PreferredKeyboardLocalization.jpn) + /*if (Global.kbLayout.Loaded_Localization == Settings.PreferredKeyboardLocalization.jpn) return (byte)USBHIDCodes.ERROR; - else + else*/ return (byte)USBHIDCodes.BACKSLASH_UK; case (DeviceKeys.Z): return (byte)USBHIDCodes.Z; diff --git a/Project-Aurora/Project-Aurora/Devices/UnifiedHID/UnifiedHID.cs b/Project-Aurora/Project-Aurora/Devices/UnifiedHID/UnifiedHID.cs index fc7801411..77165176a 100644 --- a/Project-Aurora/Project-Aurora/Devices/UnifiedHID/UnifiedHID.cs +++ b/Project-Aurora/Project-Aurora/Devices/UnifiedHID/UnifiedHID.cs @@ -138,7 +138,7 @@ public bool IsConnected() public bool IsInitialized => this.isInitialized; - public bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false) + public bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false) { if (e.Cancel) return false; try @@ -151,7 +151,7 @@ public bool UpdateDevice(Dictionary keyColors, DoWorkEventArg if (!device.IsKeyboard) { - foreach (KeyValuePair key in keyColors) + foreach (KeyValuePair key in keyColors) { Color color = (Color)key.Value; //Apply and strip Alpha @@ -160,9 +160,9 @@ public bool UpdateDevice(Dictionary keyColors, DoWorkEventArg if (e.Cancel) return false; else if (Global.Configuration.AllowPeripheralDevices && !Global.Configuration.DevicesDisableMouse) { - if (key.Key == DeviceKeys.Peripheral_Logo || key.Key == DeviceKeys.Peripheral_ScrollWheel || key.Key == DeviceKeys.Peripheral_FrontLight) + if ((DeviceKeys)key.Key == DeviceKeys.Peripheral_Logo || (DeviceKeys)key.Key == DeviceKeys.Peripheral_ScrollWheel || (DeviceKeys)key.Key == DeviceKeys.Peripheral_FrontLight) { - device.SetLEDColour(key.Key, color.R, color.G, color.B); + device.SetLEDColour((DeviceKeys)key.Key, color.R, color.G, color.B); } peripheral_updated = true; } @@ -246,7 +246,7 @@ interface ISSDevice bool Connect(); bool Disconnect(); bool SetLEDColour(DeviceKeys key, byte red, byte green, byte blue); - bool SetMultipleLEDColour(Dictionary keyColors); + bool SetMultipleLEDColour(Dictionary keyColors); } abstract class UnifiedBase : ISSDevice @@ -300,7 +300,7 @@ public virtual bool SetLEDColour(DeviceKeys key, byte red, byte green, byte blue return false; } - public virtual bool SetMultipleLEDColour(Dictionary keyColors) + public virtual bool SetMultipleLEDColour(Dictionary keyColors) { return false; } diff --git a/Project-Aurora/Project-Aurora/Devices/Uniwill/UniwillDevice.cs b/Project-Aurora/Project-Aurora/Devices/Uniwill/UniwillDevice.cs index 124b41f1d..d01b07fc1 100644 --- a/Project-Aurora/Project-Aurora/Devices/Uniwill/UniwillDevice.cs +++ b/Project-Aurora/Project-Aurora/Devices/Uniwill/UniwillDevice.cs @@ -195,7 +195,7 @@ public bool IsConnected() bool bRefreshOnce = true; // This is used to refresh effect between Row-Type and Fw-Type change or layout light level change - public bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false) + public bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false) { if (e.Cancel) return false; @@ -221,9 +221,9 @@ public bool UpdateDevice(DeviceColorComposition colorComposition, DoWorkEventArg return update_result; } - private KeyValuePair AdjustBrightness(KeyValuePair kc) + private KeyValuePair AdjustBrightness(KeyValuePair kc) { - var newEntry = new KeyValuePair(kc.Key, Color.FromArgb(255, Utils.ColorUtils.MultiplyColorByScalar(kc.Value, (kc.Value.A / 255.0D) * brightness))); + var newEntry = new KeyValuePair(kc.Key, Color.FromArgb(255, Utils.ColorUtils.MultiplyColorByScalar(kc.Value, (kc.Value.A / 255.0D) * brightness))); kc = newEntry; return kc; } diff --git a/Project-Aurora/Project-Aurora/Devices/Vulcan/Vulcan.cs b/Project-Aurora/Project-Aurora/Devices/Vulcan/Vulcan.cs index 999f81f49..1ba8d1db7 100644 --- a/Project-Aurora/Project-Aurora/Devices/Vulcan/Vulcan.cs +++ b/Project-Aurora/Project-Aurora/Devices/Vulcan/Vulcan.cs @@ -21,15 +21,15 @@ public class VulcanDevice : DefaultDevice public override void Shutdown() => VulcanKeyboard.Disconnect(); - public override bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false) + public override bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false) { if (!IsInitialized) return false; - foreach (var key in keyColors) + foreach (var (key, clr) in keyColors) { - if (VulcanKeyMap.KeyMap.TryGetValue(key.Key, out var vulcanKey)) - VulcanKeyboard.SetKeyColor(vulcanKey, ColorUtils.CorrectWithAlpha(key.Value)); + if (VulcanKeyMap.KeyMap.TryGetValue((DeviceKeys)key, out var vulcanKey)) + VulcanKeyboard.SetKeyColor(vulcanKey, ColorUtils.CorrectWithAlpha(clr)); } return VulcanKeyboard.Update(); diff --git a/Project-Aurora/Project-Aurora/Devices/Wooting/WootingDevice.cs b/Project-Aurora/Project-Aurora/Devices/Wooting/WootingDevice.cs index 40c7d7ef1..5a7906894 100755 --- a/Project-Aurora/Project-Aurora/Devices/Wooting/WootingDevice.cs +++ b/Project-Aurora/Project-Aurora/Devices/Wooting/WootingDevice.cs @@ -58,7 +58,7 @@ public override void Shutdown() IsInitialized = false; } - public override bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false) + public override bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false) { if (!IsInitialized) return false; @@ -69,14 +69,14 @@ public override bool UpdateDevice(Dictionary keyColors, DoWor try { - foreach (var key in keyColors) + foreach (var (key, clr) in keyColors) { - if (WootingKeyMap.KeyMap.TryGetValue(key.Key, out var wootKey)) + if (WootingKeyMap.KeyMap.TryGetValue((DeviceKeys)key, out var wootKey)) { - var clr = ColorUtils.CorrectWithAlpha(key.Value); - RGBControl.SetKey(wootKey, (byte)(clr.R * rScalar), - (byte)(clr.G * gScalar), - (byte)(clr.B * bScalar)); + var color = ColorUtils.CorrectWithAlpha(clr); + RGBControl.SetKey(wootKey, (byte)(color.R * rScalar), + (byte)(color.G * gScalar), + (byte)(color.B * bScalar)); } } RGBControl.UpdateKeyboard(); diff --git a/Project-Aurora/Project-Aurora/Devices/YeeLight/YeeLightDevice.cs b/Project-Aurora/Project-Aurora/Devices/YeeLight/YeeLightDevice.cs index e7c5770ff..3e1ed0e85 100644 --- a/Project-Aurora/Project-Aurora/Devices/YeeLight/YeeLightDevice.cs +++ b/Project-Aurora/Project-Aurora/Devices/YeeLight/YeeLightDevice.cs @@ -100,7 +100,7 @@ public override void Shutdown() } } - public override bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false) + public override bool UpdateDevice(Dictionary keyColors, DoWorkEventArgs e, bool forced = false) { // Reduce sending based on user config if (!updateDelayStopWatch.IsRunning) @@ -112,7 +112,7 @@ public override bool UpdateDevice(Dictionary keyColors, DoWor return false; var targetKey = Global.Configuration.VarRegistry.GetVariable($"{DeviceName}_devicekey"); - if (!keyColors.TryGetValue(targetKey, out var targetColor)) + if (!keyColors.TryGetValue((int)targetKey, out var targetColor)) return false; if ((targetColor.R + targetColor.G + targetColor.B) > 0) diff --git a/Project-Aurora/Project-Aurora/EffectsEngine/Animations/AnimationManualColorFrame.cs b/Project-Aurora/Project-Aurora/EffectsEngine/Animations/AnimationManualColorFrame.cs index 11c1e13df..b30a009aa 100644 --- a/Project-Aurora/Project-Aurora/EffectsEngine/Animations/AnimationManualColorFrame.cs +++ b/Project-Aurora/Project-Aurora/EffectsEngine/Animations/AnimationManualColorFrame.cs @@ -1,4 +1,5 @@ using Aurora.Devices; +using Aurora.Settings; using System; using System.Collections.Generic; using System.Drawing; @@ -11,13 +12,13 @@ namespace Aurora.EffectsEngine.Animations public class AnimationManualColorFrame : AnimationFrame { [Newtonsoft.Json.JsonProperty] - private Dictionary _BitmapColors = new Dictionary(); + private Dictionary _BitmapColors = new Dictionary(); - public Dictionary BitmapColors { - get { return new Dictionary(_BitmapColors); } + public Dictionary BitmapColors { + get { return new Dictionary(_BitmapColors); } } - public AnimationFrame SetKeyColor(DeviceKeys Key, Color Color) + public AnimationFrame SetKeyColor(DeviceKey Key, Color Color) { if (_BitmapColors.ContainsKey(Key)) _BitmapColors[Key] = Color; @@ -27,7 +28,7 @@ public AnimationFrame SetKeyColor(DeviceKeys Key, Color Color) return this; } - public AnimationFrame SetBitmapColors(Dictionary ColorMapping) + public AnimationFrame SetBitmapColors(Dictionary ColorMapping) { if(ColorMapping != null) _BitmapColors = ColorMapping; @@ -37,11 +38,11 @@ public AnimationFrame SetBitmapColors(Dictionary ColorMapping public AnimationManualColorFrame() { - _BitmapColors = new Dictionary(); + _BitmapColors = new Dictionary(); _duration = 0.0f; } - public AnimationManualColorFrame(Dictionary ColorMapping, float duration = 0.0f) + public AnimationManualColorFrame(Dictionary ColorMapping, float duration = 0.0f) { _BitmapColors = ColorMapping; @@ -72,7 +73,7 @@ public override AnimationFrame BlendWith(AnimationFrame otherAnim, double amount throw new FormatException("Cannot blend with another type"); } - Dictionary _combinedBitmapColors = new Dictionary(); + Dictionary _combinedBitmapColors = new Dictionary(); amount = GetTransitionValue(amount); foreach (var kvp in _BitmapColors) @@ -103,7 +104,7 @@ public override AnimationFrame BlendWith(AnimationFrame otherAnim, double amount public override AnimationFrame GetCopy() { - Dictionary newmapping = new Dictionary(_BitmapColors); + Dictionary newmapping = new Dictionary(_BitmapColors); return new AnimationManualColorFrame(newmapping, _duration).SetAngle(_angle).SetTransitionType(_transitionType); } diff --git a/Project-Aurora/Project-Aurora/EffectsEngine/EffectLayer.cs b/Project-Aurora/Project-Aurora/EffectsEngine/EffectLayer.cs index f3b54fe36..e35bce8dc 100755 --- a/Project-Aurora/Project-Aurora/EffectsEngine/EffectLayer.cs +++ b/Project-Aurora/Project-Aurora/EffectsEngine/EffectLayer.cs @@ -21,15 +21,6 @@ public class EffectLayer : IDisposable private bool needsRender = false; - Color peripheral; - - private static Devices.DeviceKeys[] possible_peripheral_keys = { - Devices.DeviceKeys.Peripheral, - Devices.DeviceKeys.Peripheral_FrontLight, - Devices.DeviceKeys.Peripheral_ScrollWheel, - Devices.DeviceKeys.Peripheral_Logo - }; - static private ColorSpectrum rainbow = new ColorSpectrum(ColorSpectrum.RainbowLoop); /// @@ -39,7 +30,6 @@ public EffectLayer() { name = "Effect Layer"; colormap = new Bitmap(Effects.canvas_width, Effects.canvas_height); - peripheral = Color.FromArgb(0, 0, 0, 0); Fill(Color.FromArgb(0, 0, 0, 0)); } @@ -52,7 +42,6 @@ public EffectLayer(EffectLayer another_layer) { this.name = another_layer.name; colormap = new Bitmap(another_layer.colormap); - peripheral = another_layer.peripheral; needsRender = another_layer.needsRender; } @@ -65,7 +54,6 @@ public EffectLayer(string name) { this.name = name; colormap = new Bitmap(Effects.canvas_width, Effects.canvas_height); - peripheral = Color.FromArgb(0, 0, 0, 0); Fill(Color.FromArgb(0, 0, 0, 0)); } @@ -79,7 +67,6 @@ public EffectLayer(string name, Color color) { this.name = name; colormap = new Bitmap(Effects.canvas_width, Effects.canvas_height); - peripheral = color; Fill(color); } @@ -96,7 +83,6 @@ public EffectLayer(string name, Color color) { this.name = name; colormap = new Bitmap(Effects.canvas_width, Effects.canvas_height); - peripheral = new Color(); Brush brush; float shift = 0.0f; @@ -414,7 +400,7 @@ public EffectLayer Set(int x, int y, Color color) /// DeviceKey to be set /// Color to be used /// Itself - public EffectLayer Set(Devices.DeviceKeys key, Color color) + public EffectLayer Set(DeviceKey key, Color color) { SetOneKey(key, color); @@ -427,7 +413,7 @@ public EffectLayer Set(Devices.DeviceKeys key, Color color) /// Array of DeviceKeys to be set /// Color to be used /// Itself - public EffectLayer Set(Devices.DeviceKeys[] keys, Color color) + public EffectLayer Set(DeviceKey[] keys, Color color) { foreach(var key in keys) SetOneKey(key, color); @@ -570,7 +556,9 @@ public EffectLayer DrawTransformed(KeySequence sequence, Action render /// DeviceKey to be set /// Color to be used /// Itself - private EffectLayer SetOneKey(Devices.DeviceKeys key, Color color) => SetOneKey(key, new SolidBrush(color)); + + private EffectLayer SetOneKey(DeviceKey key, Color color) => SetOneKey(key, new SolidBrush(color)); + /// /// Sets one DeviceKeys key with a specific brush on the bitmap @@ -578,44 +566,22 @@ public EffectLayer DrawTransformed(KeySequence sequence, Action render /// DeviceKey to be set /// Brush to be used /// Itself - private EffectLayer SetOneKey(Devices.DeviceKeys key, Brush brush) + private EffectLayer SetOneKey(DeviceKey key, Brush brush) { BitmapRectangle keymaping = Effects.GetBitmappingFromDeviceKey(key); - if (key == Devices.DeviceKeys.Peripheral) + if (keymaping.Top < 0 || keymaping.Bottom > Effects.canvas_height || + keymaping.Left < 0 || keymaping.Right > Effects.canvas_width) { - if (brush is SolidBrush solidBrush) - peripheral = solidBrush.Color; - // TODO Add support for this ^ to other brush types - - using (Graphics g = Graphics.FromImage(colormap)) - { - foreach (Devices.DeviceKeys peri_key in possible_peripheral_keys) - { - BitmapRectangle peri_keymaping = Effects.GetBitmappingFromDeviceKey(peri_key); - - if (peri_keymaping.IsValid) - g.FillRectangle(brush, peri_keymaping.Rectangle); - } - - needsRender = true; - } + Global.logger.Warn("Coudln't set key color " + key.ToString()); + return this; } else { - if (keymaping.Top < 0 || keymaping.Bottom > Effects.canvas_height || - keymaping.Left < 0 || keymaping.Right > Effects.canvas_width) - { - Global.logger.Warn("Coudln't set key color " + key.ToString()); - return this; - } - else + using (Graphics g = Graphics.FromImage(colormap)) { - using (Graphics g = Graphics.FromImage(colormap)) - { - g.FillRectangle(brush, keymaping.Rectangle); - needsRender = true; - } + g.FillRectangle(brush, keymaping.Rectangle); + needsRender = true; } } @@ -628,7 +594,7 @@ private EffectLayer SetOneKey(Devices.DeviceKeys key, Brush brush) /// X Coordiante on the bitmap /// Y Coordinate on the bitmap /// Color at (X,Y) - public Color Get(int x, int y) + public Color Get(int deviceId, int x, int y) { BitmapData srcData = colormap.LockBits( new Rectangle(x, y, 1, 1), @@ -661,23 +627,16 @@ public Color Get(int x, int y) /// /// Key /// Color of the Key - public Color Get(Devices.DeviceKeys key) + public Color Get(DeviceKey key) { try { BitmapRectangle keymaping = Effects.GetBitmappingFromDeviceKey(key); - if (keymaping.IsEmpty && key == Devices.DeviceKeys.Peripheral) - { - return peripheral; - } - else - { - if (keymaping.IsEmpty) - return Color.FromArgb(0, 0, 0); + if (keymaping.IsEmpty || keymaping.Height + keymaping.Top > colormap.Height || keymaping.Width + keymaping.Left > colormap.Width) + return Color.FromArgb(0, 0, 0); - return Utils.BitmapUtils.GetRegionColor(colormap, keymaping.Rectangle); - } + return Utils.BitmapUtils.GetRegionColor(colormap, keymaping.Rectangle); } catch (Exception exc) { @@ -722,8 +681,6 @@ public Bitmap GetBitmap() g.DrawImage(rhs.colormap, 0, 0); } - added.peripheral = Utils.ColorUtils.AddColors(lhs.peripheral, rhs.peripheral); - return added; } @@ -765,8 +722,6 @@ public Bitmap GetBitmap() layer.colormap.UnlockBits(srcData); - layer.peripheral = Utils.ColorUtils.MultiplyColorByScalar(layer.peripheral, value); - return layer; } @@ -819,7 +774,7 @@ public EffectLayer PercentEffect(ColorSpectrum spectrum, Settings.KeySequence se /// The maxiumum progress value /// The percent effect type /// Itself - public EffectLayer PercentEffect(Color foregroundColor, Color backgroundColor, Devices.DeviceKeys[] keys, double value, double total, PercentEffectType percentEffectType = PercentEffectType.Progressive, double flash_past = 0.0, bool flash_reversed = false, bool blink_background = false) + public EffectLayer PercentEffect(Color foregroundColor, Color backgroundColor, DeviceKey[] keys, double value, double total, PercentEffectType percentEffectType = PercentEffectType.Progressive, double flash_past = 0.0, bool flash_reversed = false, bool blink_background = false) { double progress_total = value / total; if (progress_total < 0.0) @@ -848,7 +803,7 @@ public EffectLayer PercentEffect(Color foregroundColor, Color backgroundColor, D } else { for (int i = 0; i < keys.Count(); i++) { - Devices.DeviceKeys current_key = keys[i]; + DeviceKey current_key = keys[i]; switch (percentEffectType) { @@ -888,7 +843,7 @@ public EffectLayer PercentEffect(Color foregroundColor, Color backgroundColor, D /// The maxiumum progress value /// The percent effect type /// Itself - public EffectLayer PercentEffect(ColorSpectrum spectrum, Devices.DeviceKeys[] keys, double value, double total, PercentEffectType percentEffectType = PercentEffectType.Progressive, double flash_past = 0.0, bool flash_reversed = false) + public EffectLayer PercentEffect(ColorSpectrum spectrum, DeviceKey[] keys, double value, double total, PercentEffectType percentEffectType = PercentEffectType.Progressive, double flash_past = 0.0, bool flash_reversed = false) { double progress_total = value / total; if (progress_total < 0.0) @@ -910,7 +865,7 @@ public EffectLayer PercentEffect(ColorSpectrum spectrum, Devices.DeviceKeys[] ke for (int i = 0; i < keys.Count(); i++) { - Devices.DeviceKeys current_key = keys[i]; + DeviceKey current_key = keys[i]; switch (percentEffectType) { diff --git a/Project-Aurora/Project-Aurora/EffectsEngine/Effects.cs b/Project-Aurora/Project-Aurora/EffectsEngine/Effects.cs index d396ebe5c..3cdaf955f 100755 --- a/Project-Aurora/Project-Aurora/EffectsEngine/Effects.cs +++ b/Project-Aurora/Project-Aurora/EffectsEngine/Effects.cs @@ -5,6 +5,7 @@ using Aurora.Devices; using System.Drawing; using System.Timers; +using Aurora.Settings; namespace Aurora { @@ -132,13 +133,6 @@ public class Effects int pushedframes = 0; Timer fpsDebugTimer = new Timer(1000D); - public static Devices.DeviceKeys[] possible_peripheral_keys = { - Devices.DeviceKeys.Peripheral, - Devices.DeviceKeys.Peripheral_FrontLight, - Devices.DeviceKeys.Peripheral_ScrollWheel, - Devices.DeviceKeys.Peripheral_Logo - }; - Bitmap _forcedFrame = null; @@ -174,6 +168,8 @@ public static float editor_to_canvas_width { get { + if (grid_width == 0) + return 0; return canvas_width / grid_width; } } @@ -182,6 +178,8 @@ public static float editor_to_canvas_height { get { + if (grid_height == 0) + return 0; return canvas_height / grid_height; } } @@ -199,15 +197,15 @@ public static int canvas_biggest /// public static Aurora.Settings.FreeFormObject WholeCanvasFreeForm => new Settings.FreeFormObject(-grid_baseline_x, -grid_baseline_y, grid_width, grid_height); - private static Dictionary bitmap_map = new Dictionary(); + private static Dictionary bitmap_map = new Dictionary(new DeviceKey.EqualityComparer()); - private static Dictionary keyColors = new Dictionary(); + private static Dictionary keyColors = new Dictionary(new DeviceKey.EqualityComparer()); public Effects() { - Devices.DeviceKeys[] allKeys = bitmap_map.Keys.ToArray(); + DeviceKey[] allKeys = bitmap_map.Keys.ToArray(); - foreach (Devices.DeviceKeys key in allKeys) + foreach (var key in allKeys) { keyColors.Add(key, Color.FromArgb(0, 0, 0)); } @@ -269,15 +267,15 @@ public void SetCanvasSize(int width, int height) canvas_height = height == 0 ? 1 : height; } - public static BitmapRectangle GetBitmappingFromDeviceKey(DeviceKeys key) + public static BitmapRectangle GetBitmappingFromDeviceKey(DeviceKey key) { if (bitmap_map.ContainsKey(key)) - return bitmap_map[key]; - else - return new BitmapRectangle(); + return bitmap_map[bitmap_map.Keys.First(k => k == key)]; + + return new BitmapRectangle(); } - public void SetBitmapping(Dictionary bitmap_map) + public void SetBitmapping(Dictionary bitmap_map) { Effects.bitmap_map = bitmap_map; } @@ -300,18 +298,11 @@ public void PushFrame(EffectFrame frame) background += layer; //Apply Brightness - Dictionary peripehralColors = new Dictionary(); - - foreach (Devices.DeviceKeys key in possible_peripheral_keys) - { - if(!peripehralColors.ContainsKey(key)) - peripehralColors.Add(key, background.Get(key)); - } background.Fill(Color.FromArgb((int)(255.0f * (1.0f - Global.Configuration.KeyboardBrightness)), Color.Black)); - foreach (Devices.DeviceKeys key in possible_peripheral_keys) - background.Set(key, Utils.ColorUtils.BlendColors(peripehralColors[key], Color.Black, (1.0f - Global.Configuration.PeripheralBrightness))); + //foreach (Devices.DeviceKeys key in possible_peripheral_keys) + // background.Set(key, Utils.ColorUtils.BlendColors(peripehralColors[key], Color.Black, (1.0f - Global.Configuration.PeripheralBrightness))); //if (Global.Configuration.UseVolumeAsBrightness) @@ -327,22 +318,37 @@ public void PushFrame(EffectFrame frame) } } - Dictionary keyColors = new Dictionary(); - Devices.DeviceKeys[] allKeys = bitmap_map.Keys.ToArray(); + var keyColors = new Dictionary(); + + DeviceKey[] allKeys = bitmap_map.Keys.ToArray(); - foreach (Devices.DeviceKeys key in allKeys) + foreach (var key in allKeys) + { keyColors[key] = background.Get(key); + } + - Effects.keyColors = new Dictionary(keyColors); + Effects.keyColors = new Dictionary(keyColors); pushedframes++; - DeviceColorComposition dcc = new DeviceColorComposition() + Dictionary dcc = new Dictionary(); + foreach (var item in keyColors.Keys) { - keyColors = new Dictionary(keyColors), - keyBitmap = background.GetBitmap() - }; + if (item.DeviceId == null) + continue; + if(!dcc.ContainsKey(item.DeviceId.Value)) + { + dcc[item.DeviceId.Value] = new DeviceColorComposition() + { + keyColors = new Dictionary(), + keyBitmap = background.GetBitmap() + }; + } + dcc[item.DeviceId.Value].keyColors.Add(item.Tag, keyColors[item]); + } + //TODO Global.dev_manager.UpdateDevices(dcc); var hander = NewLayerRender; @@ -353,7 +359,7 @@ public void PushFrame(EffectFrame frame) { EffectLayer pizelated_render = new EffectLayer(); - foreach (Devices.DeviceKeys key in allKeys) + foreach (DeviceKey key in allKeys) { pizelated_render.Set(key, background.Get(key)); } @@ -372,7 +378,7 @@ public void PushFrame(EffectFrame frame) var elapsedMs = watch.ElapsedMilliseconds; } - public Dictionary GetKeyboardLights() + public Dictionary GetDevicesColor() { return Effects.keyColors; } diff --git a/Project-Aurora/Project-Aurora/LibreHardwareMonitorLib.dll b/Project-Aurora/Project-Aurora/LibreHardwareMonitorLib.dll new file mode 100644 index 000000000..590aabb7d Binary files /dev/null and b/Project-Aurora/Project-Aurora/LibreHardwareMonitorLib.dll differ diff --git a/Project-Aurora/Project-Aurora/Profiles/BF3/BF3Profile.cs b/Project-Aurora/Project-Aurora/Profiles/BF3/BF3Profile.cs index 326cbdd11..f6c8c3e11 100644 --- a/Project-Aurora/Project-Aurora/Profiles/BF3/BF3Profile.cs +++ b/Project-Aurora/Project-Aurora/Profiles/BF3/BF3Profile.cs @@ -31,7 +31,7 @@ public override void Reset() Properties = new LayerHandlerProperties() { _PrimaryColor = Color.White, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { Devices.DeviceKeys.W, Devices.DeviceKeys.A, Devices.DeviceKeys.S, Devices.DeviceKeys.D }) + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.W, Devices.DeviceKeys.A, Devices.DeviceKeys.S, Devices.DeviceKeys.D }) } }), new Layer("Other Actions", new SolidColorLayerHandler() @@ -39,7 +39,7 @@ public override void Reset() Properties = new LayerHandlerProperties() { _PrimaryColor = Color.Yellow, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { Devices.DeviceKeys.SPACE, Devices.DeviceKeys.LEFT_SHIFT, Devices.DeviceKeys.G, Devices.DeviceKeys.E, Devices.DeviceKeys.F, Devices.DeviceKeys.TAB }) + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.SPACE, Devices.DeviceKeys.LEFT_SHIFT, Devices.DeviceKeys.G, Devices.DeviceKeys.E, Devices.DeviceKeys.F, Devices.DeviceKeys.TAB }) } }), new Layer("Wrapper Lighting", new Aurora.Settings.Layers.WrapperLightsLayerHandler()), diff --git a/Project-Aurora/Project-Aurora/Profiles/Blacklight/BLightProfile.cs b/Project-Aurora/Project-Aurora/Profiles/Blacklight/BLightProfile.cs index 572804e0d..6c05b3242 100644 --- a/Project-Aurora/Project-Aurora/Profiles/Blacklight/BLightProfile.cs +++ b/Project-Aurora/Project-Aurora/Profiles/Blacklight/BLightProfile.cs @@ -31,7 +31,7 @@ public override void Reset() Properties = new LayerHandlerProperties() { _PrimaryColor = Color.Orange, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { Devices.DeviceKeys.W, Devices.DeviceKeys.A, Devices.DeviceKeys.S, Devices.DeviceKeys.D }) + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.W, Devices.DeviceKeys.A, Devices.DeviceKeys.S, Devices.DeviceKeys.D }) } }), new Layer("Wrapper Lighting", new Aurora.Settings.Layers.WrapperLightsLayerHandler()), diff --git a/Project-Aurora/Project-Aurora/Profiles/Borderlands 2/Borderlands2Profile.cs b/Project-Aurora/Project-Aurora/Profiles/Borderlands 2/Borderlands2Profile.cs index 89341e825..a92b09ac3 100644 --- a/Project-Aurora/Project-Aurora/Profiles/Borderlands 2/Borderlands2Profile.cs +++ b/Project-Aurora/Project-Aurora/Profiles/Borderlands 2/Borderlands2Profile.cs @@ -26,7 +26,7 @@ public override void Reset() _PrimaryColor = Color.Red, _SecondaryColor = Color.DarkRed, _PercentType = PercentEffectType.Progressive_Gradual, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.ONE, Devices.DeviceKeys.TWO, Devices.DeviceKeys.THREE, Devices.DeviceKeys.FOUR, Devices.DeviceKeys.FIVE, Devices.DeviceKeys.SIX, Devices.DeviceKeys.SEVEN, Devices.DeviceKeys.EIGHT, Devices.DeviceKeys.NINE, Devices.DeviceKeys.ZERO, Devices.DeviceKeys.MINUS, Devices.DeviceKeys.EQUALS @@ -44,7 +44,7 @@ public override void Reset() _PrimaryColor = Color.Cyan, _SecondaryColor = Color.DarkCyan, _PercentType = PercentEffectType.Progressive_Gradual, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.F1, Devices.DeviceKeys.F2, Devices.DeviceKeys.F3, Devices.DeviceKeys.F4, Devices.DeviceKeys.F5, Devices.DeviceKeys.F6, Devices.DeviceKeys.F7, Devices.DeviceKeys.F8, Devices.DeviceKeys.F9, Devices.DeviceKeys.F10, Devices.DeviceKeys.F11, Devices.DeviceKeys.F12 diff --git a/Project-Aurora/Project-Aurora/Profiles/CSGO/CSGOProfile.cs b/Project-Aurora/Project-Aurora/Profiles/CSGO/CSGOProfile.cs index 2c8d9189e..ab716332d 100644 --- a/Project-Aurora/Project-Aurora/Profiles/CSGO/CSGOProfile.cs +++ b/Project-Aurora/Project-Aurora/Profiles/CSGO/CSGOProfile.cs @@ -29,7 +29,7 @@ public override void Reset() Properties = new LayerHandlerProperties() { _PrimaryColor = Color.FromArgb(0, 255, 0), - _Sequence = new KeySequence(new Devices.DeviceKeys[] { Devices.DeviceKeys.TILDE, Devices.DeviceKeys.ONE, Devices.DeviceKeys.TWO, Devices.DeviceKeys.THREE, Devices.DeviceKeys.FOUR, Devices.DeviceKeys.FIVE, Devices.DeviceKeys.SIX, Devices.DeviceKeys.SEVEN, Devices.DeviceKeys.EIGHT, Devices.DeviceKeys.NINE, Devices.DeviceKeys.ZERO, Devices.DeviceKeys.MINUS, Devices.DeviceKeys.EQUALS, Devices.DeviceKeys.BACKSPACE, + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.TILDE, Devices.DeviceKeys.ONE, Devices.DeviceKeys.TWO, Devices.DeviceKeys.THREE, Devices.DeviceKeys.FOUR, Devices.DeviceKeys.FIVE, Devices.DeviceKeys.SIX, Devices.DeviceKeys.SEVEN, Devices.DeviceKeys.EIGHT, Devices.DeviceKeys.NINE, Devices.DeviceKeys.ZERO, Devices.DeviceKeys.MINUS, Devices.DeviceKeys.EQUALS, Devices.DeviceKeys.BACKSPACE, Devices.DeviceKeys.TAB, Devices.DeviceKeys.Q, Devices.DeviceKeys.W, Devices.DeviceKeys.E, Devices.DeviceKeys.R, Devices.DeviceKeys.T, Devices.DeviceKeys.Y, Devices.DeviceKeys.U, Devices.DeviceKeys.I, Devices.DeviceKeys.O, Devices.DeviceKeys.P, Devices.DeviceKeys.CLOSE_BRACKET, Devices.DeviceKeys.OPEN_BRACKET, Devices.DeviceKeys.BACKSLASH, Devices.DeviceKeys.CAPS_LOCK, Devices.DeviceKeys.A, Devices.DeviceKeys.S, Devices.DeviceKeys.D, Devices.DeviceKeys.F, Devices.DeviceKeys.G, Devices.DeviceKeys.H, Devices.DeviceKeys.J, Devices.DeviceKeys.K, Devices.DeviceKeys.L, Devices.DeviceKeys.SEMICOLON, Devices.DeviceKeys.APOSTROPHE, Devices.DeviceKeys.HASHTAG, Devices.DeviceKeys.ENTER, Devices.DeviceKeys.LEFT_SHIFT, Devices.DeviceKeys.BACKSLASH_UK, Devices.DeviceKeys.Z, Devices.DeviceKeys.X, Devices.DeviceKeys.C, Devices.DeviceKeys.V, Devices.DeviceKeys.B, Devices.DeviceKeys.N, Devices.DeviceKeys.M, Devices.DeviceKeys.COMMA, Devices.DeviceKeys.PERIOD, Devices.DeviceKeys.FORWARD_SLASH, Devices.DeviceKeys.RIGHT_SHIFT, @@ -66,7 +66,7 @@ public override void Reset() _PrimaryColor = Color.FromArgb(0, 255, 0), _SecondaryColor = Color.FromArgb(255, 0, 0), _PercentType = PercentEffectType.Progressive_Gradual, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.F1, Devices.DeviceKeys.F2, Devices.DeviceKeys.F3, Devices.DeviceKeys.F4, Devices.DeviceKeys.F5, Devices.DeviceKeys.F6, Devices.DeviceKeys.F7, Devices.DeviceKeys.F8, Devices.DeviceKeys.F9, Devices.DeviceKeys.F10, Devices.DeviceKeys.F11, Devices.DeviceKeys.F12 @@ -87,7 +87,7 @@ public override void Reset() _PrimaryColor = Color.FromArgb(0, 0, 255), _SecondaryColor = Color.FromArgb(255, 0, 0), _PercentType = PercentEffectType.Progressive, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.ONE, Devices.DeviceKeys.TWO, Devices.DeviceKeys.THREE, Devices.DeviceKeys.FOUR, Devices.DeviceKeys.FIVE, Devices.DeviceKeys.SIX, Devices.DeviceKeys.SEVEN, Devices.DeviceKeys.EIGHT, Devices.DeviceKeys.NINE, Devices.DeviceKeys.ZERO, Devices.DeviceKeys.MINUS, Devices.DeviceKeys.EQUALS diff --git a/Project-Aurora/Project-Aurora/Profiles/CSGO/Layers/CSGOBombLayerHandler.cs b/Project-Aurora/Project-Aurora/Profiles/CSGO/Layers/CSGOBombLayerHandler.cs index 31a68790c..6362da24c 100644 --- a/Project-Aurora/Project-Aurora/Profiles/CSGO/Layers/CSGOBombLayerHandler.cs +++ b/Project-Aurora/Project-Aurora/Profiles/CSGO/Layers/CSGOBombLayerHandler.cs @@ -50,7 +50,7 @@ public override void Default() { base.Default(); - this._Sequence = new KeySequence(new Devices.DeviceKeys[] { Devices.DeviceKeys.NUM_LOCK, Devices.DeviceKeys.NUM_SLASH, Devices.DeviceKeys.NUM_ASTERISK, Devices.DeviceKeys.NUM_MINUS, Devices.DeviceKeys.NUM_SEVEN, Devices.DeviceKeys.NUM_EIGHT, Devices.DeviceKeys.NUM_NINE, Devices.DeviceKeys.NUM_PLUS, Devices.DeviceKeys.NUM_FOUR, Devices.DeviceKeys.NUM_FIVE, Devices.DeviceKeys.NUM_SIX, Devices.DeviceKeys.NUM_ONE, Devices.DeviceKeys.NUM_TWO, Devices.DeviceKeys.NUM_THREE, Devices.DeviceKeys.NUM_ZERO, Devices.DeviceKeys.NUM_PERIOD, Devices.DeviceKeys.NUM_ENTER }); + this._Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.NUM_LOCK, Devices.DeviceKeys.NUM_SLASH, Devices.DeviceKeys.NUM_ASTERISK, Devices.DeviceKeys.NUM_MINUS, Devices.DeviceKeys.NUM_SEVEN, Devices.DeviceKeys.NUM_EIGHT, Devices.DeviceKeys.NUM_NINE, Devices.DeviceKeys.NUM_PLUS, Devices.DeviceKeys.NUM_FOUR, Devices.DeviceKeys.NUM_FIVE, Devices.DeviceKeys.NUM_SIX, Devices.DeviceKeys.NUM_ONE, Devices.DeviceKeys.NUM_TWO, Devices.DeviceKeys.NUM_THREE, Devices.DeviceKeys.NUM_ZERO, Devices.DeviceKeys.NUM_PERIOD, Devices.DeviceKeys.NUM_ENTER }); this._FlashColor = Color.FromArgb(255, 0, 0); this._PrimedColor = Color.FromArgb(0, 255, 0); this._DisplayWinningTeamColor = true; diff --git a/Project-Aurora/Project-Aurora/Profiles/CSGO/Layers/CSGOKillsIndicatorLayerHandler.cs b/Project-Aurora/Project-Aurora/Profiles/CSGO/Layers/CSGOKillsIndicatorLayerHandler.cs index 3601cc863..9cc36a37d 100644 --- a/Project-Aurora/Project-Aurora/Profiles/CSGO/Layers/CSGOKillsIndicatorLayerHandler.cs +++ b/Project-Aurora/Project-Aurora/Profiles/CSGO/Layers/CSGOKillsIndicatorLayerHandler.cs @@ -35,7 +35,8 @@ public override void Default() { base.Default(); - this._Sequence = new KeySequence(new Devices.DeviceKeys[] { Devices.DeviceKeys.G1, Devices.DeviceKeys.G2, Devices.DeviceKeys.G3, Devices.DeviceKeys.G4, Devices.DeviceKeys.G5 }); + + this._Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.G1, Devices.DeviceKeys.G2, Devices.DeviceKeys.G3, Devices.DeviceKeys.G4, Devices.DeviceKeys.G5 }); this._RegularKillColor = Color.FromArgb(255, 204, 0); this._HeadshotKillColor = Color.FromArgb(255, 0, 0); } diff --git a/Project-Aurora/Project-Aurora/Profiles/CSGO/Layers/CSGOTypingIndicatorLayerHandler.cs b/Project-Aurora/Project-Aurora/Profiles/CSGO/Layers/CSGOTypingIndicatorLayerHandler.cs index 1dfbb5117..a7bcf1d80 100644 --- a/Project-Aurora/Project-Aurora/Profiles/CSGO/Layers/CSGOTypingIndicatorLayerHandler.cs +++ b/Project-Aurora/Project-Aurora/Profiles/CSGO/Layers/CSGOTypingIndicatorLayerHandler.cs @@ -30,7 +30,7 @@ public override void Default() { base.Default(); - this._Sequence = new KeySequence(new Devices.DeviceKeys[] { Devices.DeviceKeys.TILDE, Devices.DeviceKeys.ONE, Devices.DeviceKeys.TWO, Devices.DeviceKeys.THREE, Devices.DeviceKeys.FOUR, Devices.DeviceKeys.FIVE, Devices.DeviceKeys.SIX, Devices.DeviceKeys.SEVEN, Devices.DeviceKeys.EIGHT, Devices.DeviceKeys.NINE, Devices.DeviceKeys.ZERO, Devices.DeviceKeys.MINUS, Devices.DeviceKeys.EQUALS, Devices.DeviceKeys.BACKSPACE, + this._Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.TILDE, Devices.DeviceKeys.ONE, Devices.DeviceKeys.TWO, Devices.DeviceKeys.THREE, Devices.DeviceKeys.FOUR, Devices.DeviceKeys.FIVE, Devices.DeviceKeys.SIX, Devices.DeviceKeys.SEVEN, Devices.DeviceKeys.EIGHT, Devices.DeviceKeys.NINE, Devices.DeviceKeys.ZERO, Devices.DeviceKeys.MINUS, Devices.DeviceKeys.EQUALS, Devices.DeviceKeys.BACKSPACE, Devices.DeviceKeys.TAB, Devices.DeviceKeys.Q, Devices.DeviceKeys.W, Devices.DeviceKeys.E, Devices.DeviceKeys.R, Devices.DeviceKeys.T, Devices.DeviceKeys.Y, Devices.DeviceKeys.U, Devices.DeviceKeys.I, Devices.DeviceKeys.O, Devices.DeviceKeys.P, Devices.DeviceKeys.CLOSE_BRACKET, Devices.DeviceKeys.OPEN_BRACKET, Devices.DeviceKeys.BACKSLASH, Devices.DeviceKeys.CAPS_LOCK, Devices.DeviceKeys.A, Devices.DeviceKeys.S, Devices.DeviceKeys.D, Devices.DeviceKeys.F, Devices.DeviceKeys.G, Devices.DeviceKeys.H, Devices.DeviceKeys.J, Devices.DeviceKeys.K, Devices.DeviceKeys.L, Devices.DeviceKeys.SEMICOLON, Devices.DeviceKeys.APOSTROPHE, Devices.DeviceKeys.HASHTAG, Devices.DeviceKeys.ENTER, Devices.DeviceKeys.LEFT_SHIFT, Devices.DeviceKeys.BACKSLASH_UK, Devices.DeviceKeys.Z, Devices.DeviceKeys.X, Devices.DeviceKeys.C, Devices.DeviceKeys.V, Devices.DeviceKeys.B, Devices.DeviceKeys.N, Devices.DeviceKeys.M, Devices.DeviceKeys.COMMA, Devices.DeviceKeys.PERIOD, Devices.DeviceKeys.FORWARD_SLASH, Devices.DeviceKeys.RIGHT_SHIFT, diff --git a/Project-Aurora/Project-Aurora/Profiles/CloneHero/CloneHeroProfile.cs b/Project-Aurora/Project-Aurora/Profiles/CloneHero/CloneHeroProfile.cs index 962274d5c..5234da093 100644 --- a/Project-Aurora/Project-Aurora/Profiles/CloneHero/CloneHeroProfile.cs +++ b/Project-Aurora/Project-Aurora/Profiles/CloneHero/CloneHeroProfile.cs @@ -112,7 +112,7 @@ public override void Reset() Properties = new LayerHandlerProperties { _PrimaryColor = Color.FromArgb(255, 134, 0), - _Sequence = new KeySequence(new[] { DK.O, DK.P, DK.L, DK.SEMICOLON, DK.PERIOD, DK.FORWARD_SLASH }) + _Sequence = new KeySequence(new DeviceKey[] { DK.O, DK.P, DK.L, DK.SEMICOLON, DK.PERIOD, DK.FORWARD_SLASH }) } }, new OverrideLogicBuilder() .SetDynamicBoolean("_Enabled", new BooleanGSIBoolean("Player/IsOrangePressed")) @@ -122,7 +122,7 @@ public override void Reset() Properties = new LayerHandlerProperties { _PrimaryColor = Color.Blue, - _Sequence = new KeySequence(new[] { DK.U, DK.I, DK.J, DK.K, DK.M, DK.COMMA }) + _Sequence = new KeySequence(new DeviceKey[] { DK.U, DK.I, DK.J, DK.K, DK.M, DK.COMMA }) } }, new OverrideLogicBuilder() .SetDynamicBoolean("_Enabled", new BooleanGSIBoolean("Player/IsBluePressed")) @@ -132,7 +132,7 @@ public override void Reset() Properties = new LayerHandlerProperties { _PrimaryColor = Color.Yellow, - _Sequence = new KeySequence(new[] { DK.T, DK.Y, DK.G, DK.H, DK.B, DK.N }) + _Sequence = new KeySequence(new DeviceKey[] { DK.T, DK.Y, DK.G, DK.H, DK.B, DK.N }) } }, new OverrideLogicBuilder() .SetDynamicBoolean("_Enabled", new BooleanGSIBoolean("Player/IsYellowPressed")) @@ -142,7 +142,7 @@ public override void Reset() Properties = new LayerHandlerProperties { _PrimaryColor = Color.Red, - _Sequence = new KeySequence(new[] { DK.E, DK.R, DK.D, DK.F, DK.C, DK.V }) + _Sequence = new KeySequence(new DeviceKey[] { DK.E, DK.R, DK.D, DK.F, DK.C, DK.V }) } }, new OverrideLogicBuilder() .SetDynamicBoolean("_Enabled", new BooleanGSIBoolean("Player/IsRedPressed")) @@ -152,7 +152,7 @@ public override void Reset() Properties = new LayerHandlerProperties { _PrimaryColor = Color.FromArgb(0, 255, 69), - _Sequence = new KeySequence(new[] { DK.Q, DK.W, DK.A, DK.S, DK.Z, DK.X }) + _Sequence = new KeySequence(new DeviceKey[] { DK.Q, DK.W, DK.A, DK.S, DK.Z, DK.X }) } }, new OverrideLogicBuilder() .SetDynamicBoolean("_Enabled", new BooleanGSIBoolean("Player/IsGreenPressed")) @@ -162,7 +162,7 @@ public override void Reset() Properties = new LayerHandlerProperties { _PrimaryColor = Color.FromArgb(208, 181, 0), - _Sequence = new KeySequence(new[] { + _Sequence = new KeySequence(new DeviceKey[] { DK.OPEN_BRACKET, DK.CLOSE_BRACKET, DK.APOSTROPHE }), } @@ -210,7 +210,7 @@ public override void Reset() _TriggerPath = "Player/Score", _StackMode = AnimationStackMode.Stack, _forceKeySequence = true, - _Sequence = new KeySequence(new[] { DK.PRINT_SCREEN, DK.SCROLL_LOCK, DK.PAUSE_BREAK, DK.INSERT, DK.HOME, DK.HOME, DK.PAGE_UP, + _Sequence = new KeySequence(new DeviceKey[] { DK.PRINT_SCREEN, DK.SCROLL_LOCK, DK.PAUSE_BREAK, DK.INSERT, DK.HOME, DK.HOME, DK.PAGE_UP, DK.DELETE, DK.END, DK.PAGE_DOWN, DK.ARROW_UP, DK.ARROW_LEFT, DK.ARROW_DOWN, DK.ARROW_RIGHT}) } }, new OverrideLogicBuilder() @@ -230,7 +230,7 @@ public override void Reset() _TriggerPath = "Player/Score", _StackMode = AnimationStackMode.Stack, _forceKeySequence = true, - _Sequence = new KeySequence(new[] { DK.PRINT_SCREEN, DK.SCROLL_LOCK, DK.PAUSE_BREAK, DK.INSERT, DK.HOME, DK.HOME, DK.PAGE_UP, + _Sequence = new KeySequence(new DeviceKey[] { DK.PRINT_SCREEN, DK.SCROLL_LOCK, DK.PAUSE_BREAK, DK.INSERT, DK.HOME, DK.HOME, DK.PAGE_UP, DK.DELETE, DK.END, DK.PAGE_DOWN, DK.ARROW_UP, DK.ARROW_LEFT, DK.ARROW_DOWN, DK.ARROW_RIGHT}) } }, new OverrideLogicBuilder() diff --git a/Project-Aurora/Project-Aurora/Profiles/Desktop/DesktopProfile.cs b/Project-Aurora/Project-Aurora/Profiles/Desktop/DesktopProfile.cs index 1fa7e10c5..66959aee1 100755 --- a/Project-Aurora/Project-Aurora/Profiles/Desktop/DesktopProfile.cs +++ b/Project-Aurora/Project-Aurora/Profiles/Desktop/DesktopProfile.cs @@ -40,7 +40,7 @@ private void setVolumeOverlay() { Properties = new PercentGradientLayerHandlerProperties() { - _Sequence = new KeySequence(new Devices.DeviceKeys[] { + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.F1, Devices.DeviceKeys.F2, Devices.DeviceKeys.F3, Devices.DeviceKeys.F4, Devices.DeviceKeys.F5, Devices.DeviceKeys.F6, Devices.DeviceKeys.F7, Devices.DeviceKeys.F8, Devices.DeviceKeys.F9, Devices.DeviceKeys.F10, Devices.DeviceKeys.F11, Devices.DeviceKeys.F12 @@ -154,7 +154,7 @@ public override void Reset() _PrimaryColor = Color.FromArgb(0, 205, 255), _SecondaryColor = Color.FromArgb(0, 65, 80), _PercentType = PercentEffectType.Progressive_Gradual, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.F1, Devices.DeviceKeys.F2, Devices.DeviceKeys.F3, Devices.DeviceKeys.F4, Devices.DeviceKeys.F5, Devices.DeviceKeys.F6, Devices.DeviceKeys.F7, Devices.DeviceKeys.F8, Devices.DeviceKeys.F9, Devices.DeviceKeys.F10, Devices.DeviceKeys.F11, Devices.DeviceKeys.F12 @@ -173,7 +173,7 @@ public override void Reset() _PrimaryColor = Color.FromArgb(255, 80, 0), _SecondaryColor = Color.FromArgb(90, 30, 0), _PercentType = PercentEffectType.Progressive_Gradual, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.ONE, Devices.DeviceKeys.TWO, Devices.DeviceKeys.THREE, Devices.DeviceKeys.FOUR, Devices.DeviceKeys.FIVE, Devices.DeviceKeys.SIX, Devices.DeviceKeys.SEVEN, Devices.DeviceKeys.EIGHT, Devices.DeviceKeys.NINE, Devices.DeviceKeys.ZERO, Devices.DeviceKeys.MINUS, Devices.DeviceKeys.EQUALS diff --git a/Project-Aurora/Project-Aurora/Profiles/DiscoDodgeball/DiscoDodgeballProfile.cs b/Project-Aurora/Project-Aurora/Profiles/DiscoDodgeball/DiscoDodgeballProfile.cs index db405eb93..7b1a52fc3 100644 --- a/Project-Aurora/Project-Aurora/Profiles/DiscoDodgeball/DiscoDodgeballProfile.cs +++ b/Project-Aurora/Project-Aurora/Profiles/DiscoDodgeball/DiscoDodgeballProfile.cs @@ -31,7 +31,7 @@ public override void Reset() Properties = new LayerHandlerProperties() { _PrimaryColor = Color.White, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { Devices.DeviceKeys.W, Devices.DeviceKeys.A, Devices.DeviceKeys.S, Devices.DeviceKeys.D, Devices.DeviceKeys.SPACE }) + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.W, Devices.DeviceKeys.A, Devices.DeviceKeys.S, Devices.DeviceKeys.D, Devices.DeviceKeys.SPACE }) } }), new Layer("Wrapper Lighting", new Aurora.Settings.Layers.WrapperLightsLayerHandler()), diff --git a/Project-Aurora/Project-Aurora/Profiles/Discord/DiscordProfile.cs b/Project-Aurora/Project-Aurora/Profiles/Discord/DiscordProfile.cs index e0761d1f3..80081627c 100644 --- a/Project-Aurora/Project-Aurora/Profiles/Discord/DiscordProfile.cs +++ b/Project-Aurora/Project-Aurora/Profiles/Discord/DiscordProfile.cs @@ -25,7 +25,7 @@ public override void Reset() { Properties = new LayerHandlerProperties() { _PrimaryColor = Color.Red, - _Sequence = new KeySequence(new DeviceKeys[] { DeviceKeys.F1, DeviceKeys.F2, DeviceKeys.F3, DeviceKeys.F4 }) + _Sequence = new KeySequence(new DeviceKey[] { DeviceKeys.F1, DeviceKeys.F2, DeviceKeys.F3, DeviceKeys.F4 }) } }, new OverrideLogicBuilder().SetDynamicBoolean("_Enabled", new BooleanGSIBoolean("User/SelfMute"))), @@ -34,7 +34,7 @@ public override void Reset() { Properties = new LayerHandlerProperties() { _PrimaryColor = Color.LimeGreen, - _Sequence = new KeySequence(new DeviceKeys[] { DeviceKeys.F5, DeviceKeys.F6, DeviceKeys.F7, DeviceKeys.F8 }) + _Sequence = new KeySequence(new DeviceKey[] { DeviceKeys.F5, DeviceKeys.F6, DeviceKeys.F7, DeviceKeys.F8 }) } }, new OverrideLogicBuilder().SetDynamicBoolean("_Enabled", new BooleanGSIBoolean("User/SelfDeafen"))), @@ -43,7 +43,7 @@ public override void Reset() { Properties = new LayerHandlerProperties() { _PrimaryColor = Color.Yellow, - _Sequence = new KeySequence(new DeviceKeys[] { DeviceKeys.F9, DeviceKeys.F10, DeviceKeys.F11, DeviceKeys.F12 }) + _Sequence = new KeySequence(new DeviceKey[] { DeviceKeys.F9, DeviceKeys.F10, DeviceKeys.F11, DeviceKeys.F12 }) } }, new OverrideLogicBuilder().SetDynamicBoolean("_Enabled", new BooleanGSIBoolean("User/Mentions"))), @@ -52,7 +52,7 @@ public override void Reset() { Properties = new LayerHandlerProperties() { _PrimaryColor = Color.LightBlue, - _Sequence = new KeySequence(new DeviceKeys[] { DeviceKeys.PRINT_SCREEN, DeviceKeys.SCROLL_LOCK, DeviceKeys.PAUSE_BREAK }) + _Sequence = new KeySequence(new DeviceKey[] { DeviceKeys.PRINT_SCREEN, DeviceKeys.SCROLL_LOCK, DeviceKeys.PAUSE_BREAK }) } }, new OverrideLogicBuilder().SetDynamicBoolean("_Enabled", new BooleanGSIBoolean("User/UnreadMessages"))), }; diff --git a/Project-Aurora/Project-Aurora/Profiles/Dishonored/DishonoredProfile.cs b/Project-Aurora/Project-Aurora/Profiles/Dishonored/DishonoredProfile.cs index fa6e37058..9795c930d 100644 --- a/Project-Aurora/Project-Aurora/Profiles/Dishonored/DishonoredProfile.cs +++ b/Project-Aurora/Project-Aurora/Profiles/Dishonored/DishonoredProfile.cs @@ -26,7 +26,7 @@ public override void Reset() _PrimaryColor = Color.Red, _SecondaryColor = Color.FromArgb(255,70,0,0), _PercentType = PercentEffectType.Progressive_Gradual, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.ONE, Devices.DeviceKeys.TWO, Devices.DeviceKeys.THREE, Devices.DeviceKeys.FOUR, Devices.DeviceKeys.FIVE, Devices.DeviceKeys.SIX, Devices.DeviceKeys.SEVEN, Devices.DeviceKeys.EIGHT, Devices.DeviceKeys.NINE, Devices.DeviceKeys.ZERO, Devices.DeviceKeys.MINUS, Devices.DeviceKeys.EQUALS @@ -44,7 +44,7 @@ public override void Reset() _PrimaryColor = Color.Blue, _SecondaryColor = Color.FromArgb(255,0,0,70), _PercentType = PercentEffectType.Progressive_Gradual, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.F1, Devices.DeviceKeys.F2, Devices.DeviceKeys.F3, Devices.DeviceKeys.F4, Devices.DeviceKeys.F5, Devices.DeviceKeys.F6, Devices.DeviceKeys.F7, Devices.DeviceKeys.F8, Devices.DeviceKeys.F9, Devices.DeviceKeys.F10, Devices.DeviceKeys.F11, Devices.DeviceKeys.F12 @@ -62,7 +62,7 @@ public override void Reset() _PrimaryColor = Color.Blue, _SecondaryColor = Color.FromArgb(255,0,0,70), _PercentType = PercentEffectType.Progressive, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.DELETE, Devices.DeviceKeys.END, Devices.DeviceKeys.PAGE_DOWN, Devices.DeviceKeys.INSERT, Devices.DeviceKeys.HOME, Devices.DeviceKeys.PAGE_UP, Devices.DeviceKeys.PRINT_SCREEN, Devices.DeviceKeys.SCROLL_LOCK, Devices.DeviceKeys.PAUSE_BREAK @@ -80,7 +80,7 @@ public override void Reset() _PrimaryColor = Color.Red, _SecondaryColor = Color.FromArgb(255,70,0,0), _PercentType = PercentEffectType.Progressive, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.NUM_ONE, Devices.DeviceKeys.NUM_TWO, Devices.DeviceKeys.NUM_THREE, Devices.DeviceKeys.NUM_FOUR, Devices.DeviceKeys.NUM_FIVE, Devices.DeviceKeys.NUM_SIX, Devices.DeviceKeys.NUM_SEVEN, Devices.DeviceKeys.NUM_EIGHT, Devices.DeviceKeys.NUM_NINE diff --git a/Project-Aurora/Project-Aurora/Profiles/Dota 2/Dota2Profile.cs b/Project-Aurora/Project-Aurora/Profiles/Dota 2/Dota2Profile.cs index 51fe91445..cd35fcf84 100644 --- a/Project-Aurora/Project-Aurora/Profiles/Dota 2/Dota2Profile.cs +++ b/Project-Aurora/Project-Aurora/Profiles/Dota 2/Dota2Profile.cs @@ -30,7 +30,7 @@ public override void Reset() _PrimaryColor = Color.FromArgb(0, 255, 0), _SecondaryColor = Color.FromArgb(0, 60, 0), _PercentType = PercentEffectType.Progressive_Gradual, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.F1, Devices.DeviceKeys.F2, Devices.DeviceKeys.F3, Devices.DeviceKeys.F4, Devices.DeviceKeys.F5, Devices.DeviceKeys.F6, Devices.DeviceKeys.F7, Devices.DeviceKeys.F8, Devices.DeviceKeys.F9, Devices.DeviceKeys.F10, Devices.DeviceKeys.F11, Devices.DeviceKeys.F12 @@ -48,7 +48,7 @@ public override void Reset() _PrimaryColor = Color.FromArgb(0, 125, 255), _SecondaryColor = Color.FromArgb(0, 0, 60), _PercentType = PercentEffectType.Progressive_Gradual, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.ONE, Devices.DeviceKeys.TWO, Devices.DeviceKeys.THREE, Devices.DeviceKeys.FOUR, Devices.DeviceKeys.FIVE, Devices.DeviceKeys.SIX, Devices.DeviceKeys.SEVEN, Devices.DeviceKeys.EIGHT, Devices.DeviceKeys.NINE, Devices.DeviceKeys.ZERO, Devices.DeviceKeys.MINUS, Devices.DeviceKeys.EQUALS diff --git a/Project-Aurora/Project-Aurora/Profiles/Dota 2/Layers/Control_Dota2AbilityLayer.xaml.cs b/Project-Aurora/Project-Aurora/Profiles/Dota 2/Layers/Control_Dota2AbilityLayer.xaml.cs index 49b415a75..596ccf1fc 100644 --- a/Project-Aurora/Project-Aurora/Profiles/Dota 2/Layers/Control_Dota2AbilityLayer.xaml.cs +++ b/Project-Aurora/Project-Aurora/Profiles/Dota 2/Layers/Control_Dota2AbilityLayer.xaml.cs @@ -82,7 +82,7 @@ private void ability_key1_textblock_MouseDown(object sender, MouseButtonEventArg RecordSingleKey("Dota 2 - Ability 1 Key", sender as TextBlock, ability1_keys_callback); } - private void ability1_keys_callback(DeviceKeys[] resulting_keys) + private void ability1_keys_callback(DeviceKey[] resulting_keys) { Global.key_recorder.FinishedRecording -= ability1_keys_callback; @@ -107,7 +107,7 @@ private void ability_key2_textblock_MouseDown(object sender, MouseButtonEventArg RecordSingleKey("Dota 2 - Ability 2 Key", sender as TextBlock, ability2_keys_callback); } - private void ability2_keys_callback(DeviceKeys[] resulting_keys) + private void ability2_keys_callback(DeviceKey[] resulting_keys) { Global.key_recorder.FinishedRecording -= ability2_keys_callback; @@ -132,7 +132,7 @@ private void ability_key3_textblock_MouseDown(object sender, MouseButtonEventArg RecordSingleKey("Dota 2 - Ability 3 Key", sender as TextBlock, ability3_keys_callback); } - private void ability3_keys_callback(DeviceKeys[] resulting_keys) + private void ability3_keys_callback(DeviceKey[] resulting_keys) { Global.key_recorder.FinishedRecording -= ability3_keys_callback; @@ -157,7 +157,7 @@ private void ability_key4_textblock_MouseDown(object sender, MouseButtonEventArg RecordSingleKey("Dota 2 - Ability 4 Key", sender as TextBlock, ability4_keys_callback); } - private void ability4_keys_callback(DeviceKeys[] resulting_keys) + private void ability4_keys_callback(DeviceKey[] resulting_keys) { Global.key_recorder.FinishedRecording -= ability4_keys_callback; @@ -182,7 +182,7 @@ private void ability_key5_textblock_MouseDown(object sender, MouseButtonEventArg RecordSingleKey("Dota 2 - Ability 5 Key", sender as TextBlock, ability5_keys_callback); } - private void ability5_keys_callback(DeviceKeys[] resulting_keys) + private void ability5_keys_callback(DeviceKey[] resulting_keys) { Global.key_recorder.FinishedRecording -= ability5_keys_callback; @@ -207,7 +207,7 @@ private void ability_key6_textblock_MouseDown(object sender, MouseButtonEventArg RecordSingleKey("Dota 2 - Ultimate Ability Key", sender as TextBlock, ability6_keys_callback); } - private void ability6_keys_callback(DeviceKeys[] resulting_keys) + private void ability6_keys_callback(DeviceKey[] resulting_keys) { Global.key_recorder.FinishedRecording -= ability6_keys_callback; diff --git a/Project-Aurora/Project-Aurora/Profiles/Dota 2/Layers/Control_Dota2ItemLayer.xaml.cs b/Project-Aurora/Project-Aurora/Profiles/Dota 2/Layers/Control_Dota2ItemLayer.xaml.cs index 47780150d..087d5708f 100644 --- a/Project-Aurora/Project-Aurora/Profiles/Dota 2/Layers/Control_Dota2ItemLayer.xaml.cs +++ b/Project-Aurora/Project-Aurora/Profiles/Dota 2/Layers/Control_Dota2ItemLayer.xaml.cs @@ -81,7 +81,7 @@ private void item_slot1_textblock_MouseDown(object sender, MouseButtonEventArgs RecordSingleKey("Dota 2 - Item Slot 1 Key", sender as TextBlock, item1_keys_callback); } - private void item1_keys_callback(DeviceKeys[] resulting_keys) + private void item1_keys_callback(DeviceKey[] resulting_keys) { Global.key_recorder.FinishedRecording -= item1_keys_callback; @@ -106,7 +106,7 @@ private void item_slot2_textblock_MouseDown(object sender, MouseButtonEventArgs RecordSingleKey("Dota 2 - Item Slot 2 Key", sender as TextBlock, item2_keys_callback); } - private void item2_keys_callback(DeviceKeys[] resulting_keys) + private void item2_keys_callback(DeviceKey[] resulting_keys) { Global.key_recorder.FinishedRecording -= item2_keys_callback; @@ -131,7 +131,7 @@ private void item_slot3_textblock_MouseDown(object sender, MouseButtonEventArgs RecordSingleKey("Dota 2 - Item Slot 3 Key", sender as TextBlock, item3_keys_callback); } - private void item3_keys_callback(DeviceKeys[] resulting_keys) + private void item3_keys_callback(DeviceKey[] resulting_keys) { Global.key_recorder.FinishedRecording -= item3_keys_callback; @@ -156,7 +156,7 @@ private void item_slot4_textblock_MouseDown(object sender, MouseButtonEventArgs RecordSingleKey("Dota 2 - Item Slot 4 Key", sender as TextBlock, item4_keys_callback); } - private void item4_keys_callback(DeviceKeys[] resulting_keys) + private void item4_keys_callback(DeviceKey[] resulting_keys) { Global.key_recorder.FinishedRecording -= item4_keys_callback; @@ -181,7 +181,7 @@ private void item_slot5_textblock_MouseDown(object sender, MouseButtonEventArgs RecordSingleKey("Dota 2 - Item Slot 5 Key", sender as TextBlock, item5_keys_callback); } - private void item5_keys_callback(DeviceKeys[] resulting_keys) + private void item5_keys_callback(DeviceKey[] resulting_keys) { Global.key_recorder.FinishedRecording -= item5_keys_callback; @@ -206,7 +206,7 @@ private void item_slot6_textblock_MouseDown(object sender, MouseButtonEventArgs RecordSingleKey("Dota 2 - Item Slot 6 Key", sender as TextBlock, item6_keys_callback); } - private void item6_keys_callback(DeviceKeys[] resulting_keys) + private void item6_keys_callback(DeviceKey[] resulting_keys) { Global.key_recorder.FinishedRecording -= item6_keys_callback; @@ -231,7 +231,7 @@ private void stash_slot1_textblock_MouseDown(object sender, MouseButtonEventArgs RecordSingleKey("Dota 2 - Stash Slot 1 Key", sender as TextBlock, stash1_keys_callback); } - private void stash1_keys_callback(DeviceKeys[] resulting_keys) + private void stash1_keys_callback(DeviceKey[] resulting_keys) { Global.key_recorder.FinishedRecording -= stash1_keys_callback; @@ -256,7 +256,7 @@ private void stash_slot2_textblock_MouseDown(object sender, MouseButtonEventArgs RecordSingleKey("Dota 2 - Stash Slot 2 Key", sender as TextBlock, stash2_keys_callback); } - private void stash2_keys_callback(DeviceKeys[] resulting_keys) + private void stash2_keys_callback(DeviceKey[] resulting_keys) { Global.key_recorder.FinishedRecording -= stash2_keys_callback; @@ -281,7 +281,7 @@ private void stash_slot3_textblock_MouseDown(object sender, MouseButtonEventArgs RecordSingleKey("Dota 2 - Stash Slot 3 Key", sender as TextBlock, stash3_keys_callback); } - private void stash3_keys_callback(DeviceKeys[] resulting_keys) + private void stash3_keys_callback(DeviceKey[] resulting_keys) { Global.key_recorder.FinishedRecording -= stash3_keys_callback; @@ -306,7 +306,7 @@ private void stash_slot4_textblock_MouseDown(object sender, MouseButtonEventArgs RecordSingleKey("Dota 2 - Stash Slot 4 Key", sender as TextBlock, stash4_keys_callback); } - private void stash4_keys_callback(DeviceKeys[] resulting_keys) + private void stash4_keys_callback(DeviceKey[] resulting_keys) { Global.key_recorder.FinishedRecording -= stash4_keys_callback; @@ -331,7 +331,7 @@ private void stash_slot5_textblock_MouseDown(object sender, MouseButtonEventArgs RecordSingleKey("Dota 2 - Stash Slot 5 Key", sender as TextBlock, stash5_keys_callback); } - private void stash5_keys_callback(DeviceKeys[] resulting_keys) + private void stash5_keys_callback(DeviceKey[] resulting_keys) { Global.key_recorder.FinishedRecording -= stash5_keys_callback; @@ -356,7 +356,7 @@ private void stash_slot6_textblock_MouseDown(object sender, MouseButtonEventArgs RecordSingleKey("Dota 2 - Stash Slot 6 Key", sender as TextBlock, stash6_keys_callback); } - private void stash6_keys_callback(DeviceKeys[] resulting_keys) + private void stash6_keys_callback(DeviceKey[] resulting_keys) { Global.key_recorder.FinishedRecording -= stash6_keys_callback; diff --git a/Project-Aurora/Project-Aurora/Profiles/Dota 2/Layers/Dota2AbilityLayerHandler.cs b/Project-Aurora/Project-Aurora/Profiles/Dota 2/Layers/Dota2AbilityLayerHandler.cs index 7ff071bf9..d3a2917dd 100644 --- a/Project-Aurora/Project-Aurora/Profiles/Dota 2/Layers/Dota2AbilityLayerHandler.cs +++ b/Project-Aurora/Project-Aurora/Profiles/Dota 2/Layers/Dota2AbilityLayerHandler.cs @@ -26,10 +26,10 @@ public class Dota2AbilityLayerHandlerProperties : LayerHandlerProperties2Color _AbilityKeys { get; set; } + public List _AbilityKeys { get; set; } [JsonIgnore] - public List AbilityKeys { get { return Logic._AbilityKeys ?? _AbilityKeys ?? new List(); } } + public List AbilityKeys { get { return Logic._AbilityKeys ?? _AbilityKeys ?? new List(); } } public Dota2AbilityLayerHandlerProperties() : base() { } @@ -41,7 +41,7 @@ public override void Default() this._CanCastAbilityColor = Color.FromArgb(0, 255, 0); this._CanNotCastAbilityColor = Color.FromArgb(255, 0, 0); - this._AbilityKeys = new List() { Devices.DeviceKeys.Q, Devices.DeviceKeys.W, Devices.DeviceKeys.E, Devices.DeviceKeys.D, Devices.DeviceKeys.F, Devices.DeviceKeys.R }; + this._AbilityKeys = new List() { Devices.DeviceKeys.Q, Devices.DeviceKeys.W, Devices.DeviceKeys.E, Devices.DeviceKeys.D, Devices.DeviceKeys.F, Devices.DeviceKeys.R }; } } @@ -67,9 +67,9 @@ public override EffectLayer Render(IGameState state) { Ability ability = dota2state.Abilities[index]; if (ability.Name.Contains("seasonal") || ability.Name.Contains("high_five")) - continue; - - Devices.DeviceKeys key = Properties.AbilityKeys[index]; + continue; + + DeviceKey key = Properties.AbilityKeys[index]; if (ability.IsUltimate) key = Properties.AbilityKeys[5]; diff --git a/Project-Aurora/Project-Aurora/Profiles/Dota 2/Layers/Dota2ItemLayerHandler.cs b/Project-Aurora/Project-Aurora/Profiles/Dota 2/Layers/Dota2ItemLayerHandler.cs index a15966c79..359dfbb49 100644 --- a/Project-Aurora/Project-Aurora/Profiles/Dota 2/Layers/Dota2ItemLayerHandler.cs +++ b/Project-Aurora/Project-Aurora/Profiles/Dota 2/Layers/Dota2ItemLayerHandler.cs @@ -41,10 +41,10 @@ public class Dota2ItemLayerHandlerProperties : LayerHandlerProperties2Color _ItemKeys { get; set; } + public List _ItemKeys { get; set; } [JsonIgnore] - public List ItemKeys { get { return Logic._ItemKeys ?? _ItemKeys ?? new List(); } } + public List ItemKeys { get { return Logic._ItemKeys ?? _ItemKeys ?? new List(); } } public Dota2ItemLayerHandlerProperties() : base() { } @@ -59,7 +59,7 @@ public override void Default() this._ItemCooldownColor = Color.FromArgb(0, 0, 0); this._ItemNoChargersColor = Color.FromArgb(150, 150, 150); this._UseItemColors = true; - this._ItemKeys = new List() { Devices.DeviceKeys.Z, Devices.DeviceKeys.X, Devices.DeviceKeys.C, Devices.DeviceKeys.V, Devices.DeviceKeys.B, Devices.DeviceKeys.N, Devices.DeviceKeys.INSERT, Devices.DeviceKeys.HOME, Devices.DeviceKeys.PAGE_UP, Devices.DeviceKeys.DELETE, Devices.DeviceKeys.END, Devices.DeviceKeys.PAGE_DOWN }; + this._ItemKeys = new List() { Devices.DeviceKeys.Z, Devices.DeviceKeys.X, Devices.DeviceKeys.C, Devices.DeviceKeys.V, Devices.DeviceKeys.B, Devices.DeviceKeys.N, Devices.DeviceKeys.INSERT, Devices.DeviceKeys.HOME, Devices.DeviceKeys.PAGE_UP, Devices.DeviceKeys.DELETE, Devices.DeviceKeys.END, Devices.DeviceKeys.PAGE_DOWN }; } } @@ -355,7 +355,7 @@ public override EffectLayer Render(IGameState state) for (int index = 0; index < dota2state.Items.InventoryCount; index++) { Item item = dota2state.Items.GetInventoryAt(index); - Devices.DeviceKeys key = Properties.ItemKeys[index]; + DeviceKey key = Properties.ItemKeys[index]; if (item.Name.Equals("empty")) items_layer.Set(key, Properties.EmptyItemColor); @@ -386,7 +386,7 @@ public override EffectLayer Render(IGameState state) for (int index = 0; index < dota2state.Items.StashCount; index++) { Item item = dota2state.Items.GetStashAt(index); - Devices.DeviceKeys key = Properties.ItemKeys[6 + index]; + DeviceKey key = Properties.ItemKeys[6 + index]; if (item.Name.Equals("empty")) { diff --git a/Project-Aurora/Project-Aurora/Profiles/Dota 2/Layers/Dota2RespawnLayerHandler.cs b/Project-Aurora/Project-Aurora/Profiles/Dota 2/Layers/Dota2RespawnLayerHandler.cs index 059320abb..4fd71f993 100644 --- a/Project-Aurora/Project-Aurora/Profiles/Dota 2/Layers/Dota2RespawnLayerHandler.cs +++ b/Project-Aurora/Project-Aurora/Profiles/Dota 2/Layers/Dota2RespawnLayerHandler.cs @@ -43,7 +43,7 @@ public override void Default() this._RespawningColor = Color.FromArgb(255, 170, 0); this._BackgroundColor = Color.FromArgb(255, 255, 255); this._Sequence = new KeySequence( - new Devices.DeviceKeys[] { + new DeviceKey[] { Devices.DeviceKeys.F1, Devices.DeviceKeys.F2, Devices.DeviceKeys.F3, Devices.DeviceKeys.F4, Devices.DeviceKeys.F5, Devices.DeviceKeys.F6, Devices.DeviceKeys.F7, Devices.DeviceKeys.F8, Devices.DeviceKeys.F9, Devices.DeviceKeys.F10, Devices.DeviceKeys.F11, Devices.DeviceKeys.F12, Devices.DeviceKeys.ONE, Devices.DeviceKeys.TWO, Devices.DeviceKeys.THREE, Devices.DeviceKeys.FOUR, Devices.DeviceKeys.FIVE, Devices.DeviceKeys.SIX, Devices.DeviceKeys.SEVEN, Devices.DeviceKeys.EIGHT, Devices.DeviceKeys.NINE, Devices.DeviceKeys.ZERO, Devices.DeviceKeys.MINUS, Devices.DeviceKeys.EQUALS } diff --git a/Project-Aurora/Project-Aurora/Profiles/DyingLight/DyingLightProfile.cs b/Project-Aurora/Project-Aurora/Profiles/DyingLight/DyingLightProfile.cs index 8ca4274a0..aa6a8cb49 100644 --- a/Project-Aurora/Project-Aurora/Profiles/DyingLight/DyingLightProfile.cs +++ b/Project-Aurora/Project-Aurora/Profiles/DyingLight/DyingLightProfile.cs @@ -32,7 +32,7 @@ public override void Reset() Properties = new LayerHandlerProperties() { _PrimaryColor = Color.DodgerBlue, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { Devices.DeviceKeys.W, Devices.DeviceKeys.A, Devices.DeviceKeys.S, Devices.DeviceKeys.D, Devices.DeviceKeys.SPACE, Devices.DeviceKeys.C, Devices.DeviceKeys.LEFT_SHIFT }) + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.W, Devices.DeviceKeys.A, Devices.DeviceKeys.S, Devices.DeviceKeys.D, Devices.DeviceKeys.SPACE, Devices.DeviceKeys.C, Devices.DeviceKeys.LEFT_SHIFT }) } } ), @@ -41,7 +41,7 @@ public override void Reset() Properties = new LayerHandlerProperties() { _PrimaryColor = Color.DarkOrange, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { Devices.DeviceKeys.Q, Devices.DeviceKeys.E, Devices.DeviceKeys.R, Devices.DeviceKeys.F, Devices.DeviceKeys.V, Devices.DeviceKeys.B }) + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.Q, Devices.DeviceKeys.E, Devices.DeviceKeys.R, Devices.DeviceKeys.F, Devices.DeviceKeys.V, Devices.DeviceKeys.B }) } } ), @@ -50,7 +50,7 @@ public override void Reset() Properties = new LayerHandlerProperties() { _PrimaryColor = Color.Magenta, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { Devices.DeviceKeys.I, Devices.DeviceKeys.M, Devices.DeviceKeys.L, Devices.DeviceKeys.U}) + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.I, Devices.DeviceKeys.M, Devices.DeviceKeys.L, Devices.DeviceKeys.U}) } } ), @@ -59,7 +59,7 @@ public override void Reset() Properties = new LayerHandlerProperties() { _PrimaryColor = Color.Green, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { Devices.DeviceKeys.H}), + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.H}), } } ), @@ -68,7 +68,7 @@ public override void Reset() Properties = new LayerHandlerProperties() { _PrimaryColor = Color.White, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { Devices.DeviceKeys.T}) + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.T}) } }), new Layer("Wrapper Lighting", new Aurora.Settings.Layers.WrapperLightsLayerHandler() diff --git a/Project-Aurora/Project-Aurora/Profiles/ETS2/ETS2Profile.cs b/Project-Aurora/Project-Aurora/Profiles/ETS2/ETS2Profile.cs index b4ed1d8ee..4de6aaa56 100644 --- a/Project-Aurora/Project-Aurora/Profiles/ETS2/ETS2Profile.cs +++ b/Project-Aurora/Project-Aurora/Profiles/ETS2/ETS2Profile.cs @@ -42,7 +42,7 @@ public override void Reset() { new Layer("Ignition Key", new SolidColorLayerHandler { Properties = new LayerHandlerProperties { _PrimaryColor = hazardColor, - _Sequence = new KeySequence(new DeviceKeys[]{ DeviceKeys.E }) + _Sequence = new KeySequence(new DeviceKey[]{ DeviceKeys.E }) } }, new OverrideLogicBuilder() .SetDynamicBoolean("_Enabled", new BooleanNot(new BooleanGSIBoolean("Truck/engineOn"))) @@ -67,7 +67,7 @@ public override void Reset() { { 1, Color.FromArgb(0, 255, 0) } } }, - _Sequence = new KeySequence(new DeviceKeys[]{ DeviceKeys.W }), + _Sequence = new KeySequence(new DeviceKey[]{ DeviceKeys.W }), _VariablePath = "Truck/gameThrottle", _MaxVariablePath = "1", _PercentType = PercentEffectType.AllAtOnce @@ -83,7 +83,7 @@ public override void Reset() { { 1, Color.FromArgb(255, 0, 0) } } }, - _Sequence = new KeySequence(new DeviceKeys[]{ DeviceKeys.S }), + _Sequence = new KeySequence(new DeviceKey[]{ DeviceKeys.S }), _VariablePath = "Truck/gameBrake", _MaxVariablePath = "1", _PercentType = PercentEffectType.AllAtOnce @@ -93,7 +93,7 @@ public override void Reset() { new Layer("Bright Keys", new SolidColorLayerHandler { Properties = new LayerHandlerProperties { _PrimaryColor = brightColor, - _Sequence = new KeySequence(new DeviceKeys[] { + _Sequence = new KeySequence(new DeviceKey[] { DeviceKeys.A, DeviceKeys.D, // Steering DeviceKeys.LEFT_SHIFT, DeviceKeys.LEFT_CONTROL, // Gear up/down DeviceKeys.F, // Hazard light @@ -114,7 +114,7 @@ public override void Reset() { { 1, Color.FromArgb(255, 0, 0) }, } }, - _Sequence = new KeySequence(new DeviceKeys[] { + _Sequence = new KeySequence(new DeviceKey[] { DeviceKeys.ONE, DeviceKeys.TWO, DeviceKeys.THREE, DeviceKeys.FOUR, DeviceKeys.FIVE, DeviceKeys.SIX, DeviceKeys.SEVEN, DeviceKeys.EIGHT, DeviceKeys.NINE, DeviceKeys.ZERO }), @@ -126,7 +126,7 @@ public override void Reset() { new Layer("Parking Brake Key", new SolidColorLayerHandler { Properties = new LayerHandlerProperties { _PrimaryColor = brightColor, - _Sequence = new KeySequence(new DeviceKeys[]{ DeviceKeys.SPACE }) + _Sequence = new KeySequence(new DeviceKey[]{ DeviceKeys.SPACE }) } }, new OverrideLogicBuilder() .SetLookupTable("_PrimaryColor", new OverrideLookupTableBuilder() @@ -137,7 +137,7 @@ public override void Reset() { new Layer("Headlights (High Beam)", new SolidColorLayerHandler { Properties = new LayerHandlerProperties { _PrimaryColor = dimColor, - _Sequence = new KeySequence(new DeviceKeys[]{ DeviceKeys.K }) + _Sequence = new KeySequence(new DeviceKey[]{ DeviceKeys.K }) } }, new OverrideLogicBuilder() .SetLookupTable("_PrimaryColor", new OverrideLookupTableBuilder() @@ -148,7 +148,7 @@ public override void Reset() { new Layer("Headlights", new SolidColorLayerHandler() { Properties = new LayerHandlerProperties() { _PrimaryColor = dimColor, - _Sequence = new KeySequence(new DeviceKeys[]{ DeviceKeys.L }) + _Sequence = new KeySequence(new DeviceKey[]{ DeviceKeys.L }) } }, new OverrideLogicBuilder() .SetLookupTable("_PrimaryColor", new OverrideLookupTableBuilder() @@ -160,7 +160,7 @@ public override void Reset() { new Layer("Left Blinkers", new SolidColorLayerHandler { Properties = new LayerHandlerProperties { _PrimaryColor = hazardColor, - _Sequence = new KeySequence(new[] { DeviceKeys.F1, DeviceKeys.F2, DeviceKeys.F3, DeviceKeys.F4 }) + _Sequence = new KeySequence(new DeviceKey[] { DeviceKeys.F1, DeviceKeys.F2, DeviceKeys.F3, DeviceKeys.F4 }) } }, new OverrideLogicBuilder() .SetDynamicBoolean("_Enabled", new BooleanGSIBoolean("Truck/blinkerLeftOn")) @@ -169,7 +169,7 @@ public override void Reset() { new Layer("Right Blinkers", new SolidColorLayerHandler { Properties = new LayerHandlerProperties { _PrimaryColor = hazardColor, - _Sequence = new KeySequence(new[] { DeviceKeys.F9, DeviceKeys.F10, DeviceKeys.F11, DeviceKeys.F12 }) + _Sequence = new KeySequence(new DeviceKey[] { DeviceKeys.F9, DeviceKeys.F10, DeviceKeys.F11, DeviceKeys.F12 }) } }, new OverrideLogicBuilder() .SetDynamicBoolean("_Enabled", new BooleanGSIBoolean("Truck/blinkerRightOn")) @@ -178,7 +178,7 @@ public override void Reset() { new Layer("Left Blinker Button", new SolidColorLayerHandler { Properties = new LayerHandlerProperties { _PrimaryColor = dimColor, - _Sequence = new KeySequence(new DeviceKeys[]{ DeviceKeys.OPEN_BRACKET }) + _Sequence = new KeySequence(new DeviceKey[]{ DeviceKeys.OPEN_BRACKET }) } }, new OverrideLogicBuilder() .SetLookupTable("_PrimaryColor", new OverrideLookupTableBuilder() @@ -189,7 +189,7 @@ public override void Reset() { new Layer("Left Blinker Button", new SolidColorLayerHandler { Properties = new LayerHandlerProperties { _PrimaryColor = dimColor, - _Sequence = new KeySequence(new DeviceKeys[]{ DeviceKeys.CLOSE_BRACKET }) + _Sequence = new KeySequence(new DeviceKey[]{ DeviceKeys.CLOSE_BRACKET }) } }, new OverrideLogicBuilder() .SetLookupTable("_PrimaryColor", new OverrideLookupTableBuilder() @@ -201,14 +201,14 @@ public override void Reset() { Properties = new ETS2BeaconLayerProperties { _BeaconStyle = ETS2_BeaconStyle.Fancy_Flash, _PrimaryColor = hazardColor, - _Sequence = new KeySequence(new DeviceKeys[]{ DeviceKeys.F5, DeviceKeys.F6, DeviceKeys.F7, DeviceKeys.F8 }) + _Sequence = new KeySequence(new DeviceKey[]{ DeviceKeys.F5, DeviceKeys.F6, DeviceKeys.F7, DeviceKeys.F8 }) } }), new Layer("Beacon Button", new SolidColorLayerHandler { Properties = new LayerHandlerProperties { _PrimaryColor = dimColor, - _Sequence = new KeySequence(new DeviceKeys[]{ DeviceKeys.O }) + _Sequence = new KeySequence(new DeviceKey[]{ DeviceKeys.O }) } }, new OverrideLogicBuilder() .SetLookupTable("_PrimaryColor", new OverrideLookupTableBuilder() @@ -219,7 +219,7 @@ public override void Reset() { new Layer("Trailer Button", new SolidColorLayerHandler { Properties = new LayerHandlerProperties { _PrimaryColor = Color.FromArgb(128, 0, 0, 255), - _Sequence = new KeySequence(new DeviceKeys[]{ DeviceKeys.T }) + _Sequence = new KeySequence(new DeviceKey[]{ DeviceKeys.T }) } }, new OverrideLogicBuilder() .SetLookupTable("_PrimaryColor", new OverrideLookupTableBuilder() @@ -230,7 +230,7 @@ public override void Reset() { new Layer("Cruise Control Button", new SolidColorLayerHandler { Properties = new LayerHandlerProperties { _PrimaryColor = dimColor, - _Sequence = new KeySequence(new DeviceKeys[]{ DeviceKeys.C }) + _Sequence = new KeySequence(new DeviceKey[]{ DeviceKeys.C }) } }, new OverrideLogicBuilder() .SetLookupTable("_PrimaryColor", new OverrideLookupTableBuilder() @@ -250,7 +250,7 @@ public override void Reset() { { 1f, Color.FromArgb(0, 255, 0) } } }, - _Sequence = new KeySequence(new DeviceKeys[] { + _Sequence = new KeySequence(new DeviceKey[] { DeviceKeys.NUM_ONE, DeviceKeys.NUM_FOUR, DeviceKeys.NUM_SEVEN, DeviceKeys.NUM_LOCK }), _VariablePath = "Truck/fuel", @@ -270,7 +270,7 @@ public override void Reset() { { 1f, Color.FromArgb(0, 255, 0) } } }, - _Sequence = new KeySequence(new DeviceKeys[] { + _Sequence = new KeySequence(new DeviceKey[] { DeviceKeys.NUM_THREE, DeviceKeys.NUM_SIX, DeviceKeys.NUM_NINE, DeviceKeys.NUM_ASTERISK }), _VariablePath = "Truck/airPressure", @@ -281,7 +281,7 @@ public override void Reset() { new Layer("Wipers Button", new SolidColorLayerHandler { Properties = new LayerHandlerProperties { _PrimaryColor = dimColor, - _Sequence = new KeySequence(new DeviceKeys[]{ DeviceKeys.P }) + _Sequence = new KeySequence(new DeviceKey[]{ DeviceKeys.P }) } }, new OverrideLogicBuilder() .SetLookupTable("_PrimaryColor", new OverrideLookupTableBuilder() diff --git a/Project-Aurora/Project-Aurora/Profiles/ETS2/Layers/ETS2BeaconLayerHandler.cs b/Project-Aurora/Project-Aurora/Profiles/ETS2/Layers/ETS2BeaconLayerHandler.cs index 8285f7317..1f839d13f 100644 --- a/Project-Aurora/Project-Aurora/Profiles/ETS2/Layers/ETS2BeaconLayerHandler.cs +++ b/Project-Aurora/Project-Aurora/Profiles/ETS2/Layers/ETS2BeaconLayerHandler.cs @@ -30,7 +30,7 @@ public ETS2BeaconLayerProperties(bool assign_default = false) : base(assign_defa public override void Default() { base.Default(); - this._Sequence = new KeySequence(new DeviceKeys[] { DeviceKeys.F5, DeviceKeys.F6, DeviceKeys.F7, DeviceKeys.F8 }); + this._Sequence = new KeySequence(new DeviceKey[] { DeviceKeys.F5, DeviceKeys.F6, DeviceKeys.F7, DeviceKeys.F8 }); this._PrimaryColor = Color.FromArgb(255, 128, 0); this._BeaconStyle = ETS2_BeaconStyle.Fancy_Flash; this._Speed = 1f; @@ -80,7 +80,7 @@ public override EffectLayer Render(IGameState gamestate) { // Sets half the sequence on and half off, then swaps. If odd number of keys, first half will be bigger case ETS2_BeaconStyle.Half_Alternating: - List half; + List half; if (frame < 5) // First half half = Properties.Sequence.keys.GetRange(0, (int)Math.Ceiling((double)Properties.Sequence.keys.Count / 2)); diff --git a/Project-Aurora/Project-Aurora/Profiles/ETS2/Layers/ETS2BlinkerLayerHandler.cs b/Project-Aurora/Project-Aurora/Profiles/ETS2/Layers/ETS2BlinkerLayerHandler.cs index e9a0e7875..352abee0b 100644 --- a/Project-Aurora/Project-Aurora/Profiles/ETS2/Layers/ETS2BlinkerLayerHandler.cs +++ b/Project-Aurora/Project-Aurora/Profiles/ETS2/Layers/ETS2BlinkerLayerHandler.cs @@ -36,8 +36,8 @@ public ETS2BlinkerLayerHandlerProperties(bool assign_default = false) : base(ass public override void Default() { base.Default(); - this._LeftBlinkerSequence = new KeySequence(new Devices.DeviceKeys[] { Devices.DeviceKeys.F1, Devices.DeviceKeys.F2, Devices.DeviceKeys.F3, Devices.DeviceKeys.F4 }); - this._RightBlinkerSequence = new KeySequence(new Devices.DeviceKeys[] { Devices.DeviceKeys.F9, Devices.DeviceKeys.F10, Devices.DeviceKeys.F11, Devices.DeviceKeys.F12 }); + this._LeftBlinkerSequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.F1, Devices.DeviceKeys.F2, Devices.DeviceKeys.F3, Devices.DeviceKeys.F4 }); + this._RightBlinkerSequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.F9, Devices.DeviceKeys.F10, Devices.DeviceKeys.F11, Devices.DeviceKeys.F12 }); this._BlinkerOffColor = Color.Empty; this._BlinkerOnColor = Color.FromArgb(255, 127, 0); } diff --git a/Project-Aurora/Project-Aurora/Profiles/Evolve/EvolveProfile.cs b/Project-Aurora/Project-Aurora/Profiles/Evolve/EvolveProfile.cs index 3f3cf2dcb..0ea018aa8 100644 --- a/Project-Aurora/Project-Aurora/Profiles/Evolve/EvolveProfile.cs +++ b/Project-Aurora/Project-Aurora/Profiles/Evolve/EvolveProfile.cs @@ -31,7 +31,7 @@ public override void Reset() Properties = new LayerHandlerProperties() { _PrimaryColor = Color.DarkRed, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { Devices.DeviceKeys.W, Devices.DeviceKeys.A, Devices.DeviceKeys.S, Devices.DeviceKeys.D, Devices.DeviceKeys.SPACE, Devices.DeviceKeys.LEFT_CONTROL }) + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.W, Devices.DeviceKeys.A, Devices.DeviceKeys.S, Devices.DeviceKeys.D, Devices.DeviceKeys.SPACE, Devices.DeviceKeys.LEFT_CONTROL }) } } ), @@ -40,7 +40,7 @@ public override void Reset() Properties = new LayerHandlerProperties() { _PrimaryColor = Color.OrangeRed, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { Devices.DeviceKeys.ONE, Devices.DeviceKeys.TWO, Devices.DeviceKeys.THREE, Devices.DeviceKeys.FOUR }) + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.ONE, Devices.DeviceKeys.TWO, Devices.DeviceKeys.THREE, Devices.DeviceKeys.FOUR }) } }), new Layer("Wrapper Lighting", new Aurora.Settings.Layers.WrapperLightsLayerHandler()), diff --git a/Project-Aurora/Project-Aurora/Profiles/GTA5/Layers/GTA5PoliceSirenLayerHandler.cs b/Project-Aurora/Project-Aurora/Profiles/GTA5/Layers/GTA5PoliceSirenLayerHandler.cs index 910053d25..30725038c 100644 --- a/Project-Aurora/Project-Aurora/Profiles/GTA5/Layers/GTA5PoliceSirenLayerHandler.cs +++ b/Project-Aurora/Project-Aurora/Profiles/GTA5/Layers/GTA5PoliceSirenLayerHandler.cs @@ -56,11 +56,11 @@ public override void Default() this._LeftSirenColor = Color.FromArgb(255, 0, 0); this._RightSirenColor = Color.FromArgb(0, 0, 255); this._SirenType = GTA5_PoliceEffects.Default; - this._LeftSirenSequence = new KeySequence(new Devices.DeviceKeys[] { + this._LeftSirenSequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.F1, Devices.DeviceKeys.F2, Devices.DeviceKeys.F3, Devices.DeviceKeys.F4, Devices.DeviceKeys.F5, Devices.DeviceKeys.F6 }); - this._RightSirenSequence = new KeySequence(new Devices.DeviceKeys[] { + this._RightSirenSequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.F7, Devices.DeviceKeys.F8, Devices.DeviceKeys.F9, Devices.DeviceKeys.F10, Devices.DeviceKeys.F11, Devices.DeviceKeys.F12 }); diff --git a/Project-Aurora/Project-Aurora/Profiles/Guild Wars 2/GW2Profile.cs b/Project-Aurora/Project-Aurora/Profiles/Guild Wars 2/GW2Profile.cs index bb54d81e2..9ba91f15f 100644 --- a/Project-Aurora/Project-Aurora/Profiles/Guild Wars 2/GW2Profile.cs +++ b/Project-Aurora/Project-Aurora/Profiles/Guild Wars 2/GW2Profile.cs @@ -31,7 +31,7 @@ public override void Reset() Properties = new LayerHandlerProperties() { _PrimaryColor = Color.Orange, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { Devices.DeviceKeys.W, Devices.DeviceKeys.A, Devices.DeviceKeys.S, Devices.DeviceKeys.D, Devices.DeviceKeys.SPACE, Devices.DeviceKeys.Q, Devices.DeviceKeys.E, Devices.DeviceKeys.V, Devices.DeviceKeys.R }) + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.W, Devices.DeviceKeys.A, Devices.DeviceKeys.S, Devices.DeviceKeys.D, Devices.DeviceKeys.SPACE, Devices.DeviceKeys.Q, Devices.DeviceKeys.E, Devices.DeviceKeys.V, Devices.DeviceKeys.R }) } } ), @@ -40,7 +40,7 @@ public override void Reset() Properties = new LayerHandlerProperties() { _PrimaryColor = Color.Green, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { Devices.DeviceKeys.TILDE, Devices.DeviceKeys.ONE, Devices.DeviceKeys.TWO, Devices.DeviceKeys.THREE, Devices.DeviceKeys.FOUR, Devices.DeviceKeys.FIVE, Devices.DeviceKeys.SIX, Devices.DeviceKeys.SEVEN, Devices.DeviceKeys.EIGHT, Devices.DeviceKeys.NINE, Devices.DeviceKeys.ZERO }) + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.TILDE, Devices.DeviceKeys.ONE, Devices.DeviceKeys.TWO, Devices.DeviceKeys.THREE, Devices.DeviceKeys.FOUR, Devices.DeviceKeys.FIVE, Devices.DeviceKeys.SIX, Devices.DeviceKeys.SEVEN, Devices.DeviceKeys.EIGHT, Devices.DeviceKeys.NINE, Devices.DeviceKeys.ZERO }) } } ), @@ -49,7 +49,7 @@ public override void Reset() Properties = new LayerHandlerProperties() { _PrimaryColor = Color.Red, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { Devices.DeviceKeys.T, Devices.DeviceKeys.TAB }) + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.T, Devices.DeviceKeys.TAB }) } } ), @@ -58,7 +58,7 @@ public override void Reset() Properties = new LayerHandlerProperties() { _PrimaryColor = Color.Brown, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { Devices.DeviceKeys.O, Devices.DeviceKeys.Y, Devices.DeviceKeys.G, Devices.DeviceKeys.H, Devices.DeviceKeys.I, Devices.DeviceKeys.K, Devices.DeviceKeys.F12, Devices.DeviceKeys.F11, Devices.DeviceKeys.P, Devices.DeviceKeys.ENTER, Devices.DeviceKeys.M, Devices.DeviceKeys.LEFT_CONTROL, Devices.DeviceKeys.LEFT_ALT }) + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.O, Devices.DeviceKeys.Y, Devices.DeviceKeys.G, Devices.DeviceKeys.H, Devices.DeviceKeys.I, Devices.DeviceKeys.K, Devices.DeviceKeys.F12, Devices.DeviceKeys.F11, Devices.DeviceKeys.P, Devices.DeviceKeys.ENTER, Devices.DeviceKeys.M, Devices.DeviceKeys.LEFT_CONTROL, Devices.DeviceKeys.LEFT_ALT }) } } ), @@ -67,7 +67,7 @@ public override void Reset() Properties = new LayerHandlerProperties() { _PrimaryColor = Color.Yellow, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { Devices.DeviceKeys.F, Devices.DeviceKeys.C }) + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.F, Devices.DeviceKeys.C }) } }), new Layer("Wrapper Lighting", new Aurora.Settings.Layers.WrapperLightsLayerHandler()), diff --git a/Project-Aurora/Project-Aurora/Profiles/HotlineMiami/HMProfile.cs b/Project-Aurora/Project-Aurora/Profiles/HotlineMiami/HMProfile.cs index a43baeee4..d2822c230 100644 --- a/Project-Aurora/Project-Aurora/Profiles/HotlineMiami/HMProfile.cs +++ b/Project-Aurora/Project-Aurora/Profiles/HotlineMiami/HMProfile.cs @@ -31,7 +31,7 @@ public override void Reset() Properties = new LayerHandlerProperties() { _PrimaryColor = Color.Yellow, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { Devices.DeviceKeys.W, Devices.DeviceKeys.A, Devices.DeviceKeys.S, Devices.DeviceKeys.D }) + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.W, Devices.DeviceKeys.A, Devices.DeviceKeys.S, Devices.DeviceKeys.D }) } } ), @@ -40,7 +40,7 @@ public override void Reset() Properties = new LayerHandlerProperties() { _PrimaryColor = Color.Red, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { Devices.DeviceKeys.SPACE, Devices.DeviceKeys.LEFT_SHIFT, Devices.DeviceKeys.R, Devices.DeviceKeys.ESC }) + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.SPACE, Devices.DeviceKeys.LEFT_SHIFT, Devices.DeviceKeys.R, Devices.DeviceKeys.ESC }) } }), new Layer("Wrapper Lighting", new Aurora.Settings.Layers.WrapperLightsLayerHandler()), diff --git a/Project-Aurora/Project-Aurora/Profiles/LeagueOfLegends/LoLGSIProfile.cs b/Project-Aurora/Project-Aurora/Profiles/LeagueOfLegends/LoLGSIProfile.cs index 8a98db42d..873edf05a 100644 --- a/Project-Aurora/Project-Aurora/Profiles/LeagueOfLegends/LoLGSIProfile.cs +++ b/Project-Aurora/Project-Aurora/Profiles/LeagueOfLegends/LoLGSIProfile.cs @@ -48,7 +48,7 @@ public override void Reset() Properties = new LayerHandlerProperties() { _PrimaryColor = Color.FromArgb(79, 234, 255), - _Sequence = new KeySequence(new DK[] { DK.B }) + _Sequence = new KeySequence(new DeviceKey[] { DK.B }) } }, EnabledWhen(new BooleanGSIBoolean("Match/InGame"))), new Layer("Health", new PercentLayerHandler() @@ -57,7 +57,7 @@ public override void Reset() { _PrimaryColor = Color.Green, _SecondaryColor = Color.Black, - _Sequence = new KeySequence(new DK[] { DK.F1, DK.F2, DK.F3, DK.F4, DK.F5, DK.F6, DK.F7, DK.F8, DK.F9, DK.F10, DK.F11, DK.F12 }), + _Sequence = new KeySequence(new DeviceKey[] { DK.F1, DK.F2, DK.F3, DK.F4, DK.F5, DK.F6, DK.F7, DK.F8, DK.F9, DK.F10, DK.F11, DK.F12 }), _VariablePath = "Player/ChampionStats/HealthCurrent", _MaxVariablePath = "Player/ChampionStats/HealthMax" } @@ -68,7 +68,7 @@ public override void Reset() { _PrimaryColor = Color.DarkBlue, _SecondaryColor = Color.Black, - _Sequence = new KeySequence(new DK[] { DK.Z, DK.X, DK.C, DK.V, DK.B, DK.N, DK.M, DK.COMMA, DK.PERIOD, DK.FORWARD_SLASH }), + _Sequence = new KeySequence(new DeviceKey[] { DK.Z, DK.X, DK.C, DK.V, DK.B, DK.N, DK.M, DK.COMMA, DK.PERIOD, DK.FORWARD_SLASH }), _VariablePath = "Player/ChampionStats/ResourceCurrent", _MaxVariablePath = "Player/ChampionStats/ResourceMax" } @@ -101,7 +101,7 @@ public static Layer GetItemLayer(string name, string item, DK key) Properties = new LayerHandlerProperties() { _PrimaryColor = Color.Transparent, - _Sequence = new KeySequence(new DK[] { key }) + _Sequence = new KeySequence(new DeviceKey[] { key }) } }, new OverrideLogicBuilder() @@ -120,7 +120,7 @@ public static Layer GetAbilityLayer(string ability, DK key) Properties = new LayerHandlerProperties() { _PrimaryColor = Color.Orange, - _Sequence = new KeySequence(new DK[] { key }) + _Sequence = new KeySequence(new DeviceKey[] { key }) } }, EnabledWhen(new BooleanGSIBoolean("Player/Abilities/" + ability + "/Learned"))); } @@ -132,7 +132,7 @@ public static Layer GetSpellLayer(string spell, DK key) Properties = new LayerHandlerProperties() { _PrimaryColor = Color.Transparent, - _Sequence = new KeySequence(new DK[] { key }) + _Sequence = new KeySequence(new DeviceKey[] { key }) } }, new OverrideLogicBuilder() .SetLookupTable("_PrimaryColor", new OverrideLookupTableBuilder() diff --git a/Project-Aurora/Project-Aurora/Profiles/Metro Last Light/MetroLLProfile.cs b/Project-Aurora/Project-Aurora/Profiles/Metro Last Light/MetroLLProfile.cs index 94589b8bc..5b5c555f1 100644 --- a/Project-Aurora/Project-Aurora/Profiles/Metro Last Light/MetroLLProfile.cs +++ b/Project-Aurora/Project-Aurora/Profiles/Metro Last Light/MetroLLProfile.cs @@ -31,7 +31,7 @@ public override void Reset() Properties = new LayerHandlerProperties() { _PrimaryColor = Color.Orange, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { Devices.DeviceKeys.W, Devices.DeviceKeys.A, Devices.DeviceKeys.S, Devices.DeviceKeys.D, Devices.DeviceKeys.LEFT_CONTROL, Devices.DeviceKeys.SPACE, Devices.DeviceKeys.LEFT_SHIFT }) + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.W, Devices.DeviceKeys.A, Devices.DeviceKeys.S, Devices.DeviceKeys.D, Devices.DeviceKeys.LEFT_CONTROL, Devices.DeviceKeys.SPACE, Devices.DeviceKeys.LEFT_SHIFT }) } } ), @@ -40,7 +40,7 @@ public override void Reset() Properties = new LayerHandlerProperties() { _PrimaryColor = Color.Red, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { Devices.DeviceKeys.ONE, Devices.DeviceKeys.TWO, Devices.DeviceKeys.THREE, Devices.DeviceKeys.R, Devices.DeviceKeys.C, Devices.DeviceKeys.V, Devices.DeviceKeys.E }) + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.ONE, Devices.DeviceKeys.TWO, Devices.DeviceKeys.THREE, Devices.DeviceKeys.R, Devices.DeviceKeys.C, Devices.DeviceKeys.V, Devices.DeviceKeys.E }) } } ), @@ -49,7 +49,7 @@ public override void Reset() Properties = new LayerHandlerProperties() { _PrimaryColor = Color.Blue, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { Devices.DeviceKeys.G, Devices.DeviceKeys.T, Devices.DeviceKeys.F, Devices.DeviceKeys.M, Devices.DeviceKeys.Q, Devices.DeviceKeys.N }) + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.G, Devices.DeviceKeys.T, Devices.DeviceKeys.F, Devices.DeviceKeys.M, Devices.DeviceKeys.Q, Devices.DeviceKeys.N }) } }), new Layer("Wrapper Lighting", new Aurora.Settings.Layers.WrapperLightsLayerHandler()), diff --git a/Project-Aurora/Project-Aurora/Profiles/Minecraft/Layers/MinecraftKeyConflictLayer.cs b/Project-Aurora/Project-Aurora/Profiles/Minecraft/Layers/MinecraftKeyConflictLayer.cs index 6fa10cbbf..e43b1fcf0 100644 --- a/Project-Aurora/Project-Aurora/Profiles/Minecraft/Layers/MinecraftKeyConflictLayer.cs +++ b/Project-Aurora/Project-Aurora/Profiles/Minecraft/Layers/MinecraftKeyConflictLayer.cs @@ -82,8 +82,8 @@ private Dictionary CalculateConflicts(GameState_Minecraft stat if (hasConflict) foreach (var affectedKey in bind.AffectedKeys) // For each key that is affected by this keybind - keys[affectedKey] = keys.ContainsKey(affectedKey) // Check if this key is already flagged as a conflict - ? keys[affectedKey] && isOnlyModifierConflict // If so, ensure it shows full conflicts over modifier conflicts + keys[(DeviceKeys)affectedKey.Tag] = keys.ContainsKey((DeviceKeys)affectedKey.Tag) // Check if this key is already flagged as a conflict + ? keys[(DeviceKeys)affectedKey.Tag] && isOnlyModifierConflict // If so, ensure it shows full conflicts over modifier conflicts : isOnlyModifierConflict; // Else if not already flagged, simply set it. } return keys; diff --git a/Project-Aurora/Project-Aurora/Profiles/Minecraft/MinecraftKeyBinding.cs b/Project-Aurora/Project-Aurora/Profiles/Minecraft/MinecraftKeyBinding.cs index 472ba1f64..bf8d700e1 100644 --- a/Project-Aurora/Project-Aurora/Profiles/Minecraft/MinecraftKeyBinding.cs +++ b/Project-Aurora/Project-Aurora/Profiles/Minecraft/MinecraftKeyBinding.cs @@ -1,4 +1,5 @@ using Aurora.Devices; +using Aurora.Settings; using System; using System.Collections.Generic; using System.Linq; @@ -17,9 +18,9 @@ public class MinecraftKeyBinding { /// /// Gets the keys for this binding, including modifiers. /// - public DeviceKeys[] AffectedKeys { + public DeviceKey[] AffectedKeys { get { - HashSet keys = new HashSet(); + HashSet keys = new HashSet(); keys.Add(DeviceKey); if (modifier == "SHIFT") { keys.Add(DeviceKeys.LEFT_SHIFT); keys.Add(DeviceKeys.RIGHT_SHIFT); diff --git a/Project-Aurora/Project-Aurora/Profiles/Minecraft/MinecraftProfile.cs b/Project-Aurora/Project-Aurora/Profiles/Minecraft/MinecraftProfile.cs index d1726d448..4d95d9772 100644 --- a/Project-Aurora/Project-Aurora/Profiles/Minecraft/MinecraftProfile.cs +++ b/Project-Aurora/Project-Aurora/Profiles/Minecraft/MinecraftProfile.cs @@ -27,7 +27,7 @@ public override void Reset() base.Reset(); // Keys that do something and should be highlighted in a static color - DK[] controlKeys = new[] { DK.W, DK.A, DK.S, DK.D, DK.E, DK.SPACE, DK.LEFT_SHIFT, DK.LEFT_CONTROL }; + DeviceKey[] controlKeys = new DeviceKey[] { DK.W, DK.A, DK.S, DK.D, DK.E, DK.SPACE, DK.LEFT_SHIFT, DK.LEFT_CONTROL }; Layers = new System.Collections.ObjectModel.ObservableCollection() { new Layer("Controls Assistant Layer", new MinecraftKeyConflictLayerHandler()), @@ -39,7 +39,7 @@ public override void Reset() _MaxVariablePath = "Player/HealthMax", _PrimaryColor = Color.Red, _SecondaryColor = Color.Transparent, - _Sequence = new KeySequence(new[] { + _Sequence = new KeySequence(new DeviceKey[] { DK.Z, DK.X, DK.C, DK.V, DK.B, DK.N, DK.M, DK.COMMA, DK.PERIOD, DK.FORWARD_SLASH }) } @@ -60,7 +60,7 @@ public override void Reset() _MaxVariablePath = "Player/ExperienceMax", _PrimaryColor = Color.FromArgb(255, 255, 0), _SecondaryColor = Color.Transparent, - _Sequence = new KeySequence(new[] { + _Sequence = new KeySequence(new DeviceKey[] { DK.F1, DK.F2, DK.F3, DK.F4, DK.F5, DK.F6, DK.F7, DK.F8, DK.F9, DK.F10, DK.F11, DK.F12 }) } @@ -75,7 +75,7 @@ public override void Reset() _SecondaryColor = Color.White, _EnableScroll = true, _ScrollLoop = true, - _Sequence = new KeySequence(new[] { + _Sequence = new KeySequence(new DeviceKey[] { DK.ONE, DK.TWO, DK.THREE, DK.FOUR, DK.FIVE, DK.SIX, DK.SEVEN, DK.EIGHT, DK.NINE }) } diff --git a/Project-Aurora/Project-Aurora/Profiles/Osu/OsuProfile.cs b/Project-Aurora/Project-Aurora/Profiles/Osu/OsuProfile.cs index 562b1925d..7e6d6a3dc 100644 --- a/Project-Aurora/Project-Aurora/Profiles/Osu/OsuProfile.cs +++ b/Project-Aurora/Project-Aurora/Profiles/Osu/OsuProfile.cs @@ -31,14 +31,14 @@ public override void Reset() { new Layer("Drawing", new SolidColorLayerHandler { Properties = new LayerHandlerProperties { _PrimaryColor = Color.DeepSkyBlue, - _Sequence = new KeySequence(new[] { DeviceKeys.C }) + _Sequence = new KeySequence(new DeviceKey[] { DeviceKeys.C }) } }), new Layer("Clickers", new SolidColorLayerHandler { Properties = new LayerHandlerProperties { _PrimaryColor = Color.FromArgb(255, 0, 240), - _Sequence = new KeySequence(new[] { DeviceKeys.Z,DeviceKeys.LEFT_ALT }) + _Sequence = new KeySequence(new DeviceKey[] { DeviceKeys.Z,DeviceKeys.LEFT_ALT }) } }), @@ -48,7 +48,7 @@ public override void Reset() { _SecondaryColor = Color.Red, _VariablePath = "Game/Accuracy", _MaxVariablePath = "100", - _Sequence = new KeySequence(new[] { DeviceKeys.ONE, DeviceKeys.TWO, DeviceKeys.THREE, DeviceKeys.FOUR, DeviceKeys.FIVE, DeviceKeys.SIX, DeviceKeys.SEVEN, DeviceKeys.EIGHT, DeviceKeys.NINE, DeviceKeys.ZERO }), + _Sequence = new KeySequence(new DeviceKey[] { DeviceKeys.ONE, DeviceKeys.TWO, DeviceKeys.THREE, DeviceKeys.FOUR, DeviceKeys.FIVE, DeviceKeys.SIX, DeviceKeys.SEVEN, DeviceKeys.EIGHT, DeviceKeys.NINE, DeviceKeys.ZERO }), _PercentType = PercentEffectType.Progressive_Gradual } }), @@ -89,7 +89,7 @@ public override void Reset() { _SecondaryColor = Color.Black, _VariablePath = "Game/HP", _MaxVariablePath = "200", - _Sequence = new KeySequence(new[] { DeviceKeys.F1, DeviceKeys.F2, DeviceKeys.F3, DeviceKeys.F4, DeviceKeys.F5, DeviceKeys.F6, DeviceKeys.F7, DeviceKeys.F8, DeviceKeys.F9, DeviceKeys.F10, DeviceKeys.F11, DeviceKeys.F12 }), + _Sequence = new KeySequence(new DeviceKey[] { DeviceKeys.F1, DeviceKeys.F2, DeviceKeys.F3, DeviceKeys.F4, DeviceKeys.F5, DeviceKeys.F6, DeviceKeys.F7, DeviceKeys.F8, DeviceKeys.F9, DeviceKeys.F10, DeviceKeys.F11, DeviceKeys.F12 }), _PercentType = PercentEffectType.Progressive_Gradual } }), diff --git a/Project-Aurora/Project-Aurora/Profiles/Payday 2/PD2Profile.cs b/Project-Aurora/Project-Aurora/Profiles/Payday 2/PD2Profile.cs index 974b6ea19..0c2ab81ad 100644 --- a/Project-Aurora/Project-Aurora/Profiles/Payday 2/PD2Profile.cs +++ b/Project-Aurora/Project-Aurora/Profiles/Payday 2/PD2Profile.cs @@ -25,7 +25,7 @@ public override void Reset() _PrimaryColor = Color.FromArgb(0, 255, 0), _SecondaryColor = Color.FromArgb(255, 0, 0), _PercentType = PercentEffectType.Progressive_Gradual, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.F1, Devices.DeviceKeys.F2, Devices.DeviceKeys.F3, Devices.DeviceKeys.F4, Devices.DeviceKeys.F5, Devices.DeviceKeys.F6, Devices.DeviceKeys.F7, Devices.DeviceKeys.F8, Devices.DeviceKeys.F9, Devices.DeviceKeys.F10, Devices.DeviceKeys.F11, Devices.DeviceKeys.F12 @@ -43,7 +43,7 @@ public override void Reset() _PrimaryColor = Color.FromArgb(0, 0, 255), _SecondaryColor = Color.FromArgb(255, 0, 0), _PercentType = PercentEffectType.Progressive_Gradual, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.ONE, Devices.DeviceKeys.TWO, Devices.DeviceKeys.THREE, Devices.DeviceKeys.FOUR, Devices.DeviceKeys.FIVE, Devices.DeviceKeys.SIX, Devices.DeviceKeys.SEVEN, Devices.DeviceKeys.EIGHT, Devices.DeviceKeys.NINE, Devices.DeviceKeys.ZERO, Devices.DeviceKeys.MINUS, Devices.DeviceKeys.EQUALS diff --git a/Project-Aurora/Project-Aurora/Profiles/QuantumConumdrum/Control_QuantumConumdrum.xaml b/Project-Aurora/Project-Aurora/Profiles/QuantumConumdrum/Control_QuantumConumdrum.xaml index 8607cf86b..cdcdad801 100644 --- a/Project-Aurora/Project-Aurora/Profiles/QuantumConumdrum/Control_QuantumConumdrum.xaml +++ b/Project-Aurora/Project-Aurora/Profiles/QuantumConumdrum/Control_QuantumConumdrum.xaml @@ -6,7 +6,7 @@ x:Class="Aurora.Profiles.QuantumConumdrum.Control_QuantumConumdrum" mc:Ignorable="d" d:DesignHeight="300" Height="Auto" Width="Auto" d:DesignWidth="850" Loaded="UserControl_Loaded" Unloaded="UserControl_Unloaded"> - + diff --git a/Project-Aurora/Project-Aurora/Profiles/QuantumConumdrum/QuantumConumdrumProfile.cs b/Project-Aurora/Project-Aurora/Profiles/QuantumConumdrum/QuantumConumdrumProfile.cs index ea2b81e73..1e0cc9e32 100644 --- a/Project-Aurora/Project-Aurora/Profiles/QuantumConumdrum/QuantumConumdrumProfile.cs +++ b/Project-Aurora/Project-Aurora/Profiles/QuantumConumdrum/QuantumConumdrumProfile.cs @@ -32,7 +32,7 @@ public override void Reset() Properties = new LayerHandlerProperties() { _PrimaryColor = Color.DodgerBlue, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { Devices.DeviceKeys.W, Devices.DeviceKeys.A, Devices.DeviceKeys.S, Devices.DeviceKeys.D, Devices.DeviceKeys.SPACE}) + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.W, Devices.DeviceKeys.A, Devices.DeviceKeys.S, Devices.DeviceKeys.D, Devices.DeviceKeys.SPACE}) } } ), @@ -41,7 +41,7 @@ public override void Reset() Properties = new LayerHandlerProperties() { _PrimaryColor = Color.Pink, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { Devices.DeviceKeys.Q}) + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.Q}) } } ), @@ -50,7 +50,7 @@ public override void Reset() Properties = new LayerHandlerProperties() { _PrimaryColor = Color.Red, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { Devices.DeviceKeys.E}) + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.E}) } } ), @@ -59,7 +59,7 @@ public override void Reset() Properties = new LayerHandlerProperties() { _PrimaryColor = Color.Yellow, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { Devices.DeviceKeys.ONE}) + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.ONE}) } } ), @@ -68,7 +68,7 @@ public override void Reset() Properties = new LayerHandlerProperties() { _PrimaryColor = Color.Green, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { Devices.DeviceKeys.THREE}) + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.THREE}) } } ), diff --git a/Project-Aurora/Project-Aurora/Profiles/Resident Evil 2/Layers/ResidentEvil2RankLayerHandler.cs b/Project-Aurora/Project-Aurora/Profiles/Resident Evil 2/Layers/ResidentEvil2RankLayerHandler.cs index 0ffd99c71..dba03640a 100644 --- a/Project-Aurora/Project-Aurora/Profiles/Resident Evil 2/Layers/ResidentEvil2RankLayerHandler.cs +++ b/Project-Aurora/Project-Aurora/Profiles/Resident Evil 2/Layers/ResidentEvil2RankLayerHandler.cs @@ -25,7 +25,7 @@ public ResidentEvil2RankLayerHandlerProperties(bool assign_default = false) : ba public override void Default() { base.Default(); - this._Sequence = new KeySequence(new Devices.DeviceKeys[] { + this._Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.ONE, Devices.DeviceKeys.TWO, Devices.DeviceKeys.THREE, Devices.DeviceKeys.FOUR, Devices.DeviceKeys.FIVE, Devices.DeviceKeys.SIX, Devices.DeviceKeys.SEVEN, Devices.DeviceKeys.EIGHT, Devices.DeviceKeys.NINE }); diff --git a/Project-Aurora/Project-Aurora/Profiles/RocketLeague/RocketLeagueProfile.cs b/Project-Aurora/Project-Aurora/Profiles/RocketLeague/RocketLeagueProfile.cs index a0fc81959..a4533d871 100644 --- a/Project-Aurora/Project-Aurora/Profiles/RocketLeague/RocketLeagueProfile.cs +++ b/Project-Aurora/Project-Aurora/Profiles/RocketLeague/RocketLeagueProfile.cs @@ -27,7 +27,7 @@ public override void Reset() Properties = new PercentGradientLayerHandlerProperties() { _PercentType = PercentEffectType.AllAtOnce, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { Devices.DeviceKeys.Peripheral, Devices.DeviceKeys.Peripheral_Logo } ), + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.Peripheral, Devices.DeviceKeys.Peripheral_Logo } ), _Gradient = new EffectsEngine.EffectBrush(new ColorSpectrum(Color.Yellow, Color.Red).SetColorAt(0.75f, Color.OrangeRed)), _BlinkThreshold = 0.0, _BlinkDirection = false, @@ -40,7 +40,7 @@ public override void Reset() Properties = new PercentGradientLayerHandlerProperties() { _PercentType = PercentEffectType.Progressive_Gradual, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.F1, Devices.DeviceKeys.F2, Devices.DeviceKeys.F3, Devices.DeviceKeys.F4, Devices.DeviceKeys.F5, Devices.DeviceKeys.F6, Devices.DeviceKeys.F7, Devices.DeviceKeys.F8, Devices.DeviceKeys.F9, Devices.DeviceKeys.F10, Devices.DeviceKeys.F11, Devices.DeviceKeys.F12 @@ -57,7 +57,7 @@ public override void Reset() Properties = new LayerHandlerProperties() { _PrimaryColor = Color.Black, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.F1, Devices.DeviceKeys.F2, Devices.DeviceKeys.F3, Devices.DeviceKeys.F4, Devices.DeviceKeys.F5, Devices.DeviceKeys.F6, Devices.DeviceKeys.F7, Devices.DeviceKeys.F8, Devices.DeviceKeys.F9, Devices.DeviceKeys.F10, Devices.DeviceKeys.F11, Devices.DeviceKeys.F12 diff --git a/Project-Aurora/Project-Aurora/Profiles/Serious Sam 3/SSam3Profile.cs b/Project-Aurora/Project-Aurora/Profiles/Serious Sam 3/SSam3Profile.cs index 8d2117a23..79eec77a6 100644 --- a/Project-Aurora/Project-Aurora/Profiles/Serious Sam 3/SSam3Profile.cs +++ b/Project-Aurora/Project-Aurora/Profiles/Serious Sam 3/SSam3Profile.cs @@ -31,7 +31,7 @@ public override void Reset() Properties = new LayerHandlerProperties() { _PrimaryColor = Color.DarkRed, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { Devices.DeviceKeys.W, Devices.DeviceKeys.A, Devices.DeviceKeys.S, Devices.DeviceKeys.D, Devices.DeviceKeys.SPACE }) + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.W, Devices.DeviceKeys.A, Devices.DeviceKeys.S, Devices.DeviceKeys.D, Devices.DeviceKeys.SPACE }) } } ), @@ -40,7 +40,7 @@ public override void Reset() Properties = new LayerHandlerProperties() { _PrimaryColor = Color.Orange, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { Devices.DeviceKeys.LEFT_CONTROL, Devices.DeviceKeys.R, Devices.DeviceKeys.Q, Devices.DeviceKeys.E, Devices.DeviceKeys.LEFT_SHIFT }) + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.LEFT_CONTROL, Devices.DeviceKeys.R, Devices.DeviceKeys.Q, Devices.DeviceKeys.E, Devices.DeviceKeys.LEFT_SHIFT }) } }), new Layer("Wrapper Lighting", new Aurora.Settings.Layers.WrapperLightsLayerHandler()), diff --git a/Project-Aurora/Project-Aurora/Profiles/ShadowOfMordor/ShadowOfMordorProfile.cs b/Project-Aurora/Project-Aurora/Profiles/ShadowOfMordor/ShadowOfMordorProfile.cs index 7c706969f..37c34c56a 100644 --- a/Project-Aurora/Project-Aurora/Profiles/ShadowOfMordor/ShadowOfMordorProfile.cs +++ b/Project-Aurora/Project-Aurora/Profiles/ShadowOfMordor/ShadowOfMordorProfile.cs @@ -32,7 +32,7 @@ public override void Reset() Properties = new LayerHandlerProperties() { _PrimaryColor = Color.Blue, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { Devices.DeviceKeys.W, Devices.DeviceKeys.A, Devices.DeviceKeys.S, Devices.DeviceKeys.D, Devices.DeviceKeys.SPACE }) + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.W, Devices.DeviceKeys.A, Devices.DeviceKeys.S, Devices.DeviceKeys.D, Devices.DeviceKeys.SPACE }) } } ), @@ -41,7 +41,7 @@ public override void Reset() Properties = new LayerHandlerProperties() { _PrimaryColor = Color.LightBlue, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { Devices.DeviceKeys.LEFT_CONTROL, Devices.DeviceKeys.V, Devices.DeviceKeys.I, Devices.DeviceKeys.K, Devices.DeviceKeys.M }) + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.LEFT_CONTROL, Devices.DeviceKeys.V, Devices.DeviceKeys.I, Devices.DeviceKeys.K, Devices.DeviceKeys.M }) } }), new Layer("Wrapper Lighting", new Aurora.Settings.Layers.WrapperLightsLayerHandler()), diff --git a/Project-Aurora/Project-Aurora/Profiles/Slime Rancher/SlimeRancherProfile.cs b/Project-Aurora/Project-Aurora/Profiles/Slime Rancher/SlimeRancherProfile.cs index 27b4a30c6..52e25bde5 100644 --- a/Project-Aurora/Project-Aurora/Profiles/Slime Rancher/SlimeRancherProfile.cs +++ b/Project-Aurora/Project-Aurora/Profiles/Slime Rancher/SlimeRancherProfile.cs @@ -47,11 +47,11 @@ public override void Reset() }, new OverrideLogicBuilder() .SetLookupTable("_Sequence", new OverrideLookupTableBuilder() - .AddEntry(new KeySequence(new[] {DK.ONE}), new BooleanGSINumeric("VacPack/SellectedSlot",1)) - .AddEntry(new KeySequence(new[] {DK.TWO}), new BooleanGSINumeric("VacPack/SellectedSlot",2)) - .AddEntry(new KeySequence(new[] {DK.THREE}), new BooleanGSINumeric("VacPack/SellectedSlot",3)) - .AddEntry(new KeySequence(new[] {DK.FOUR}), new BooleanGSINumeric("VacPack/SellectedSlot",4)) - .AddEntry(new KeySequence(new[] {DK.FIVE}), new BooleanGSINumeric("VacPack/SellectedSlot",5)) + .AddEntry(new KeySequence(new DeviceKey[] {DK.ONE}), new BooleanGSINumeric("VacPack/SellectedSlot",1)) + .AddEntry(new KeySequence(new DeviceKey[] {DK.TWO}), new BooleanGSINumeric("VacPack/SellectedSlot",2)) + .AddEntry(new KeySequence(new DeviceKey[] {DK.THREE}), new BooleanGSINumeric("VacPack/SellectedSlot",3)) + .AddEntry(new KeySequence(new DeviceKey[] {DK.FOUR}), new BooleanGSINumeric("VacPack/SellectedSlot",4)) + .AddEntry(new KeySequence(new DeviceKey[] {DK.FIVE}), new BooleanGSINumeric("VacPack/SellectedSlot",5)) ) .SetLookupTable("_Enabled", new OverrideLookupTableBuilder() .AddEntry(false, new BooleanGSIBoolean("VacPack/InGadgetMode")) @@ -65,11 +65,11 @@ public override void Reset() }, new OverrideLogicBuilder() .SetLookupTable("_Sequence", new OverrideLookupTableBuilder() - .AddEntry(new KeySequence(new[] {DK.ONE}), new BooleanGSINumeric("VacPack/UseableSlots",1)) - .AddEntry(new KeySequence(new[] {DK.ONE, DK.TWO}), new BooleanGSINumeric("VacPack/UseableSlots",2)) - .AddEntry(new KeySequence(new[] {DK.ONE, DK.TWO, DK.THREE}), new BooleanGSINumeric("VacPack/UseableSlots",3)) - .AddEntry(new KeySequence(new[] {DK.ONE, DK.TWO, DK.THREE, DK.FOUR}), new BooleanGSINumeric("VacPack/UseableSlots",4)) - .AddEntry(new KeySequence(new[] {DK.ONE, DK.TWO, DK.THREE, DK.FOUR, DK.FIVE}), new BooleanGSINumeric("VacPack/UseableSlots",ComparisonOperator.GTE,5)) + .AddEntry(new KeySequence(new DeviceKey[] {DK.ONE}), new BooleanGSINumeric("VacPack/UseableSlots",1)) + .AddEntry(new KeySequence(new DeviceKey[] {DK.ONE, DK.TWO}), new BooleanGSINumeric("VacPack/UseableSlots",2)) + .AddEntry(new KeySequence(new DeviceKey[] {DK.ONE, DK.TWO, DK.THREE}), new BooleanGSINumeric("VacPack/UseableSlots",3)) + .AddEntry(new KeySequence(new DeviceKey[] {DK.ONE, DK.TWO, DK.THREE, DK.FOUR}), new BooleanGSINumeric("VacPack/UseableSlots",4)) + .AddEntry(new KeySequence(new DeviceKey[] {DK.ONE, DK.TWO, DK.THREE, DK.FOUR, DK.FIVE}), new BooleanGSINumeric("VacPack/UseableSlots",ComparisonOperator.GTE,5)) ) .SetLookupTable("_Enabled", new OverrideLookupTableBuilder() .AddEntry(false, new BooleanGSIBoolean("VacPack/InGadgetMode")) @@ -88,7 +88,7 @@ public override void Reset() _MaxVariablePath = "Player/Health/Max", _PrimaryColor = Color.FromArgb(255, 17, 17), _SecondaryColor = Color.Transparent, - _Sequence = new KeySequence(new[] { + _Sequence = new KeySequence(new DeviceKey[] { DK.Q, DK.W, DK.E, DK.R, DK.T, DK.Y, DK.U, DK.I, DK.O, DK.P, DK.OPEN_BRACKET, DK.CLOSE_BRACKET }) } @@ -100,7 +100,7 @@ public override void Reset() _MaxVariablePath = "Player/Energy/Max", _PrimaryColor = Color.FromArgb(9, 173, 233), _SecondaryColor = Color.Transparent, - _Sequence = new KeySequence(new[] { + _Sequence = new KeySequence(new DeviceKey[] { DK.A, DK.S, DK.D, DK.F, DK.G, DK.H, DK.J, DK.K, DK.L, DK.SEMICOLON, DK.APOSTROPHE }) } @@ -112,7 +112,7 @@ public override void Reset() _MaxVariablePath = "Player/Radiation/Max", _PrimaryColor = Color.FromArgb(60, 233, 118), _SecondaryColor = Color.Transparent, - _Sequence = new KeySequence(new[] { + _Sequence = new KeySequence(new DeviceKey[] { DK.Z, DK.X, DK.C, DK.V, DK.B, DK.N, DK.M, DK.COMMA, DK.PERIOD, DK.FORWARD_SLASH }) } diff --git a/Project-Aurora/Project-Aurora/Profiles/Stardew Valley/StardewValleyProfile.cs b/Project-Aurora/Project-Aurora/Profiles/Stardew Valley/StardewValleyProfile.cs index 1b2e67f60..6e2684931 100644 --- a/Project-Aurora/Project-Aurora/Profiles/Stardew Valley/StardewValleyProfile.cs +++ b/Project-Aurora/Project-Aurora/Profiles/Stardew Valley/StardewValleyProfile.cs @@ -58,7 +58,7 @@ public override void Reset() _MaxVariablePath = "Player/Health/Max", _PrimaryColor = Color.Lime, _SecondaryColor = Color.Red, - _Sequence = new KeySequence(new[] { + _Sequence = new KeySequence(new DeviceKey[] { DK.ONE, DK.TWO, DK.THREE, DK.FOUR, DK.FIVE, DK.SIX, DK.SEVEN, DK.EIGHT, DK.NINE, DK.ZERO }) } @@ -74,7 +74,7 @@ public override void Reset() _MaxVariablePath = "Player/Energy/Max", _PrimaryColor = Color.Yellow, _SecondaryColor = Color.Red, - _Sequence = new KeySequence(new[] { + _Sequence = new KeySequence(new DeviceKey[] { DK.F1, DK.F2, DK.F3, DK.F4, DK.F5, DK.F6, DK.F7, DK.F8, DK.F9, DK.F10, DK.F11, DK.F12 }) } diff --git a/Project-Aurora/Project-Aurora/Profiles/Subnautica/SubnauticaProfile.cs b/Project-Aurora/Project-Aurora/Profiles/Subnautica/SubnauticaProfile.cs index 001832f69..692337735 100644 --- a/Project-Aurora/Project-Aurora/Profiles/Subnautica/SubnauticaProfile.cs +++ b/Project-Aurora/Project-Aurora/Profiles/Subnautica/SubnauticaProfile.cs @@ -70,7 +70,7 @@ public override void Reset() { _MaxVariablePath = "100", _PrimaryColor = Color.FromArgb(255, 0, 0), _SecondaryColor = Color.Transparent, - _Sequence = new KeySequence(new[] { + _Sequence = new KeySequence(new DeviceKey[] { DK.F1, DK.F2, DK.F3, DK.F4, DK.F5, DK.F6, DK.F7, DK.F8, DK.F9, DK.F10, DK.F11, DK.F12 }), _BlinkThreshold = 0.25 @@ -83,7 +83,7 @@ public override void Reset() { _MaxVariablePath = "100", _PrimaryColor = Color.FromArgb(139, 69, 19), _SecondaryColor = Color.Transparent, - _Sequence = new KeySequence(new[] { + _Sequence = new KeySequence(new DeviceKey[] { DK.Q, DK.W, DK.E, DK.R, DK.T, DK.Y, DK.U, DK.I, DK.O, DK.P }), _BlinkThreshold = 0.25 @@ -96,7 +96,7 @@ public override void Reset() { _MaxVariablePath = "100", _PrimaryColor = Color.FromArgb(0, 0, 255), _SecondaryColor = Color.Transparent, - _Sequence = new KeySequence(new[] { + _Sequence = new KeySequence(new DeviceKey[] { DK.A, DK.S, DK.D, DK.F, DK.G, DK.H, DK.J, DK.K,DK.L }), _BlinkThreshold = 0.25 @@ -109,7 +109,7 @@ public override void Reset() { _MaxVariablePath = "Player/OxygenCapacity", _PrimaryColor = Color.FromArgb(0, 170, 65), _SecondaryColor = Color.Transparent, - _Sequence = new KeySequence(new[] { + _Sequence = new KeySequence(new DeviceKey[] { DK.ONE, DK.TWO, DK.THREE, DK.FOUR, DK.FIVE, DK.SIX, DK.SEVEN, DK.EIGHT, DK.NINE, DK.ZERO, DK.MINUS, DK.EQUALS }), _BlinkThreshold = 0.25 diff --git a/Project-Aurora/Project-Aurora/Profiles/TModLoader/TModLoaderProfile.cs b/Project-Aurora/Project-Aurora/Profiles/TModLoader/TModLoaderProfile.cs index 3f1103df9..410039a71 100644 --- a/Project-Aurora/Project-Aurora/Profiles/TModLoader/TModLoaderProfile.cs +++ b/Project-Aurora/Project-Aurora/Profiles/TModLoader/TModLoaderProfile.cs @@ -25,7 +25,7 @@ public override void Reset() { _MaxVariablePath = "Player/MaxHealth", _PrimaryColor = Color.FromArgb(255, 0, 0), _SecondaryColor = Color.FromArgb(128, 0, 255), - _Sequence = new KeySequence(new[] { + _Sequence = new KeySequence(new DeviceKey[] { DK.F1, DK.F2, DK.F3, DK.F4, DK.F5, DK.F6, DK.F7, DK.F8, DK.F9, DK.F10, DK.F11, DK.F12 }), _BlinkThreshold = 0.25 @@ -37,7 +37,7 @@ public override void Reset() { _MaxVariablePath = "Player/MaxMana", _PrimaryColor = Color.FromArgb(0, 0, 255), _SecondaryColor = Color.FromArgb(0, 0, 128), - _Sequence = new KeySequence(new[] { + _Sequence = new KeySequence(new DeviceKey[] { DK.ONE, DK.TWO, DK.THREE, DK.FOUR, DK.FIVE, DK.SIX, DK.SEVEN, DK.EIGHT, DK.NINE, DK.ZERO, DK.MINUS, DK.EQUALS }), _BlinkThreshold = 0.25 diff --git a/Project-Aurora/Project-Aurora/Profiles/TheTalosPrinciple/TalosPrincipleProfile.cs b/Project-Aurora/Project-Aurora/Profiles/TheTalosPrinciple/TalosPrincipleProfile.cs index 2d3673aa9..3aa94ae7d 100644 --- a/Project-Aurora/Project-Aurora/Profiles/TheTalosPrinciple/TalosPrincipleProfile.cs +++ b/Project-Aurora/Project-Aurora/Profiles/TheTalosPrinciple/TalosPrincipleProfile.cs @@ -31,7 +31,7 @@ public override void Reset() Properties = new LayerHandlerProperties() { _PrimaryColor = Color.LightBlue, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { Devices.DeviceKeys.W, Devices.DeviceKeys.A, Devices.DeviceKeys.S, Devices.DeviceKeys.D }) + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.W, Devices.DeviceKeys.A, Devices.DeviceKeys.S, Devices.DeviceKeys.D }) } } ), @@ -40,7 +40,7 @@ public override void Reset() Properties = new LayerHandlerProperties() { _PrimaryColor = Color.Purple, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { Devices.DeviceKeys.SPACE, Devices.DeviceKeys.LEFT_SHIFT, Devices.DeviceKeys.H, Devices.DeviceKeys.X, Devices.DeviceKeys.TAB }) + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.SPACE, Devices.DeviceKeys.LEFT_SHIFT, Devices.DeviceKeys.H, Devices.DeviceKeys.X, Devices.DeviceKeys.TAB }) } }), new Layer("Wrapper Lighting", new Aurora.Settings.Layers.WrapperLightsLayerHandler()), diff --git a/Project-Aurora/Project-Aurora/Profiles/Witcher3/Witcher3Profile.cs b/Project-Aurora/Project-Aurora/Profiles/Witcher3/Witcher3Profile.cs index 17b4a1872..7f6d60d93 100644 --- a/Project-Aurora/Project-Aurora/Profiles/Witcher3/Witcher3Profile.cs +++ b/Project-Aurora/Project-Aurora/Profiles/Witcher3/Witcher3Profile.cs @@ -29,7 +29,7 @@ public override void Reset() _PrimaryColor = Color.Red, _SecondaryColor = Color.DarkRed, _PercentType = PercentEffectType.Progressive_Gradual, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.F1, Devices.DeviceKeys.F2, Devices.DeviceKeys.F3, Devices.DeviceKeys.F4, Devices.DeviceKeys.F5, Devices.DeviceKeys.F6, Devices.DeviceKeys.F7, Devices.DeviceKeys.F8, Devices.DeviceKeys.F9, Devices.DeviceKeys.F10, Devices.DeviceKeys.F11, Devices.DeviceKeys.F12 @@ -47,7 +47,7 @@ public override void Reset() _PrimaryColor = Color.Olive, _SecondaryColor = Color.DarkOliveGreen, _PercentType = PercentEffectType.Progressive_Gradual, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.ONE, Devices.DeviceKeys.TWO, Devices.DeviceKeys.THREE, Devices.DeviceKeys.FOUR, Devices.DeviceKeys.FIVE, Devices.DeviceKeys.SIX, Devices.DeviceKeys.SEVEN, Devices.DeviceKeys.EIGHT, Devices.DeviceKeys.NINE, Devices.DeviceKeys.ZERO, Devices.DeviceKeys.MINUS, Devices.DeviceKeys.EQUALS @@ -65,7 +65,7 @@ public override void Reset() _PrimaryColor = Color.Orange, _SecondaryColor = Color.DarkOrange, _PercentType = PercentEffectType.Progressive_Gradual, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.NUM_ONE, Devices.DeviceKeys.NUM_TWO, Devices.DeviceKeys.NUM_THREE, Devices.DeviceKeys.NUM_FOUR, Devices.DeviceKeys.NUM_FIVE, Devices.DeviceKeys.NUM_SIX, Devices.DeviceKeys.NUM_SEVEN, Devices.DeviceKeys.NUM_EIGHT, Devices.DeviceKeys.NUM_NINE diff --git a/Project-Aurora/Project-Aurora/Profiles/XCOM/XCOMProfile.cs b/Project-Aurora/Project-Aurora/Profiles/XCOM/XCOMProfile.cs index 9ef63af85..9adc36a4a 100644 --- a/Project-Aurora/Project-Aurora/Profiles/XCOM/XCOMProfile.cs +++ b/Project-Aurora/Project-Aurora/Profiles/XCOM/XCOMProfile.cs @@ -31,7 +31,7 @@ public override void Reset() Properties = new LayerHandlerProperties() { _PrimaryColor = Color.Orange, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { Devices.DeviceKeys.W, Devices.DeviceKeys.A, Devices.DeviceKeys.S, Devices.DeviceKeys.D, Devices.DeviceKeys.Q, Devices.DeviceKeys.E, Devices.DeviceKeys.HOME, Devices.DeviceKeys.Z }) + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.W, Devices.DeviceKeys.A, Devices.DeviceKeys.S, Devices.DeviceKeys.D, Devices.DeviceKeys.Q, Devices.DeviceKeys.E, Devices.DeviceKeys.HOME, Devices.DeviceKeys.Z }) } } ), @@ -40,7 +40,7 @@ public override void Reset() Properties = new LayerHandlerProperties() { _PrimaryColor = Color.DarkOrange, - _Sequence = new KeySequence(new Devices.DeviceKeys[] { Devices.DeviceKeys.ENTER, Devices.DeviceKeys.ESC, Devices.DeviceKeys.V, Devices.DeviceKeys.X, Devices.DeviceKeys.BACKSPACE, Devices.DeviceKeys.F1, Devices.DeviceKeys.R, Devices.DeviceKeys.B, Devices.DeviceKeys.Y }) + _Sequence = new KeySequence(new DeviceKey[] { Devices.DeviceKeys.ENTER, Devices.DeviceKeys.ESC, Devices.DeviceKeys.V, Devices.DeviceKeys.X, Devices.DeviceKeys.BACKSPACE, Devices.DeviceKeys.F1, Devices.DeviceKeys.R, Devices.DeviceKeys.B, Devices.DeviceKeys.Y }) } }), new Layer("Wrapper Lighting", new Aurora.Settings.Layers.WrapperLightsLayerHandler()), diff --git a/Project-Aurora/Project-Aurora/Project-Aurora.csproj b/Project-Aurora/Project-Aurora/Project-Aurora.csproj index 4eb5f120d..14faee69a 100644 --- a/Project-Aurora/Project-Aurora/Project-Aurora.csproj +++ b/Project-Aurora/Project-Aurora/Project-Aurora.csproj @@ -1,4 +1,4 @@ - + net48 @@ -59,10 +59,10 @@ - - - + + + @@ -141,14 +141,14 @@ - + PreserveNewest - + PreserveNewest - - + + @@ -171,7 +171,6 @@ - diff --git a/Project-Aurora/Project-Aurora/Settings/ColorZone.cs b/Project-Aurora/Project-Aurora/Settings/ColorZone.cs index 165bacb9d..cf3ccf89c 100644 --- a/Project-Aurora/Project-Aurora/Settings/ColorZone.cs +++ b/Project-Aurora/Project-Aurora/Settings/ColorZone.cs @@ -44,7 +44,7 @@ public ColorZone(string zone_name = "New Zone") GenerateRandomColor(); } - public ColorZone(Devices.DeviceKeys[] zone_keys, string zone_name = "New Zone") + public ColorZone(DeviceKey[] zone_keys, string zone_name = "New Zone") { name = zone_name; keysequence = new KeySequence(zone_keys); @@ -54,7 +54,7 @@ public ColorZone(Devices.DeviceKeys[] zone_keys, string zone_name = "New Zone") GenerateRandomColor(); } - public ColorZone(Devices.DeviceKeys[] zone_keys, LayerEffects zone_effect, string zone_name = "New Zone") + public ColorZone(DeviceKey[] zone_keys, LayerEffects zone_effect, string zone_name = "New Zone") { name = zone_name; keysequence = new KeySequence(zone_keys); @@ -64,7 +64,7 @@ public ColorZone(Devices.DeviceKeys[] zone_keys, LayerEffects zone_effect, strin GenerateRandomColor(); } - public ColorZone(Devices.DeviceKeys[] zone_keys, Color zone_color, string zone_name = "New Zone") + public ColorZone(DeviceKey[] zone_keys, Color zone_color, string zone_name = "New Zone") { name = zone_name; keysequence = new KeySequence(zone_keys); diff --git a/Project-Aurora/Project-Aurora/Settings/Configuration.cs b/Project-Aurora/Project-Aurora/Settings/Configuration.cs index 9c87116e2..913d7a421 100755 --- a/Project-Aurora/Project-Aurora/Settings/Configuration.cs +++ b/Project-Aurora/Project-Aurora/Settings/Configuration.cs @@ -467,11 +467,9 @@ public class Configuration : INotifyPropertyChanged public bool HighPriority { get; set; } = false; public BitmapAccuracy BitmapAccuracy { get; set; } = BitmapAccuracy.Okay; public bool EnableAudioCapture { get; set; } = false; - [JsonProperty("updates_check_on_start_up")] public bool UpdatesCheckOnStartUp { get; set; } = true; [JsonProperty("start_silently")] public bool StartSilently { get; set; } = false; [JsonProperty("close_mode")] public AppExitMode CloseMode { get; set; } = AppExitMode.Ask; - [JsonProperty("mouse_orientation")] public MouseOrientationType MouseOrientation { get; set; } = MouseOrientationType.RightHanded; [JsonProperty("keyboard_brand")] public PreferredKeyboard KeyboardBrand { get; set; } = PreferredKeyboard.None; [JsonProperty("keyboard_localization")] public PreferredKeyboardLocalization KeyboardLocalization { get; set; } = PreferredKeyboardLocalization.None; [JsonProperty("mouse_preference")] public PreferredMouse MousePreference { get; set; } = PreferredMouse.None; diff --git a/Project-Aurora/Project-Aurora/Settings/Control_Settings.xaml b/Project-Aurora/Project-Aurora/Settings/Control_Settings.xaml index eae654cf1..3b506d9a4 100755 --- a/Project-Aurora/Project-Aurora/Settings/Control_Settings.xaml +++ b/Project-Aurora/Project-Aurora/Settings/Control_Settings.xaml @@ -141,19 +141,11 @@ - - - - - - - - - + @@ -249,8 +241,8 @@ - - + + diff --git a/Project-Aurora/Project-Aurora/Settings/Control_Settings.xaml.cs b/Project-Aurora/Project-Aurora/Settings/Control_Settings.xaml.cs index e3e684fea..62fb0265f 100755 --- a/Project-Aurora/Project-Aurora/Settings/Control_Settings.xaml.cs +++ b/Project-Aurora/Project-Aurora/Settings/Control_Settings.xaml.cs @@ -143,6 +143,7 @@ private void Hyperlink_RequestNavigate(object sender, RequestNavigateEventArgs e } private void ExcludedAdd_Click(object sender, RoutedEventArgs e) + { Window_ProcessSelection dialog = new Window_ProcessSelection { ButtonLabel = "Exclude Process" }; if (dialog.ShowDialog() == true && !string.IsNullOrWhiteSpace(dialog.ChosenExecutableName) && !Global.Configuration.ExcludedPrograms.Contains(dialog.ChosenExecutableName)) @@ -199,8 +200,6 @@ private void updates_check_Click(object sender, RoutedEventArgs e) } } } - - private void LoadBrandDefault(object sender, SelectionChangedEventArgs e) => Global.kbLayout.LoadBrandDefault(); private void ResetDevices(object sender, RoutedEventArgs e) => Global.dev_manager.ResetDevices(); private void razer_wrapper_install_button_Click(object sender, RoutedEventArgs e) @@ -454,4 +453,4 @@ private void btnDumpSensors_Click(object sender, RoutedEventArgs e) System.Windows.MessageBox.Show("Error dumping file. Consult log for details."); } } -} +} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/Settings/DeviceKeyData.cs b/Project-Aurora/Project-Aurora/Settings/DeviceKeyData.cs new file mode 100644 index 000000000..95e08c96b --- /dev/null +++ b/Project-Aurora/Project-Aurora/Settings/DeviceKeyData.cs @@ -0,0 +1,299 @@ +using Newtonsoft.Json; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Aurora.Settings +{ + public class DeviceKey + { + [JsonProperty("tag")] + public int Tag { get; set; } + [JsonProperty("visual_name")] + public string VisualName { get; set; } + + + [JsonProperty("device_id", NullValueHandling = NullValueHandling.Ignore)] + public int? DeviceId { get; set; } + + /*public bool Equals(DeviceKey otherKey) + { + return Tag == otherKey.Tag && DeviceId == otherKey.DeviceId; + } + + public override bool Equals(object obj) + { + // Again just optimization + if (ReferenceEquals(null, obj)) return false; + if (ReferenceEquals(this, obj)) return true; + + // Actually check the type, should not throw exception from Equals override + if (obj.GetType() != this.GetType()) return false; + + // Call the implementation from IEquatable + return Equals((DeviceKey)obj); + }*/ + + public bool Equals(DeviceKey key1, DeviceKey key2) + { + return key1.Tag == key2.Tag && key1.DeviceId == key2.DeviceId; + } + + + public int GetHashCode(DeviceKey obj) + { + return obj.Tag; + } + public class EqualityComparer : IEqualityComparer + { + public bool Equals(DeviceKey key1, DeviceKey key2) + { + return key1.Tag != -1 && key1.Tag == key2.Tag && (key2.DeviceId == null || key1.DeviceId == key2.DeviceId); + } + + + public int GetHashCode(DeviceKey obj) + { + return obj.Tag; + } + + } + public static bool operator ==(DeviceKey key1, DeviceKey key2) + { + return key1.Tag == key2.Tag && (key2.DeviceId == null || key1.DeviceId == key2.DeviceId); + } + public static bool operator !=(DeviceKey key1, DeviceKey key2) + { + return !(key1.Tag == key2.Tag && (key2.DeviceId == null || key1.DeviceId == key2.DeviceId)); + } + public DeviceKey() + { + Tag = -1; + DeviceId = null; + } + public DeviceKey(int key) + { + Tag = key; + DeviceId = null; + VisualName = ((Devices.DeviceKeys)key).ToString(); + } + public DeviceKey(Devices.DeviceKeys key, int? deviceId = null, string visualName = null) + { + Tag = (int)key; + DeviceId = deviceId; + if (visualName != null) + VisualName = visualName; + else + VisualName = key.ToString(); + } + public DeviceKey(int key, string visualName, int? deviceId = null) + { + Tag = key; + DeviceId = deviceId; + VisualName = visualName; + } + public static implicit operator DeviceKey(Devices.DeviceKeys k) => new DeviceKey(k); + + public static implicit operator DeviceKey(Int64 k) => new DeviceKey((int)k); + + } + public class DeviceKeyModifier + { + public string VisualName; + + [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] + public int? X; + + [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] + public int? Y; + + [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] + public int? Width; + [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] + public int? Height; + + [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] + public string Image; + [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] + public double? FontSize; + [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] + public bool? Enabled; + + public DeviceKeyModifier() { } + + public DeviceKeyModifier(DeviceKeyConfiguration conf) + { + VisualName = conf.Key.VisualName; + X = conf.X; + Y = conf.Y; + Height = conf.Height; + Width = conf.Width; + FontSize = conf.FontSize; + Enabled = conf.Enabled; + Image = conf.Image; + } + public DeviceKeyModifier(DeviceKeyConfiguration baseConf, DeviceKeyConfiguration updateConf) + { + if (baseConf.Key == updateConf.Key) + { + if (updateConf.Key.VisualName != baseConf.Key.VisualName) VisualName = updateConf.Key.VisualName; + if (updateConf.X != baseConf.X) X = updateConf.X; + if (updateConf.Y != baseConf.Y) Y = updateConf.Y; + if (updateConf.Height != baseConf.Height) Height = updateConf.Height - baseConf.Height; + if (updateConf.Width != baseConf.Width) Width = updateConf.Width - baseConf.Width; + if (updateConf.FontSize != baseConf.FontSize) FontSize = updateConf.FontSize; + if (updateConf.Enabled != baseConf.Enabled) Enabled = updateConf.Enabled; + if (updateConf.Image != baseConf.Image) Image = updateConf.Image; + } + } + } + public class DeviceKeyConfiguration : INotifyPropertyChanged + { + public DeviceKey Key = Devices.DeviceKeys.NONE; + private int _x; + public int X + { + get { return _x; } + set + { + _x = value; + OnPropertyChanged(nameof(X)); + } + } + private int _y; + public int Y + { + get { return _y; } + set + { + _y = value; + OnPropertyChanged(nameof(Y)); + } + } + private int _width; + public int Width + { + get { return _width; } + set + { + _width = value; + OnPropertyChanged(nameof(Width)); + } + } + private int _height; + public int Height + { + get { return _height; } + set + { + _height = value; + OnPropertyChanged(nameof(Height)); + } + } + private string _image = null; + [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] + public string Image + { + get { return _image; } + set + { + _image = value; + OnPropertyChanged(nameof(Image)); + OnPropertyChanged(nameof(IsImage)); + } + } + [JsonIgnore] + public bool IsImage => !String.IsNullOrWhiteSpace(Image); + public double? FontSize; + public bool? Enabled = true; + + public event PropertyChangedEventHandler PropertyChanged; + + private void OnPropertyChanged(string propertyName) + { + PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); + } + + [JsonIgnore] + public int Tag + { + get { return Key.Tag; } + set + { + Key.Tag = value; + OnPropertyChanged(nameof(Tag)); + } + } + + [JsonIgnore] + public bool VisualNameUpdateEnabled = true; + [JsonIgnore] + public string VisualName + { + get { return Key.VisualName; } + set + { + Key.VisualName = value; + OnPropertyChanged(nameof(VisualName)); + } + } + public DeviceKeyConfiguration() + { + } + public DeviceKeyConfiguration(KeyboardKey key, int? deviceId) + { + Key = new DeviceKey(key.tag, deviceId, key.visualName); + if (key.width != null) Width = (int)key.width; + if (key.height != null) Height = (int)key.height; + if (key.font_size != null) FontSize = key.font_size; + if (key.margin_left != null) X = (int)key.margin_left; + if (key.margin_top != null) Y = (int)key.margin_top; + if (key.enabled != null) Enabled = key.enabled; + if (!String.IsNullOrWhiteSpace(key.image)) Image = key.image; + } + public void UpdateFromOtherKey(KeyboardKey key) + { + if (key != null) + { + + if (key.visualName != null) Key.VisualName = key.visualName; + if ((int)key.tag != -1) + Key.Tag = (int)key.tag; + if (key.width != null) Width = (int)key.width; + if (key.height != null) Height = (int)key.height; + if (key.font_size != null) FontSize = key.font_size; + if (key.margin_left != null) X = (int)key.margin_left; + if (key.margin_top != null) Y = (int)key.margin_top; + if (key.enabled != null) Enabled = key.enabled; + if (key.image != null) Image = key.image; + } + } + public void ApplyModifier(DeviceKeyModifier modifier) + { + if (modifier.VisualName != null) + { + VisualName = modifier.VisualName; + VisualNameUpdateEnabled = false; + } + if (modifier.X != null) X = modifier.X.Value; + if (modifier.Y != null) Y = modifier.Y.Value; + if (modifier.Height != null) Height += modifier.Height.Value; + if (modifier.Width != null) Width += modifier.Width.Value; + if (modifier.FontSize != null) FontSize = modifier.FontSize; + if (modifier.Enabled != null) Enabled = modifier.Enabled; + if (modifier.Image != null) Image = modifier.Image; + } + public static bool operator ==(DeviceKeyConfiguration key1, DeviceKeyConfiguration key2) + { + return key1.Tag == key2.Tag && key1.VisualName == key2.VisualName && key1.Image == key2.Image && key1.Enabled == key2.Enabled && key1.FontSize == key2.FontSize && + key1.Width == key2.Width && key1.Height == key2.Height && key1.X == key2.X && key1.Y == key2.Y; + } + public static bool operator !=(DeviceKeyConfiguration key1, DeviceKeyConfiguration key2) + { + return !(key1 == key2); + } + } +} diff --git a/Project-Aurora/Project-Aurora/Settings/DeviceLayoutManager.cs b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutManager.cs new file mode 100644 index 000000000..125ea8d70 --- /dev/null +++ b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutManager.cs @@ -0,0 +1,829 @@ +using Aurora.Devices; +using Aurora.Settings.DeviceLayoutViewer; +using Newtonsoft.Json; +using System; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Collections.Specialized; +using System.ComponentModel; +using System.Diagnostics; +using System.Globalization; +using System.IO; +using System.Linq; +using System.Runtime.InteropServices; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Media; +using System.Windows.Media.Imaging; + + +namespace Aurora.Settings +{ + public enum KeyboardPhysicalLayout + { + [Description("ANSI")] + ANSI, + [Description("ISO")] + ISO, + [Description("ABNT")] + ABNT, + [Description("JIS")] + JIS + } + public class VirtualKeyboardConfiguration + { + public bool IsNewFormat = false; + + public int[] keys_to_remove = new int[] { }; + + public Dictionary key_modifications = new Dictionary(); + + [JsonProperty("key_conversion")] + public Dictionary KeyConversion = null; + + /// + /// A list of paths for each included group json + /// + public string[] included_features = new string[] { }; + + } + public class KeyboardLayout + { + [JsonProperty("key_conversion")] + public Dictionary KeyConversion = null; + + [JsonProperty("keys")] + public KeyboardKey[] Keys = null; + } + + public class DeviceLayout + { + + public Dictionary Keys = new Dictionary(); + + private System.Drawing.Rectangle Region = new System.Drawing.Rectangle(0, 0, 0, 0); + + private DeviceConfig Config; + + public DeviceLayout(DeviceConfig config) + { + Config = config; + + } + protected class NewKeyboardLayout + { + /*[JsonProperty("layout_width")] + public int Width = 0; + + [JsonProperty("layout_height")] + public int Height = 0;*/ + + [JsonProperty("keys")] + public DeviceKeyConfiguration[] Keys = null; + } + private DeviceConfig convertDeviceConfig(DeviceConfig config) + { + switch (config.Type) + { + case 0: + return new KeyboardConfig(config); + case 1: + return new MouseConfig(config); + default: + return config; + } + } + public List LoadLayout() + { + var layoutConfigPath = ""; + string keyboard_preference = Config.SelectedLayout; + Config = convertDeviceConfig(Config); + if (keyboard_preference != "" && keyboard_preference != "None") + { + layoutConfigPath = Config.LayoutPath; + } + + if (!String.IsNullOrWhiteSpace(layoutConfigPath) && File.Exists(layoutConfigPath)) + { + //Load keyboard layout + //LoadCulture(); + + //TODO + //if (!File.Exists(layoutPath)) + // LoadDefault(); + + + + /* var layoutType = "abnt2"; + var fileName = "Plain Keyboard\\layout." + layoutType + ".json"; + var layoutPath = Path.Combine(layoutsPath, "Keyboard", fileName); + string keyboardContent = File.ReadAllText(layoutPath, Encoding.UTF8); + KeyboardLayout keyboard = JsonConvert.DeserializeObject(keyboardContent, new JsonSerializerSettings { ObjectCreationHandling = ObjectCreationHandling.Replace }); + LoadFromKeys(keyboard.Keys); + + NewKeyboardLayout saved = new NewKeyboardLayout(); + saved.Keys = Keys.Values.ToArray(); + keyboardContent = JsonConvert.SerializeObject(saved, Formatting.Indented); + + fileName = "Plain Keyboard\\" + layoutType + "_layout.json"; + File.WriteAllText(Path.Combine(layoutsPath, "Keyboard", fileName), keyboardContent, Encoding.UTF8);*/ + + if (Config.Type == 0) + { + var keyboardConfig = new KeyboardConfig(Config); + string content = File.ReadAllText(layoutConfigPath, Encoding.UTF8); + VirtualKeyboardConfiguration layoutConfig = JsonConvert.DeserializeObject(content, new JsonSerializerSettings { ObjectCreationHandling = ObjectCreationHandling.Replace }); + if (layoutConfig.IsNewFormat == true) + { + var keys = LoadKeyboardPhysicalLayout(keyboardConfig.PhysicalLayoutPath); + + var keyboardLayout = LoadDeviceLayout(keyboardConfig.LayoutPath); + keyboardLayout.ApplyConfig(keys); + + if (keyboardConfig.SelectedKeyboardLayout == KeyboardPhysicalLayout.JIS) + { + foreach (var key in keyboardLayout.jis_key_modifications) + { + if (keys.ContainsKey(key.Key)) + { + keys[key.Key].ApplyModifier(key.Value); + } + } + } + + NormalizeKeys(keys); + Keys = keys; + } + else + { + + Keys = LoadKeyboardPhysicalLayout(keyboardConfig.PhysicalLayoutPath); + + //AdjustKeys + var adjustKeys = layoutConfig.key_modifications; + Keys.Values.ToList().FindAll(key => adjustKeys.ContainsKey((int)key.Tag)).ForEach(k => k.UpdateFromOtherKey(adjustKeys[k.Tag])); + foreach (var keyTag in layoutConfig.keys_to_remove) + { + Keys.Remove(keyTag); + } + + + NormalizeKeys(Keys); + + //Old way of serializing the deviceLayouts + foreach (string feature in layoutConfig.included_features) + { + string feature_path = Path.Combine(Global.ExecutingDirectory, "DeviceLayouts", "Keyboard", "Extra Features", feature); + + if (File.Exists(feature_path)) + { + string feature_content = File.ReadAllText(feature_path, Encoding.UTF8); + VirtualGroup feature_config = JsonConvert.DeserializeObject(feature_content, new JsonSerializerSettings { ObjectCreationHandling = ObjectCreationHandling.Replace }); + + AddFeature(feature_config.grouped_keys.ToArray(), feature_config.origin_region); + + } + } + + NormalizeKeys(Keys); + } + } + else + { + if (!string.IsNullOrWhiteSpace(layoutConfigPath) && File.Exists(layoutConfigPath)) + { + string mouseConfigContent = File.ReadAllText(layoutConfigPath, Encoding.UTF8); + VirtualGroup mouseConfig = JsonConvert.DeserializeObject(mouseConfigContent, new JsonSerializerSettings { ObjectCreationHandling = ObjectCreationHandling.Replace }); + if (mouseConfig.origin_region == null) + { + Dictionary keys = new Dictionary(); + var deviceConfig = LoadDeviceLayout(Config.LayoutPath); + deviceConfig.ApplyConfig(keys); + Keys = keys; + } + AddFeature(mouseConfig.grouped_keys.ToArray(), mouseConfig.origin_region); + NormalizeKeys(Keys); + } + } + + + } + + return Keys.Values.ToList(); + } + + private Dictionary LoadKeyboardPhysicalLayout(string physicalLayoutPath) + { + Dictionary keys = new Dictionary(); + if (File.Exists(physicalLayoutPath)) + { + string c = File.ReadAllText(physicalLayoutPath, Encoding.UTF8); + NewKeyboardLayout keyboard = JsonConvert.DeserializeObject(c, new JsonSerializerSettings { ObjectCreationHandling = ObjectCreationHandling.Replace }); + + keys = keyboard.Keys.ToDictionary(k => k.Tag, k => k); + } + return keys; + } + private KeycapGroupConfiguration LoadDeviceLayout(string layoutConfigPath) + { + if (File.Exists(layoutConfigPath)) + { + string content = File.ReadAllText(layoutConfigPath, Encoding.UTF8); + var layoutConfig = JsonConvert.DeserializeObject(content, new JsonSerializerSettings { ObjectCreationHandling = ObjectCreationHandling.Replace }); + if (layoutConfig.IsNewFormat == true) + return layoutConfig; + } + return new KeycapGroupConfiguration(); + } + + private KeycapGroupConfiguration CalcKeyboardKeyConfiguration(List saveKeys) + { + + KeycapGroupConfiguration config = LoadDeviceLayout(Config.LayoutPath); + var keyboardConfig = Config as KeyboardConfig; + var defaultLayout = LoadKeyboardPhysicalLayout(keyboardConfig.PhysicalLayoutPath); + + if (keyboardConfig.SelectedKeyboardLayout != KeyboardPhysicalLayout.JIS) + { + config.UpdateConfig(saveKeys, defaultLayout); + } + else + { + config.ApplyConfig(defaultLayout); + config.jis_key_modifications.Clear(); + foreach (var key in saveKeys) + { + if (defaultLayout[key.Tag] != key) + { + config.jis_key_modifications[key.Tag] = new DeviceKeyModifier(defaultLayout[key.Tag], key); + } + } + + } + + return config; + } + public void SaveLayout(List layoutKey, Point offset) + { + List saveKeys = new List(); + foreach (var key in layoutKey) + { + var conf = key.Config; + conf.Key.DeviceId = null; + conf.X += (int)offset.X; + conf.Y += (int)offset.Y; + saveKeys.Add(conf); + } + KeycapGroupConfiguration config = new KeycapGroupConfiguration(); + if (Config.Type == 0) + { + config = CalcKeyboardKeyConfiguration(saveKeys); + } + else + { + config.key_to_add = saveKeys.ToDictionary(k => k.Tag, k => k); + } + + var content = JsonConvert.SerializeObject(config, Formatting.Indented); + + File.WriteAllText(Config.CustomLayoutPath, content, Encoding.UTF8); + } + public void AddFeature(KeyboardKey[] keys, KeyboardRegion? insertion_region = KeyboardRegion.TopLeft) + { + double location_x = 0.0D; + double location_y = 0.0D; + + if (insertion_region == KeyboardRegion.TopRight) + { + location_x = Region.Width; + } + else if (insertion_region == KeyboardRegion.BottomLeft) + { + location_y = Region.Height + 7; + } + else if (insertion_region == KeyboardRegion.BottomRight) + { + location_x = Region.Width; + location_y = Region.Height + 7; + + } + + int added_width = 0; + int added_height = 0; + + foreach (var key in keys) + { + key.margin_left += location_x; + key.margin_top += location_y; + + Keys[(int)key.tag] = new DeviceKeyConfiguration(key, Config.Id.ViewPort); + + if (key.width + key.margin_left > Region.Width) + Region.Width = (int)(key.width + key.margin_left); + else if (key.margin_left + added_width < 0) + { + added_width = -(int)(key.margin_left); + } + + if (key.height + key.margin_top > Region.Height) + Region.Height = (int)(key.height + key.margin_top); + else if (key.margin_top + added_height < 0) + { + added_height = -(int)(key.margin_top); + } + + } + Region.Width += added_width; + Region.Height += added_height; + //NormalizeKeys(); + } + protected void NormalizeKeys(Dictionary keys) + { + int x_correction = 0; + int y_correction = 0; + int layout_height = 0; + int layout_width = 0; + + foreach (var key in keys.Values) + { + if (key.X < x_correction) + x_correction = key.X; + + if (key.Y < y_correction) + y_correction = key.Y; + } + foreach (var key in keys.Values) + { + key.Y -= y_correction; + key.X -= x_correction; + + if (key.Width + key.X > layout_width) + layout_width = key.Width + key.X; + + if (key.Height + key.Y > layout_height) + layout_height = key.Height + key.Y; + } + Region.Width = layout_width; + Region.Height = layout_height; + } + private void LoadFromKeys(KeyboardKey[] JsonKeys) + { + double layout_height = 0; + double layout_width = 0; + double current_height = 0; + double current_width = 0; + + foreach (var key in JsonKeys) + { + + if (key.width + key.margin_left > 0) + current_width += key.width.Value + key.margin_left.Value; + + if (key.margin_top > 0) + current_height += key.margin_top.Value; + + key.margin_left = current_width - key.width.Value; + key.margin_top = current_height + key.margin_top.Value; + + if (layout_width < current_width) + layout_width = current_width; + + if (key.line_break ?? false) + { + current_height += 37; + current_width = 0; + } + + if (layout_height < current_height) + layout_height = current_height; + + Keys.Add((int)key.tag ,new DeviceKeyConfiguration(key, null)); + } + + Region.Width = (int)layout_width; + Region.Height = (int)layout_height; + } + } + public class KeycapGroupConfiguration + { + public bool IsNewFormat = true; + public int[] keys_to_remove = new int[] { }; + + [JsonProperty("key_modifications")] + public Dictionary key_modifications = new Dictionary(); + + [JsonProperty("key_to_add")] + public Dictionary key_to_add = new Dictionary(); + + [JsonProperty("jis_key_modifications")] + public Dictionary jis_key_modifications = new Dictionary(); + + public KeycapGroupConfiguration() + { + + } + public void UpdateConfig(List saveKeys, Dictionary baseKeys) + { + key_modifications.Clear(); + key_to_add.Clear(); + foreach (var key in saveKeys) + { + if (baseKeys.ContainsKey(key.Tag)) + { + if (baseKeys[key.Tag] != key) + { + key_modifications[key.Tag] = new DeviceKeyModifier(baseKeys[key.Tag], key); + } + baseKeys.Remove(key.Tag); + } + else + { + key_to_add[key.Tag] = key; + } + } + keys_to_remove = baseKeys.Keys.ToArray(); + } + public void ApplyConfig(Dictionary keys) + { + //AdjustKeys + foreach (var keyTag in keys_to_remove) + { + keys.Remove(keyTag); + } + foreach (var key in key_modifications) + { + if (keys.ContainsKey(key.Key)) + { + keys[key.Key].ApplyModifier(key.Value); + } + } + foreach (var key in key_to_add) + { + keys[key.Key] = key.Value; + } + } + } + + public class DeviceConfig + { + public Devices.UniqueDeviceId Id; + public string SelectedLayout = ""; + public int Type; + public Point Offset = new Point(0, 0); + public bool LightingEnabled = true; + public bool TypeChangeEnabled = true; + public bool InvisibleBackgroundEnabled = false; + + [JsonIgnore] + public virtual string LayoutTypeDir => "OtherDevices"; + + public DeviceConfig(DeviceConfig config) + { + Id = config.Id; + SelectedLayout = config.SelectedLayout; + Type = config.Type; + ConfigurationChanged = config.ConfigurationChanged; + LightingEnabled = config.LightingEnabled; + TypeChangeEnabled = config.TypeChangeEnabled; + InvisibleBackgroundEnabled = config.InvisibleBackgroundEnabled; + } + + public DeviceConfig(int viewPort) + { + Id = new Devices.UniqueDeviceId(); + Id.ViewPort = viewPort; + } + protected DeviceConfig() + { + // Private parameterless constructor. Leave private so that it forces everyone to use the Mandate parameter but allows serialization to work. + } + + public delegate void ConfigChangedEventHandler(); + + public event ConfigChangedEventHandler ConfigurationChanged; + + /*public void UpdateConfig(DeviceConfig config) + { + Id = config.Id; + SelectedLayout = config.SelectedLayout; + Type = config.Type; + SaveConfiguration?.Invoke(this); + ConfigurationChanged?.Invoke(); + }*/ + public void RefreshConfig() + { + ConfigurationChanged?.Invoke(); + } + + [JsonIgnore] + public string LayoutPath => Global.devicesLayout.calcLayoutPath(LayoutTypeDir, SelectedLayout + ".json"); + + [JsonIgnore] + public string CustomLayoutPath => Path.Combine(Global.devicesLayout.customLayoutsPath, LayoutTypeDir, SelectedLayout + ".json"); + + } + public class MouseConfig : DeviceConfig + { + public override string LayoutTypeDir => "Mouse"; + + public MouseConfig(DeviceConfig config) : base(config) + { + Type = 1; + } + } + + public class KeyboardConfig : DeviceConfig + { + public KeyboardPhysicalLayout SelectedKeyboardLayout = KeyboardPhysicalLayout.ANSI; + + public override string LayoutTypeDir => "Keyboard"; + public KeyboardConfig(DeviceConfig config) : base(config) + { + if (config is KeyboardConfig keyboardConfig) + SelectedKeyboardLayout = keyboardConfig.SelectedKeyboardLayout; + else + SelectedKeyboardLayout = GetSystemKeyboardCulture(); + Type = 0; + } + + public KeyboardConfig(int viewPort) : base(viewPort) + { + Type = 0; + SelectedKeyboardLayout = GetSystemKeyboardCulture(); + } + private KeyboardConfig() + { + + } + private string ConvertEnumToFileName() + { + switch (SelectedKeyboardLayout) + { + case KeyboardPhysicalLayout.ANSI: + return "ansi_layout"; + case KeyboardPhysicalLayout.ISO: + return "iso_layout"; + case KeyboardPhysicalLayout.ABNT: + return "abnt2_layout"; + case KeyboardPhysicalLayout.JIS: + return "jpn_layout"; + default: + return ""; + } + } + public string PhysicalLayoutPath => Global.devicesLayout.calcLayoutPath("Keyboard\\Plain Keyboard", ConvertEnumToFileName() + ".json"); + [DllImport("user32.dll")] static extern IntPtr GetForegroundWindow(); + [DllImport("user32.dll")] static extern uint GetWindowThreadProcessId(IntPtr hwnd, IntPtr proccess); + [DllImport("user32.dll")] static extern IntPtr GetKeyboardLayout(uint thread); + private CultureInfo GetCurrentKeyboardLayout() + { + try + { + IntPtr foregroundWindow = GetForegroundWindow(); + uint foregroundProcess = GetWindowThreadProcessId(foregroundWindow, IntPtr.Zero); + int keyboardLayout = GetKeyboardLayout(foregroundProcess).ToInt32() & 0xFFFF; + return new CultureInfo(keyboardLayout); + } + catch (Exception _) + { + return new CultureInfo(1033); // Assume English if something went wrong. + } + } + private KeyboardPhysicalLayout GetSystemKeyboardCulture() + { + string culture = GetCurrentKeyboardLayout().Name; + switch (culture) + { + case ("tr-TR"): + return KeyboardPhysicalLayout.ISO; + case ("ja-JP"): + return KeyboardPhysicalLayout.JIS; + case ("de-DE"): + case ("hsb-DE"): + case ("dsb-DE"): + case ("fr-CH"): + case ("de-CH"): + case ("fr-FR"): + case ("br-FR"): + case ("oc-FR"): + case ("co-FR"): + case ("gsw-FR"): + case ("cy-GB"): + case ("gd-GB"): + case ("en-GB"): + case ("da-DK"): + case ("se-SE"): + case ("nb-NO"): + case ("nn-NO"): + case ("nordic"): + return KeyboardPhysicalLayout.ISO; + case ("ru-RU"): + case ("tt-RU"): + case ("ba-RU"): + case ("sah-RU"): + case ("en-US"): + case ("pt-BR"): + case ("dvorak"): + return KeyboardPhysicalLayout.ANSI; + case ("dvorak_int"): + case ("hu-HU"): + case ("it-IT"): + case ("es-AR"): + case ("es-BO"): + case ("es-CL"): + case ("es-CO"): + case ("es-CR"): + case ("es-EC"): + case ("es-MX"): + case ("es-PA"): + case ("es-PY"): + case ("es-PE"): + case ("es-UY"): + case ("es-VE"): + case ("es-419"): + case ("es-ES"): + case ("iso"): + return KeyboardPhysicalLayout.ISO; + case ("ansi"): + return KeyboardPhysicalLayout.ANSI; + default: + return KeyboardPhysicalLayout.ISO; + + } + } + + } + + + + public class DeviceLayoutManager + { + public Dictionary DevicesConfig = new Dictionary(); + + public double Height = 0; + + public double Width = 0; + + public delegate void ConfigChangedEventHandler(DeviceConfig changedConf); + + public event ConfigChangedEventHandler DevicesConfigChanged; + [JsonIgnore] + protected string layoutsPath = System.IO.Path.Combine(Global.ExecutingDirectory, "DeviceLayouts"); + [JsonIgnore] + public string customLayoutsPath = System.IO.Path.Combine(Global.AppDataDirectory, "DeviceLayouts"); + + private string[] deviceDirs = {"Images","Keyboard", "Mouse", "OtherDevices"}; + + public string calcLayoutPath(string LayoutTypeDir, string file) + { + if (File.Exists(Path.Combine(Global.devicesLayout.customLayoutsPath, LayoutTypeDir, file))) + { + return Path.Combine(Global.devicesLayout.customLayoutsPath, LayoutTypeDir, file); + } + return Path.Combine(layoutsPath, LayoutTypeDir, file); + } + + public DeviceLayoutManager() + { + foreach (var item in deviceDirs) + { + var dict = new DirectoryInfo(Path.Combine(customLayoutsPath, item)); + if (!dict.Exists) + dict.Create(); + } + } + private int FindUnusedViewPort(int viewPort = 0) + { + if (DevicesConfig.Where(c => c.Value.Id.ViewPort == viewPort).Any()) + { + return FindUnusedViewPort(viewPort + 1); + } + return viewPort; + } + public void AddNewDeviceLayout() + { + int viewPort = FindUnusedViewPort(); + var devConf = new DeviceConfig(viewPort); + if (devConf.Id.ViewPort == 0) + { + devConf.Type = 0; + devConf.TypeChangeEnabled = false; + } + DevicesConfig[viewPort] = devConf; + DevicesConfigChanged.Invoke(devConf); + Save(); + } + public void RemoveDeviceLayout(DeviceConfig conf) + { + DevicesConfig.Remove((int)conf.Id.ViewPort); + DevicesConfigChanged.Invoke(conf); + Save(); + } + + public void Load() + { + var fileName = "DevicesConfig.json"; + var layoutConfigPath = Path.Combine(Global.AppDataDirectory, fileName); + if (File.Exists(layoutConfigPath)) + { + string devicesConfigContent = File.ReadAllText(layoutConfigPath, Encoding.UTF8); + DeviceLayoutManager manager = JsonConvert.DeserializeObject(devicesConfigContent, new JsonSerializerSettings { ObjectCreationHandling = ObjectCreationHandling.Replace }); + + DevicesConfig = manager?.DevicesConfig ?? new Dictionary(); + + foreach ( var conf in DevicesConfig) + { + //conf.Value.Id.ViewPort = conf.Key; + Global.dev_manager.RegisterViewPort(ref conf.Value.Id, conf.Key); + DevicesConfigChanged.Invoke(conf.Value); + } + + } + } + private void Save() + { + var fileName = "DevicesConfig.json"; + var layoutConfigPath = Path.Combine(Global.AppDataDirectory, fileName); + var content = JsonConvert.SerializeObject(this, Formatting.Indented); + File.WriteAllText(layoutConfigPath, content, Encoding.UTF8); + } + public void LayoutPositionChanged(DeviceConfig config) + { + double baseline_x = double.MaxValue; + double baseline_y = double.MaxValue; + foreach (DeviceConfig dc in DevicesConfig.Values) + { + if (dc.Offset.X < baseline_x) + baseline_x = dc.Offset.X; + + if (dc.Offset.Y < baseline_y) + baseline_y = dc.Offset.Y; + } + foreach (DeviceConfig dc in DevicesConfig.Values) + { + dc.Offset = new Point((int)(dc.Offset.X - baseline_x), (int)(dc.Offset.Y - baseline_y)); + } + + DevicesConfigChanged.Invoke(config); + Save(); + } + + public void SaveConfiguration(DeviceConfig config) + { + + //if (DevicesConfig.SelectMany(dc => dc.Id )) + if (config.Id == null) + + return; + DevicesConfig[(int)config.Id.ViewPort] = config; + //DeviceLayouts.Where(dl => dl.DeviceConfig.Id.ViewPort == config.Id.ViewPort).FirstOrDefault().DeviceConfig = config; + + double baseline_x = double.MaxValue; + double baseline_y = double.MaxValue; + foreach (DeviceConfig dc in DevicesConfig.Values) + { + if (dc.Offset.X < baseline_x) + baseline_x = dc.Offset.X; + + if (dc.Offset.Y < baseline_y) + baseline_y = dc.Offset.Y; + } + foreach (DeviceConfig dc in DevicesConfig.Values) + { + dc.Offset = new Point((int)(dc.Offset.X - baseline_x), (int)(dc.Offset.Y - baseline_y)); + } + + DevicesConfigChanged.Invoke(config); + Save(); + } + public List GetLayoutsForType(AuroraDeviceType type) + { + string customLayouts = Path.Combine(customLayoutsPath, deviceDirs[(int)type+1]); + List FilesName = new List() { "None" }; + if (Directory.Exists(customLayouts)) + { + foreach (var name in Directory.GetFiles(customLayouts)) + { + FilesName.Add(name.Split('\\').Last().Split('.').First()); + } + } + else + { + Directory.CreateDirectory(customLayouts); + } + string layouts = Path.Combine(layoutsPath, deviceDirs[(int)type + 1]); + if (Directory.Exists(layouts)) + { + foreach (var name in Directory.GetFiles(layouts)) + { + string lname = name.Split('\\').Last().Split('.').First(); + if (!FilesName.Where(n => n.Equals(lname)).Any()) + FilesName.Add(lname); + } + } + return FilesName; + } + } +} diff --git a/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Control_DeviceLayout.xaml b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Control_DeviceLayout.xaml new file mode 100644 index 000000000..7174cb93c --- /dev/null +++ b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Control_DeviceLayout.xaml @@ -0,0 +1,57 @@ + + + + + + + + + + + + + + + + No Device selected + Please doubleclick on this box + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Control_DeviceLayout.xaml.cs b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Control_DeviceLayout.xaml.cs new file mode 100644 index 000000000..3fe3345c5 --- /dev/null +++ b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Control_DeviceLayout.xaml.cs @@ -0,0 +1,236 @@ +using System; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Collections.Specialized; +using System.ComponentModel; +using System.IO; +using System.Linq; +using System.Runtime.CompilerServices; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; + +namespace Aurora.Settings.DeviceLayoutViewer +{ + + /// + /// Interaction logic for Control_DeviceLayout.xaml + /// + public partial class Control_DeviceLayout : ItemsControl + { + /*public class Wrap where T : struct + { + public T Value; + + public static implicit operator Wrap(T v) { return new Wrap { Value = v }; } + public static implicit operator T(Wrap w) { return w.Value; } + + public override string ToString() { return Value.ToString(); } + public override int GetHashCode() { return Value.GetHashCode(); } + // TODO other delegating operators/overloads + }*/ + public bool IsUpdateEnabled { get; set; } + + public delegate void LayoutUpdatedEventHandler(object sender); + + public Dictionary KeyboardMap = new Dictionary(); + + public static readonly DependencyProperty DeviceHeightProperty = DependencyProperty.Register("DeviceHeight", typeof(int), typeof(Control_DeviceLayout), new PropertyMetadata(0)); + public int DeviceHeight + { + get { return (int)GetValue(DeviceHeightProperty); } + set { SetValue(DeviceHeightProperty, value); } + } + public static readonly DependencyProperty DeviceWidthProperty = DependencyProperty.Register("DeviceWidth", typeof(int), typeof(Control_DeviceLayout), new PropertyMetadata(0)); + public int DeviceWidth + { + get { return (int)GetValue(DeviceWidthProperty); } + set { SetValue(DeviceWidthProperty, value); } + } + + public ObservableCollection KeycapLayouts { get; } = new ObservableCollection(); + private void HandleChange(object sender, NotifyCollectionChangedEventArgs e) + { + if (e.Action == NotifyCollectionChangedAction.Add || e.Action == NotifyCollectionChangedAction.Replace) + { + foreach (Control_Keycap item in e?.NewItems) + { + item.Config.PropertyChanged += KeycapPositionChanged; + } + } + RenderTransform = new TranslateTransform(DeviceConfig.Offset.X, DeviceConfig.Offset.Y); + } + private void KeycapPositionChanged(object sender, PropertyChangedEventArgs e) + { + if (e.PropertyName == "X" || e.PropertyName == "Y" || e.PropertyName == "Width" || e.PropertyName == "Height") + { + ResizeLayout(); + } + } + public static readonly DependencyProperty BackgroundVisibilityProperty = DependencyProperty.Register("BackgroundVisibility", typeof(bool), typeof(Control_DeviceLayout), new PropertyMetadata(false)); + public bool BackgroundVisibility + { + get { return (bool)GetValue(BackgroundVisibilityProperty); } + set { SetValue(BackgroundVisibilityProperty, value); } + } + + public void ResizeLayout() + { + int i = 0; + KeyboardMap = KeycapLayouts.ToDictionary(k => k.GetKey(), k => i++, new DeviceKey.EqualityComparer()); + int layout_height = 10; + int layout_width = 10; + int offset_x = int.MaxValue; + int offset_y = int.MaxValue; + foreach (Control_Keycap key in KeycapLayouts) + { + var keyConfig = key.Config; + if (keyConfig.Width + keyConfig.X > layout_width) + layout_width = (int)keyConfig.Width + keyConfig.X; + if (keyConfig.X < offset_x) + offset_x = keyConfig.X; + if (keyConfig.Height + keyConfig.Y > layout_height) + layout_height = (int)keyConfig.Height + keyConfig.Y; + if (keyConfig.Y < offset_y) + offset_y = keyConfig.Y; + } + if(offset_x != 0 || offset_y != 0) + { + foreach (Control_Keycap key in KeycapLayouts) + { + key.Config.PropertyChanged -= KeycapPositionChanged; + key.Config.X -= offset_x; + key.Config.Y -= offset_y; + key.Config.PropertyChanged += KeycapPositionChanged; + } + } + //Update size + DeviceWidth = layout_width - offset_x; + DeviceHeight = layout_height - offset_y; + if (KeycapLayouts.Count == 0) + { + this.Width = 450; + this.Height = 200; + } + else + { + this.Width = DeviceWidth; + this.Height = DeviceHeight; + } + UpdateLayout(); + } + + public static readonly DependencyProperty DeviceConfigProperty = DependencyProperty.Register("DeviceConfig", typeof(DeviceConfig), typeof(Control_DeviceLayout)); + + public DeviceConfig DeviceConfig + { + get { return (DeviceConfig)GetValue(DeviceConfigProperty); } + set + { + SetValue(DeviceConfigProperty, value); + //DeviceConfig.ConfigurationChanged += ConfigChanged; + ConfigChanged(); + + } + } + public Control_DeviceLayout() + { + InitializeComponent(); + DataContext = this; + KeycapLayouts.CollectionChanged += HandleChange; + + } + public Control_DeviceLayout(DeviceConfig config) + { + InitializeComponent(); + //device_grid = FindName("device_grid") as Canvas; + if (config.Offset.X < 0 || config.Offset.Y < 0) + config.Offset = new Point(0, 0); + DeviceConfig = config; + + DataContext = this; + KeycapLayouts.CollectionChanged += HandleChange; + + //device_layout = contentPresenter.ContentTemplate; + + + } + + public void ConfigChanged() + { + BackgroundVisibility = DeviceConfig.InvisibleBackgroundEnabled; + DeviceLayout layout = new DeviceLayout(DeviceConfig); + Keys = layout.LoadLayout(); + foreach (var key in Keys) + { + key.Key.DeviceId = DeviceConfig.Id.ViewPort; + } + ResizeLayout(); + } + + private List _Keys = new List(); + public List Keys + { + get { return _Keys; } + set + { + _Keys = value; + + KeycapLayouts.Clear(); + Keys.ForEach(k => KeycapLayouts.Add(new Control_Keycap(k))); + + //DeviceLayoutUpdated?.Invoke(this); + + } + } + public static int PixelToByte(int pixel) + { + return PixelToByte((double)pixel); + } + + public static int PixelToByte(double pixel) + { + return (int)Math.Round(pixel / (double)(Global.Configuration.BitmapAccuracy)); + } + public Dictionary GetBitmap() + { + Dictionary bitmapMap = new Dictionary(); + + foreach (var key in Keys) + { + + double width = key.Width; + double height = key.Height; + double x_offset = DeviceConfig.Offset.X + key.X; + double y_offset = DeviceConfig.Offset.Y + key.Y; + + bitmapMap[key.Key] = new BitmapRectangle(PixelToByte(x_offset), PixelToByte(y_offset), PixelToByte(width), PixelToByte(height)); + + } + return bitmapMap; + + } + public void SetKeyboardColors(Dictionary keylights) + { + if (DeviceConfig.LightingEnabled) + { + foreach (var kvp in keylights) + { + if (KeyboardMap.ContainsKey(kvp.Key)) + { + System.Drawing.Color key_color = kvp.Value; + KeycapLayouts[KeyboardMap[kvp.Key]].SetColor(Utils.ColorUtils.DrawingColorToMediaColor(System.Drawing.Color.FromArgb(255, Utils.ColorUtils.MultiplyColorByScalar(key_color, key_color.A / 255.0D)))); + } + } + } + } + } +} diff --git a/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Control_DeviceLayoutPresenter.xaml b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Control_DeviceLayoutPresenter.xaml new file mode 100644 index 000000000..62501c32d --- /dev/null +++ b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Control_DeviceLayoutPresenter.xaml @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + To enable/disable layout editor right click on this box + + + + + + + + + + + + + + + + + + + + diff --git a/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Control_DeviceLayoutPresenter.xaml.cs b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Control_DeviceLayoutPresenter.xaml.cs new file mode 100644 index 000000000..a81c72100 --- /dev/null +++ b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Control_DeviceLayoutPresenter.xaml.cs @@ -0,0 +1,273 @@ +using Aurora.Controls; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Diagnostics; +using System.Linq; +using System.Text; +using System.Timers; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Collections.ObjectModel; +using System.Collections.Specialized; +using Aurora.Utils; +using CSScriptLibrary; + +namespace Aurora.Settings.DeviceLayoutViewer +{ + + /// + /// Interaction logic for Control_DeviceLayoutPresenter.xaml + /// + public partial class Control_DeviceLayoutPresenter : UserControl + { + //List DeviceLayouts = new List(); + private System.Windows.Point _positionInBlock; + private int ZIndexCounter = 1000; + public List Keycaps => DeviceLayouts.SelectMany(dl => dl.KeycapLayouts).ToList(); + + public static readonly DependencyProperty IsLayoutMoveEnabledProperty = DependencyProperty.Register("IsLayoutMoveEnabled", + typeof(bool), + typeof(Control_DeviceLayoutPresenter), new PropertyMetadata(false)); + + public ObservableCollection DeviceLayouts + { + get; + private set; + } = new ObservableCollection(); + public bool IsLayoutMoveEnabled + { + get { return (bool)GetValue(IsLayoutMoveEnabledProperty); } + set { SetValue(IsLayoutMoveEnabledProperty, value); } + } + + public Control_DeviceLayoutPresenter() + { + InitializeComponent(); + layouts_viewbox.DataContext = this; + + Global.Configuration.PropertyChanged += Configuration_PropertyChanged; + this.keyboard_record_message.Visibility = Visibility.Hidden; + Global.devicesLayout.DevicesConfigChanged += DevicesConfigChanged; + + editor_canvas.Children.Add(new LayerEditor(editor_canvas)); + + Global.devicesLayout.Load(); + Loaded += OnLoad; + //DeviceLayoutNumberChanged(this); + } + + private void OnLoad(object sender, RoutedEventArgs e) + { + UpdateLayoutsPosition(); + } + private void DevicesConfigChanged(DeviceConfig changedConf) + { + var layoutQuery = DeviceLayouts.Where(l => l.DeviceConfig == changedConf); + if (Global.devicesLayout.DevicesConfig.Values.Contains(changedConf)){ + if (layoutQuery.Any()) + { + Control_DeviceLayout layout = layoutQuery.First(); + layout.DeviceConfig = changedConf; + + //Layout_DeviceLayoutUpdated(layout); + UpdateLayoutsPosition(); + } + else + { + Control_DeviceLayout layout = new Control_DeviceLayout(changedConf); + layout.MouseDoubleClick += DeviceLayout_MouseDoubleClick; + layout.MouseDown += DeviceLayout_MouseDown; + layout.MouseMove += DeviceLayout_MouseMove; + layout.MouseUp += DeviceLayout_MouseUp; + Canvas.SetZIndex(layout, ZIndexCounter--); + DeviceLayouts.Add(layout); + UpdateLayoutsPosition(); + } + } + else + { + DeviceLayouts.Remove(layoutQuery.First()); + UpdateLayoutsPosition(); + } + } + + + public void Refresh() + { + var keylights = Global.effengine.GetDevicesColor(); + foreach (Control_DeviceLayout layout in DeviceLayouts) + { + layout.SetKeyboardColors(keylights); + } + + if (Global.key_recorder.IsRecording()) + this.keyboard_record_message.Visibility = Visibility.Visible; + else + this.keyboard_record_message.Visibility = Visibility.Hidden; + } + private void Configuration_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e) + { + if (e.PropertyName.Equals(nameof(Configuration.BitmapAccuracy))) + { + CalculateBitmap(); + } + else if (e.PropertyName.Equals(nameof(Configuration.VirtualkeyboardKeycapType))) + { + DeviceLayouts.Clear(); + Global.devicesLayout.Load(); + } + } + private void AddNewDeviceLayout(object sender, RoutedEventArgs e) + { + Global.devicesLayout.AddNewDeviceLayout(); + } + + private void OpenEnableMenu(object sender, RoutedEventArgs e) + { + MenuItem menuItem = new MenuItem() { Header = "Edit Layout Enabled", IsCheckable = true }; + + Binding binding = new Binding("IsLayoutMoveEnabled") {Source = this, Mode = BindingMode.TwoWay}; + menuItem.SetBinding(MenuItem.IsCheckedProperty, binding); + + ContextMenu cm = new ContextMenu() { PlacementTarget = sender as Button, IsOpen = true }; + cm.Items.Add(menuItem); + } + private void UpdateLayoutsPosition() + { + double current_width = 800; + double current_height = 200; + double baseline_x = double.MaxValue; + double baseline_y = double.MaxValue; + + foreach (FrameworkElement layout in DeviceLayouts) + { + Point offset = layout.TranslatePoint(new Point(0, 0), layout_container); + + if (offset.X < baseline_x) + baseline_x = offset.X; + + if (offset.Y < baseline_y) + baseline_y = offset.Y; + + if (offset.X + layout.Width > current_width) + current_width = offset.X + layout.Width; + + if (offset.Y + layout.Height > current_height) + current_height = offset.Y + layout.Height; + + //layout as Control_DeviceLayout).SaveLayoutPosition(offset); + } + foreach (Control_DeviceLayout layout in DeviceLayouts) + { + //layout.DeviceConfig.Offset = new Point((int)(layout.DeviceConfig.Offset.X - baseline_x), (int)(layout.DeviceConfig.Offset.Y - baseline_y)); + layout.RenderTransform = new TranslateTransform(layout.DeviceConfig.Offset.X, layout.DeviceConfig.Offset.Y); + } + + layout_container.Width = current_width; + layout_container.Height = current_height; + Effects.grid_baseline_x = 0; + Effects.grid_baseline_y = 0; + Effects.grid_width = (float)layout_container.Width; + Effects.grid_height = (float)layout_container.Height; + + layouts_viewbox.MaxWidth = layout_container.Width; + layouts_viewbox.MaxHeight = layout_container.Height; + CalculateBitmap(); + + } + public void CalculateBitmap() + { + Task.Run(() => + { + Dispatcher.Invoke(() => { + var bitmap = new Dictionary(new DeviceKey.EqualityComparer()); + + foreach (Control_DeviceLayout layout in DeviceLayouts) + { + foreach (var b in layout.GetBitmap()) + { + if (!bitmap.ContainsKey(b.Key)) + bitmap.Add(b.Key, b.Value); + } + } + Global.effengine.SetCanvasSize(Control_DeviceLayout.PixelToByte(layout_container.Width) + 1, Control_DeviceLayout.PixelToByte(layout_container.Height) + 1); + Global.effengine.SetBitmapping(bitmap); + }); + }); + } + private void DeviceLayout_MouseDoubleClick(object sender, MouseButtonEventArgs e) + { + if (IsLayoutMoveEnabled) + { + var layout = sender as Control_DeviceLayout; + layout.ReleaseMouseCapture(); + Window_DeviceConfig configWindow = new Window_DeviceConfig(layout); + configWindow.WindowState = WindowState.Normal; + var location = this.PointToScreen(Mouse.GetPosition(this)); + configWindow.Left = location.X - 200; + configWindow.Top = location.Y - 100; + configWindow.Activate(); + configWindow.Show(); + } + + } + private void DeviceLayout_MouseDown(object sender, MouseButtonEventArgs e) + { + var layout = sender as Control_DeviceLayout; + if (e.ClickCount < 2 && IsLayoutMoveEnabled) + { + // when the mouse is down, get the position within the current control. (so the control top/left doesn't move to the mouse position) + _positionInBlock = Mouse.GetPosition(layout); + + // capture the mouse (so the mouse move events are still triggered (even when the mouse is not above the control) + layout.CaptureMouse(); + } + + } + + private void DeviceLayout_MouseMove(object sender, MouseEventArgs e) + { + var layout = sender as Control_DeviceLayout; + // if the mouse is captured. you are moving it. (there is your 'real' boolean) + if (layout.IsMouseCaptured) + { + // get the parent container + var container = VisualTreeHelper.GetParent(layout) as UIElement; + + // get the position within the container + var mousePosition = e.GetPosition(container); + + // move the usercontrol. + layout.RenderTransform = new TranslateTransform(mousePosition.X - _positionInBlock.X, mousePosition.Y - _positionInBlock.Y); + + } + } + + private void DeviceLayout_MouseUp(object sender, MouseButtonEventArgs e) + { + var senderLayout = sender as Control_DeviceLayout; + if (senderLayout.IsMouseCaptured) + { + // release this control. + senderLayout.ReleaseMouseCapture(); + + if (senderLayout.RenderTransform is TranslateTransform layoutTranslate) + { + senderLayout.DeviceConfig.Offset = new Point(layoutTranslate.X, layoutTranslate.Y); + Global.devicesLayout.LayoutPositionChanged(senderLayout.DeviceConfig); + } + + } + } + + } + } diff --git a/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Control_EditKeycapData.xaml b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Control_EditKeycapData.xaml new file mode 100644 index 000000000..b706df8a5 --- /dev/null +++ b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Control_EditKeycapData.xaml @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Control_EditKeycapData.xaml.cs b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Control_EditKeycapData.xaml.cs new file mode 100644 index 000000000..6de1d01a4 --- /dev/null +++ b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Control_EditKeycapData.xaml.cs @@ -0,0 +1,72 @@ +using Aurora.Utils; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Text.RegularExpressions; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace Aurora.Settings.DeviceLayoutViewer +{ + /// + /// Interaction logic for Control_EditKeycapData.xaml + /// + public partial class Control_EditKeycapData : UserControl + { + private bool _isCollapsed; + public bool IsCollapsed + { + get { return _isCollapsed; } + set + { + _isCollapsed = value; + if (_isCollapsed) + keycapData.Visibility = Visibility.Collapsed; + else + keycapData.Visibility = Visibility.Visible; + //LoadDeviceLayout(); + } + } + public Control_EditKeycapData() + { + InitializeComponent(); + Loaded += OnLoad; + IsCollapsed = true; + } + public Control_EditKeycapData(Control_Keycap layout) + { + InitializeComponent(); + Loaded += OnLoad; + DataContext = layout; + IsCollapsed = true; + + } + + void OnLoad(object sender, RoutedEventArgs e) + { + if ((DataContext as Control_Keycap).Config.Tag == -1) + { + GhostKeyLabel.Visibility = Visibility.Visible; + TagTextBox.Visibility = Visibility.Collapsed; + } + } + private void collapseButton_Click(object sender, RoutedEventArgs e) + { + IsCollapsed = !IsCollapsed; + } + private void NumberValidationTextBox(object sender, TextCompositionEventArgs e) + { + Regex regex = new Regex("[^0-9]+"); + e.Handled = regex.IsMatch(e.Text); + } + } +} diff --git a/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Control_Keycap.xaml b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Control_Keycap.xaml new file mode 100644 index 000000000..d1b52b4a3 --- /dev/null +++ b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Control_Keycap.xaml @@ -0,0 +1,12 @@ + + + \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Control_Keycap.xaml.cs b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Control_Keycap.xaml.cs new file mode 100644 index 000000000..fbcc666ec --- /dev/null +++ b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Control_Keycap.xaml.cs @@ -0,0 +1,128 @@ +using Aurora.Devices; +using Aurora.Settings.DeviceLayoutViewer.Keycaps; +using Aurora.Utils; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace Aurora.Settings.DeviceLayoutViewer +{ + public class Control_KeycapModel : ViewModelBase + { + + private KeycapViewer _keycap; + public KeycapViewer Keycap + { + get { return _keycap; } + set + { + _keycap = value; + this.OnPropertyChanged(nameof(Keycap)); + //keycap.GetBindingExpression(TextBox.TextProperty).UpdateTarget(); + //OnPropertyChanged(nameof(Config)); + } + } + } + + /// + /// Interaction logic for Control_Keycap.xaml + /// + public partial class Control_Keycap : UserControl + { + private void PositionChanged(object sender, PropertyChangedEventArgs e) + { + if (e.PropertyName == "X" || e.PropertyName == "Y") + { + RenderTransform = new TranslateTransform((sender as DeviceKeyConfiguration).X, (sender as DeviceKeyConfiguration).Y); + } + else if (e.PropertyName == "Image") + { + Keycap = GetKeycapViewer(sender as DeviceKeyConfiguration); + } + else if (e.PropertyName == "VisualName") + { + Keycap = GetKeycapViewer(sender as DeviceKeyConfiguration); + } + } + + public DeviceKeyConfiguration Config => Keycap.Config; + private KeycapViewer _keycap; + public KeycapViewer Keycap + { + get { return _keycap; } + set + { + + //this.RemoveLogicalChild(_keycap); + _keycap = value; + this.Content = _keycap; + RenderTransform = new TranslateTransform(_keycap.Config.X, _keycap.Config.Y); + _keycap.Config.PropertyChanged += PositionChanged; + } + } + + public Control_Keycap() + { + InitializeComponent(); + DataContext = Keycap; + } + private KeycapViewer GetKeycapViewer(DeviceKeyConfiguration conf) + { + if (!string.IsNullOrWhiteSpace(conf.Image)) + return new Control_ImageKeycap(conf); + //Ghost keycap is used for abstract representation of keys + /*if (abstractKeycaps) + return new Control_GhostKeycap(conf, image_path); + else*/ + { + switch (Global.Configuration.VirtualkeyboardKeycapType) + { + case KeycapType.Default_backglow: + return new Control_DefaultKeycapBackglow(conf); + case KeycapType.Default_backglow_only: + return new Control_DefaultKeycapBackglowOnly(conf); + case KeycapType.Colorized: + return new Control_ColorizedKeycap(conf); + case KeycapType.Colorized_blank: + return new Control_ColorizedKeycapBlank(conf); + default: + return new Control_DefaultKeycap(conf); + } + } + } + + public Control_Keycap(DeviceKeyConfiguration key) + { + + InitializeComponent(); + Keycap = GetKeycapViewer(key); + Keycap.UpdateText(); + DataContext = Keycap; + + } + + public DeviceKey GetKey() + { + return Keycap.Config.Key; + } + + public void SetColor(Color key_color, bool isSelected = false) + { + Keycap.SelectKey(isSelected || Global.key_recorder.HasRecorded(GetKey())); + Keycap.SetColor(key_color); + } + + } +} diff --git a/Project-Aurora/Project-Aurora/Settings/Keycaps/Control_ColorizedKeycap.xaml b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Keycaps/Control_ColorizedKeycap.xaml similarity index 56% rename from Project-Aurora/Project-Aurora/Settings/Keycaps/Control_ColorizedKeycap.xaml rename to Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Keycaps/Control_ColorizedKeycap.xaml index c1473f6a9..d18c21ad4 100644 --- a/Project-Aurora/Project-Aurora/Settings/Keycaps/Control_ColorizedKeycap.xaml +++ b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Keycaps/Control_ColorizedKeycap.xaml @@ -1,14 +1,13 @@ - + xmlns:local="clr-namespace:Aurora.Settings.DeviceLayoutViewer.Keycaps" + mc:Ignorable="d" > - + - + diff --git a/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Keycaps/Control_ColorizedKeycap.xaml.cs b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Keycaps/Control_ColorizedKeycap.xaml.cs new file mode 100644 index 000000000..60a6e02e6 --- /dev/null +++ b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Keycaps/Control_ColorizedKeycap.xaml.cs @@ -0,0 +1,85 @@ +using Aurora.Devices; +using Aurora.Utils; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Runtime.InteropServices; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace Aurora.Settings.DeviceLayoutViewer.Keycaps +{ + /// + /// Interaction logic for Control_ColorizedKeycap.xaml + /// + public partial class Control_ColorizedKeycap : KeycapViewer + { + private Color? current_color = null; + private bool state_was_selected = false; + + public Control_ColorizedKeycap() + { + InitializeComponent(); + } + + public Control_ColorizedKeycap(DeviceKeyConfiguration key) : base(key) + { + InitializeComponent(); + + keyBorder.IsEnabled = key.Enabled.Value; + + if (!key.Enabled.Value) + { + ToolTipService.SetShowOnDisabled(keyBorder, true); + keyBorder.ToolTip = new ToolTip { Content = "Changes to this key are not supported" }; + } + + + keyCap.Visibility = Visibility.Visible; + keyCap.Text = Config.Key.VisualName; + //keyCap.Tag = associatedKey.Tag; + if (Config.FontSize != null) + keyCap.FontSize = Config.FontSize.Value; + + } + + public override void SetColor(Color key_color) + { + if (IsSelected) + { + keyBorder.Background = new SolidColorBrush(System.Windows.Media.Color.FromArgb((byte)255, (byte)0, (byte)(Math.Min(Math.Pow(Math.Cos((double)(Utils.Time.GetMilliSeconds() / 1000.0) * Math.PI) + 0.05, 2.0), 1.0) * 255), (byte)0)); + state_was_selected = true; + } + else if (!current_color.Equals(key_color) || state_was_selected) + { + //keyBorder.Background = new SolidColorBrush(Utils.ColorUtils.MultiplyColorByScalar(key_color, 0.6)); + keyBorder.BorderBrush = new SolidColorBrush(key_color); + if (keyBorder.IsEnabled) + { + keyBorder.Background = new SolidColorBrush(Utils.ColorUtils.MultiplyColorByScalar(key_color, 0.6)); + } + else + { + keyBorder.Background = new SolidColorBrush(System.Windows.Media.Color.FromArgb(255, 100, 100, 100)); + keyBorder.BorderThickness = new Thickness(0); + } + current_color = key_color; + state_was_selected = false; + } + } + + public override void UpdateText() + { + UpdateText(keyCap); + } + } +} diff --git a/Project-Aurora/Project-Aurora/Settings/Keycaps/Control_ColorizedKeycapBlank.xaml b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Keycaps/Control_ColorizedKeycapBlank.xaml similarity index 57% rename from Project-Aurora/Project-Aurora/Settings/Keycaps/Control_ColorizedKeycapBlank.xaml rename to Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Keycaps/Control_ColorizedKeycapBlank.xaml index bebf11421..480a54ddb 100644 --- a/Project-Aurora/Project-Aurora/Settings/Keycaps/Control_ColorizedKeycapBlank.xaml +++ b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Keycaps/Control_ColorizedKeycapBlank.xaml @@ -1,14 +1,13 @@ - + xmlns:local="clr-namespace:Aurora.Settings.DeviceLayoutViewer.Keycaps" + mc:Ignorable="d"> - + - + diff --git a/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Keycaps/Control_ColorizedKeycapBlank.xaml.cs b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Keycaps/Control_ColorizedKeycapBlank.xaml.cs new file mode 100644 index 000000000..bf26c5a32 --- /dev/null +++ b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Keycaps/Control_ColorizedKeycapBlank.xaml.cs @@ -0,0 +1,77 @@ +using Aurora.Devices; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace Aurora.Settings.DeviceLayoutViewer.Keycaps +{ + /// + /// Interaction logic for Control_ColorizedKeycapBlank.xaml + /// + public partial class Control_ColorizedKeycapBlank : KeycapViewer + { + private Color current_color = Color.FromArgb(0, 0, 0, 0); + private bool state_was_selected = false; + + public Control_ColorizedKeycapBlank() + { + InitializeComponent(); + } + + public Control_ColorizedKeycapBlank(DeviceKeyConfiguration key) : base(key) + { + InitializeComponent(); + + keyBorder.IsEnabled = key.Enabled.Value; + + if (!key.Enabled.Value) + { + ToolTipService.SetShowOnDisabled(keyBorder, true); + keyBorder.ToolTip = new ToolTip { Content = "Changes to this key are not supported" }; + } + + keyCap.Text = Config.Key.VisualName; + //keyCap.Tag = associatedKey.Tag; + if (Config.FontSize != null) + keyCap.FontSize = Config.FontSize.Value; + } + + public override void SetColor(Color key_color) + { + if (IsSelected) + { + keyBorder.Background = new SolidColorBrush(System.Windows.Media.Color.FromArgb((byte)255, (byte)0, (byte)(Math.Min(Math.Pow(Math.Cos((double)(Utils.Time.GetMilliSeconds() / 1000.0) * Math.PI) + 0.05, 2.0), 1.0) * 255), (byte)0)); + state_was_selected = true; + } + else if (!current_color.Equals(key_color) || state_was_selected) + { + //keyBorder.Background = new SolidColorBrush(Utils.ColorUtils.MultiplyColorByScalar(key_color, 0.6)); + keyBorder.BorderBrush = new SolidColorBrush(key_color); + if (keyBorder.IsEnabled) + { + keyBorder.Background = new SolidColorBrush(Utils.ColorUtils.MultiplyColorByScalar(key_color, 0.6)); + } + else + { + keyBorder.Background = new SolidColorBrush(System.Windows.Media.Color.FromArgb(255, 100, 100, 100)); + keyBorder.BorderThickness = new Thickness(0); + } + current_color = key_color; + state_was_selected = false; + } + } + public override void UpdateText() { } + + } +} diff --git a/Project-Aurora/Project-Aurora/Settings/Keycaps/Control_DefaultKeycap.xaml b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Keycaps/Control_DefaultKeycap.xaml similarity index 56% rename from Project-Aurora/Project-Aurora/Settings/Keycaps/Control_DefaultKeycap.xaml rename to Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Keycaps/Control_DefaultKeycap.xaml index dffde0a28..29c1055d8 100644 --- a/Project-Aurora/Project-Aurora/Settings/Keycaps/Control_DefaultKeycap.xaml +++ b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Keycaps/Control_DefaultKeycap.xaml @@ -1,14 +1,13 @@ - + xmlns:local="clr-namespace:Aurora.Settings.DeviceLayoutViewer.Keycaps" + mc:Ignorable="d"> - + - + diff --git a/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Keycaps/Control_DefaultKeycap.xaml.cs b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Keycaps/Control_DefaultKeycap.xaml.cs new file mode 100644 index 000000000..982fa2814 --- /dev/null +++ b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Keycaps/Control_DefaultKeycap.xaml.cs @@ -0,0 +1,89 @@ +using Aurora.Devices; +using Aurora.Utils; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace Aurora.Settings.DeviceLayoutViewer.Keycaps +{ + /// + /// Interaction logic for Control_DefaultKeycap.xaml + /// + public partial class Control_DefaultKeycap : KeycapViewer + { + private Color current_color = Color.FromArgb(0, 0, 0, 0); + private bool state_was_selected = false; + + public Control_DefaultKeycap() + { + InitializeComponent(); + } + + public Control_DefaultKeycap(DeviceKeyConfiguration key) : base(key) + { + InitializeComponent(); + + + keyBorder.IsEnabled = key.Enabled.Value; + + if (!key.Enabled.Value) + { + ToolTipService.SetShowOnDisabled(keyBorder, true); + keyBorder.ToolTip = new ToolTip { Content = "Changes to this key are not supported" }; + } + keyCap.Visibility = Visibility.Visible; + keyCap.Text = Config.Key.VisualName; + //keyCap.Tag = associatedKey.Tag; + if (Config.FontSize != null) + keyCap.FontSize = Config.FontSize.Value; + } + + public override void SetColor(Color key_color) + { + if (IsSelected) + { + keyBorder.Background = new SolidColorBrush(System.Windows.Media.Color.FromArgb((byte)255, (byte)0, (byte)(Math.Min(Math.Pow(Math.Cos((double)(Utils.Time.GetMilliSeconds() / 1000.0) * Math.PI) + 0.05, 2.0), 1.0) * 255), (byte)0)); + state_was_selected = true; + } + else if (!current_color.Equals(key_color) || state_was_selected) + { + if (keyBorder.IsEnabled) + { + if (string.IsNullOrWhiteSpace(keyCap.Text)) + { + keyBorder.Background = new SolidColorBrush(Utils.ColorUtils.MultiplyColorByScalar(key_color, 0.6)); + keyBorder.BorderBrush = new SolidColorBrush(key_color); + } + else + { + keyBorder.Background = new SolidColorBrush(System.Windows.Media.Color.FromArgb((byte)255, (byte)30, (byte)30, (byte)30)); + keyCap.Foreground = new SolidColorBrush(key_color); + } + } + else + { + keyBorder.Background = new SolidColorBrush(System.Windows.Media.Color.FromArgb(255, 100, 100, 100)); + keyBorder.BorderThickness = new Thickness(0); + } + current_color = key_color; + state_was_selected = false; + } + } + public override void UpdateText() + { + UpdateText(keyCap); + } + + } +} diff --git a/Project-Aurora/Project-Aurora/Settings/Keycaps/Control_DefaultKeycapBackglow.xaml b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Keycaps/Control_DefaultKeycapBackglow.xaml similarity index 77% rename from Project-Aurora/Project-Aurora/Settings/Keycaps/Control_DefaultKeycapBackglow.xaml rename to Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Keycaps/Control_DefaultKeycapBackglow.xaml index e5e63ceb3..5b358cc84 100644 --- a/Project-Aurora/Project-Aurora/Settings/Keycaps/Control_DefaultKeycapBackglow.xaml +++ b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Keycaps/Control_DefaultKeycapBackglow.xaml @@ -1,11 +1,10 @@ - + xmlns:local="clr-namespace:Aurora.Settings.DeviceLayoutViewer.Keycaps" + mc:Ignorable="d"> @@ -16,4 +15,4 @@ - + diff --git a/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Keycaps/Control_DefaultKeycapBackglow.xaml.cs b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Keycaps/Control_DefaultKeycapBackglow.xaml.cs new file mode 100644 index 000000000..eda2373b2 --- /dev/null +++ b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Keycaps/Control_DefaultKeycapBackglow.xaml.cs @@ -0,0 +1,81 @@ +using Aurora.Devices; +using Aurora.Utils; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace Aurora.Settings.DeviceLayoutViewer.Keycaps +{ + /// + /// Interaction logic for Control_DefaultKeycapBackglow.xaml + /// + public partial class Control_DefaultKeycapBackglow : KeycapViewer + { + private Color current_color = Color.FromArgb(0, 0, 0, 0); + private bool state_was_selected = false; + + public Control_DefaultKeycapBackglow() + { + InitializeComponent(); + } + + public Control_DefaultKeycapBackglow(DeviceKeyConfiguration key) : base(key) + { + InitializeComponent(); + + keyBorder.IsEnabled = key.Enabled.Value; + + if (!key.Enabled.Value) + { + ToolTipService.SetShowOnDisabled(keyBorder, true); + keyBorder.ToolTip = new ToolTip { Content = "Changes to this key are not supported" }; + } + + keyCap.Visibility = Visibility.Visible; + keyCap.Text = Config.Key.VisualName; + //keyCap.Tag = associatedKey.Tag; + if (Config.FontSize != null) + keyCap.FontSize = Config.FontSize.Value; + } + + public override void SetColor(Color key_color) + { + if (IsSelected) + { + keyBorder.Background = new SolidColorBrush(System.Windows.Media.Color.FromArgb((byte)255, (byte)0, (byte)(Math.Min(Math.Pow(Math.Cos((double)(Utils.Time.GetMilliSeconds() / 1000.0) * Math.PI) + 0.05, 2.0), 1.0) * 255), (byte)0)); + state_was_selected = true; + } + else if (!current_color.Equals(key_color) || state_was_selected) + { + keyCap.Foreground = new SolidColorBrush(key_color); + grid_backglow.Background = new SolidColorBrush(key_color); + if (keyBorder.IsEnabled) + { + keyBorder.Background = new SolidColorBrush(System.Windows.Media.Color.FromArgb((byte)255, (byte)30, (byte)30, (byte)30)); + } + else + { + keyBorder.Background = new SolidColorBrush(System.Windows.Media.Color.FromArgb(255, 100, 100, 100)); + keyBorder.BorderThickness = new Thickness(0); + } + current_color = key_color; + state_was_selected = false; + } + } + public override void UpdateText() + { + UpdateText(keyCap); + } + } +} diff --git a/Project-Aurora/Project-Aurora/Settings/Keycaps/Control_DefaultKeycapBackglowOnly.xaml b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Keycaps/Control_DefaultKeycapBackglowOnly.xaml similarity index 77% rename from Project-Aurora/Project-Aurora/Settings/Keycaps/Control_DefaultKeycapBackglowOnly.xaml rename to Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Keycaps/Control_DefaultKeycapBackglowOnly.xaml index 4ea9f3df0..8a8547bee 100644 --- a/Project-Aurora/Project-Aurora/Settings/Keycaps/Control_DefaultKeycapBackglowOnly.xaml +++ b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Keycaps/Control_DefaultKeycapBackglowOnly.xaml @@ -1,11 +1,10 @@ - + xmlns:local="clr-namespace:Aurora.Settings.DeviceLayoutViewer.Keycaps" + mc:Ignorable="d"> @@ -16,4 +15,4 @@ - + diff --git a/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Keycaps/Control_DefaultKeycapBackglowOnly.xaml.cs b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Keycaps/Control_DefaultKeycapBackglowOnly.xaml.cs new file mode 100644 index 000000000..70e0b3ac4 --- /dev/null +++ b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Keycaps/Control_DefaultKeycapBackglowOnly.xaml.cs @@ -0,0 +1,81 @@ +using Aurora.Devices; +using Aurora.Utils; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace Aurora.Settings.DeviceLayoutViewer.Keycaps +{ + /// + /// Interaction logic for Control_DefaultKeycapBackglowOnly.xaml + /// + public partial class Control_DefaultKeycapBackglowOnly : KeycapViewer + { + private Color current_color = Color.FromArgb(0, 0, 0, 0); + private bool state_was_selected = false; + + public Control_DefaultKeycapBackglowOnly() + { + InitializeComponent(); + } + + public Control_DefaultKeycapBackglowOnly(DeviceKeyConfiguration key) : base(key) + { + InitializeComponent(); + + + keyBorder.IsEnabled = key.Enabled.Value; + + if (!key.Enabled.Value) + { + ToolTipService.SetShowOnDisabled(keyBorder, true); + keyBorder.ToolTip = new ToolTip { Content = "Changes to this key are not supported" }; + } + + keyCap.Text = Config.Key.VisualName; + //keyCap.Tag = associatedKey.Tag; + if (Config.FontSize != null) + keyCap.FontSize = Config.FontSize.Value; + + } + public override void SetColor(Color key_color) + { + if (IsSelected) + { + keyBorder.Background = new SolidColorBrush(System.Windows.Media.Color.FromArgb((byte)255, (byte)0, (byte)(Math.Min(Math.Pow(Math.Cos((double)(Utils.Time.GetMilliSeconds() / 1000.0) * Math.PI) + 0.05, 2.0), 1.0) * 255), (byte)0)); + state_was_selected = true; + } + else if (!current_color.Equals(key_color) || state_was_selected) + { + grid_backglow.Background = new SolidColorBrush(key_color); + if (keyBorder.IsEnabled) + { + keyBorder.Background = new SolidColorBrush(System.Windows.Media.Color.FromArgb((byte)255, (byte)30, (byte)30, (byte)30)); + } + else + { + keyBorder.Background = new SolidColorBrush(System.Windows.Media.Color.FromArgb(255, 100, 100, 100)); + keyBorder.BorderThickness = new Thickness(0); + } + current_color = key_color; + state_was_selected = false; + } + } + public override void UpdateText() + { + UpdateText(keyCap); + } + + } +} diff --git a/Project-Aurora/Project-Aurora/Settings/Keycaps/Control_GhostKeycap.xaml b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Keycaps/Control_GhostKeycap.xaml similarity index 74% rename from Project-Aurora/Project-Aurora/Settings/Keycaps/Control_GhostKeycap.xaml rename to Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Keycaps/Control_GhostKeycap.xaml index 7206ec239..86812e304 100644 --- a/Project-Aurora/Project-Aurora/Settings/Keycaps/Control_GhostKeycap.xaml +++ b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Keycaps/Control_GhostKeycap.xaml @@ -1,14 +1,13 @@ - + xmlns:local="clr-namespace:Aurora.Settings.DeviceLayoutViewer.Keycaps" + mc:Ignorable="d"> - + diff --git a/Project-Aurora/Project-Aurora/Settings/Keycaps/Control_GhostKeycap.xaml.cs b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Keycaps/Control_GhostKeycap.xaml.cs similarity index 74% rename from Project-Aurora/Project-Aurora/Settings/Keycaps/Control_GhostKeycap.xaml.cs rename to Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Keycaps/Control_GhostKeycap.xaml.cs index ad540c0ae..e1c4ad0bd 100644 --- a/Project-Aurora/Project-Aurora/Settings/Keycaps/Control_GhostKeycap.xaml.cs +++ b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Keycaps/Control_GhostKeycap.xaml.cs @@ -14,16 +14,17 @@ using System.Windows.Navigation; using System.Windows.Shapes; -namespace Aurora.Settings.Keycaps +namespace Aurora.Settings.DeviceLayoutViewer.Keycaps { /// /// Interaction logic for Control_GhostKeycap.xaml /// - public partial class Control_GhostKeycap : UserControl, IKeycap + public partial class Control_GhostKeycap : KeycapViewer { private Color current_color = Color.FromArgb(0, 0, 0, 0); private Devices.DeviceKeys associatedKey = DeviceKeys.NONE; private bool isImage = false; + private bool state_was_selected = false; public Control_GhostKeycap() { @@ -84,29 +85,22 @@ public Control_GhostKeycap(KeyboardKey key, string image_path) } } - public DeviceKeys GetKey() - { - return associatedKey; - } - - public void SetColor(Color key_color) + public override void SetColor(Color key_color) { key_color = Color.FromArgb(255, 255, 255, 255); //No colors allowed! - if (!current_color.Equals(key_color)) + if (IsSelected) + { + keyBorder.Background = new SolidColorBrush(System.Windows.Media.Color.FromArgb((byte)255, (byte)0, (byte)(Math.Min(Math.Pow(Math.Cos((double)(Utils.Time.GetMilliSeconds() / 1000.0) * Math.PI) + 0.05, 2.0), 1.0) * 255), (byte)0)); + state_was_selected = true; + } + else if (!current_color.Equals(key_color) || state_was_selected) { if (isImage) { if (associatedKey != DeviceKeys.NONE) keyBorder.Background = new SolidColorBrush(key_color); } - current_color = key_color; - } - - if (Global.key_recorder.HasRecorded(associatedKey)) - keyBorder.Background = new SolidColorBrush(System.Windows.Media.Color.FromArgb((byte)255, (byte)0, (byte)(Math.Min(Math.Pow(Math.Cos((double)(Utils.Time.GetMilliSeconds() / 1000.0) * Math.PI) + 0.05, 2.0), 1.0) * 255), (byte)0)); - else - { if (keyBorder.IsEnabled) { if (isImage) @@ -119,38 +113,10 @@ public void SetColor(Color key_color) keyBorder.Background = new SolidColorBrush(System.Windows.Media.Color.FromArgb(255, 100, 100, 100)); keyBorder.BorderThickness = new Thickness(0); } + current_color = key_color; + state_was_selected = false; } } - - private void keyBorder_MouseDown(object sender, MouseButtonEventArgs e) - { - if (sender is Border) - virtualkeyboard_key_selected(associatedKey); - } - - private void keyBorder_MouseMove(object sender, MouseEventArgs e) - { - } - - private void virtualkeyboard_key_selected(Devices.DeviceKeys key) - { - if (key != DeviceKeys.NONE) - { - if (Global.key_recorder.HasRecorded(key)) - Global.key_recorder.RemoveKey(key); - else - Global.key_recorder.AddKey(key); - } - } - - private void keyBorder_MouseLeave(object sender, MouseEventArgs e) - { - } - - private void keyBorder_MouseEnter(object sender, MouseEventArgs e) - { - if (e.LeftButton == MouseButtonState.Pressed && sender is Border) - virtualkeyboard_key_selected(associatedKey); - } + public override void UpdateText() { } } } diff --git a/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Keycaps/Control_ImageKeycap.xaml b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Keycaps/Control_ImageKeycap.xaml new file mode 100644 index 000000000..5326dc919 --- /dev/null +++ b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Keycaps/Control_ImageKeycap.xaml @@ -0,0 +1,11 @@ + + + + + diff --git a/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Keycaps/Control_ImageKeycap.xaml.cs b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Keycaps/Control_ImageKeycap.xaml.cs new file mode 100644 index 000000000..2993bfe26 --- /dev/null +++ b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Keycaps/Control_ImageKeycap.xaml.cs @@ -0,0 +1,87 @@ +using Aurora.Devices; +using Aurora.Utils; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Runtime.InteropServices; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace Aurora.Settings.DeviceLayoutViewer.Keycaps +{ + /// + /// Interaction logic for Control_ColorizedKeycap.xaml + /// + public partial class Control_ImageKeycap : KeycapViewer + { + private Color? current_color = null; + + public Control_ImageKeycap() + { + InitializeComponent(); + } + + public Control_ImageKeycap(DeviceKeyConfiguration key) : base(key) + { + InitializeComponent(); + + string image_path = Global.devicesLayout.calcLayoutPath("Images", Config.Image); + + keyBorder.IsEnabled = key.Enabled.Value; + + if (!key.Enabled.Value) + { + ToolTipService.SetShowOnDisabled(keyBorder, true); + keyBorder.ToolTip = new ToolTip { Content = "Changes to this key are not supported" }; + } + + if (System.IO.File.Exists(image_path)) + { + var memStream = new System.IO.MemoryStream(System.IO.File.ReadAllBytes(image_path)); + BitmapImage image = new BitmapImage(); + image.BeginInit(); + image.StreamSource = memStream; + image.EndInit(); + + if (key.Tag == (int)DeviceKeys.NONE) + keyBorder.Background = new ImageBrush(image); + else + { + keyBorder.Background = new SolidColorBrush(System.Windows.Media.Color.FromArgb(255, 0, 0, 0)); + keyBorder.OpacityMask = new ImageBrush(image); + } + + } + } + + override public void SetColor(Color key_color) + { + //Static image + if (GetKey() == DeviceKeys.NONE) + return; + + if (current_color == null || !key_color.Equals(current_color)) + { + keyBorder.Background = new SolidColorBrush(key_color); + current_color = key_color; + } + + if (IsSelected) + { + keyBorder.Background = new SolidColorBrush(System.Windows.Media.Color.FromArgb((byte)255, (byte)0, (byte)(Math.Min(Math.Pow(Math.Cos((double)(Utils.Time.GetMilliSeconds() / 1000.0) * Math.PI) + 0.05, 2.0), 1.0) * 255), (byte)0)); + current_color = null; + } + + } + public override void UpdateText() {} + } +} diff --git a/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Keycaps/KeycapViewer.cs b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Keycaps/KeycapViewer.cs new file mode 100644 index 000000000..237decbfa --- /dev/null +++ b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Keycaps/KeycapViewer.cs @@ -0,0 +1,100 @@ +using Aurora.Utils; +using System; +using System.Collections.Generic; + +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Controls; +using System.Windows.Input; +using System.Windows.Media; + +namespace Aurora.Settings.DeviceLayoutViewer.Keycaps +{ + public abstract class KeycapViewer : UserControl + { + + private DeviceKeyConfiguration _config = new DeviceKeyConfiguration(); + public DeviceKeyConfiguration Config + { + get { return _config; } + set + { + _config = value; + + //OnPropertyChanged(new DependencyPropertyChangedEventArgs(oldValue)); + //_config.PropertyChanged += PositionChanged; + + //OnPropertyChanged(nameof(Config)); + } + } + public KeycapViewer() + { + } + public KeycapViewer(DeviceKeyConfiguration conf) + { + Config = conf; + } + public abstract void SetColor(Color key_color); + public virtual DeviceKey GetKey() { return Config.Key; } + + protected bool IsSelected = false; + + public void SelectKey(bool isSelected) + { + IsSelected = isSelected; + } + public abstract void UpdateText(); + protected void UpdateText(TextBlock keycapName) + { + if (Config.VisualNameUpdateEnabled) + { + + //if (keyCap.Text.Length > 1) + // return; + + StringBuilder sb = new StringBuilder(2); + var scan_code = KeyUtils.GetScanCode((Devices.DeviceKeys)Config.Key.Tag); + if (scan_code == -1) + return; + /*var key = KeyUtils.GetFormsKey((KeyboardKeys)associatedKey.LedID); + var scan_code = KeyUtils.MapVirtualKeyEx((uint)key, KeyUtils.MapVirtualKeyMapTypes.MapvkVkToVsc, (IntPtr)0x8090809);*/ + + int ret = KeyUtils.GetKeyNameTextW((uint)scan_code << 16, sb, 2); + keycapName.Text = sb.ToString().ToUpper(); + } + } + protected void keyBorder_MouseDown(object sender, MouseButtonEventArgs e) + { + if (sender is Border) + virtualkeyboard_key_selected(GetKey()); + } + + protected void keyBorder_MouseMove(object sender, MouseEventArgs e) + { + } + + protected void virtualkeyboard_key_selected(DeviceKey key) + { + if (key.Tag != (int)Devices.DeviceKeys.NONE) + { + if (Global.key_recorder.HasRecorded(key)) + Global.key_recorder.RemoveKey(key); + else + Global.key_recorder.AddKey(key); + } + } + + protected void keyBorder_MouseLeave(object sender, MouseEventArgs e) + { + } + + protected void keyBorder_MouseEnter(object sender, MouseEventArgs e) + { + if (e.LeftButton == MouseButtonState.Pressed && sender is Border) + virtualkeyboard_key_selected(GetKey()); + + + } + } +} diff --git a/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/ViewModelBase .cs b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/ViewModelBase .cs new file mode 100644 index 000000000..048857230 --- /dev/null +++ b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/ViewModelBase .cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Aurora.Settings.DeviceLayoutViewer +{ + public abstract class ViewModelBase : INotifyPropertyChanged + { + public event PropertyChangedEventHandler PropertyChanged; + + protected void OnPropertyChanged(string propertyName) + { + this.OnPropertyChanged(new PropertyChangedEventArgs(propertyName)); + } + + protected virtual void OnPropertyChanged(PropertyChangedEventArgs e) + { + var handler = this.PropertyChanged; + if (handler != null) + { + handler(this, e); + } + } + } +} diff --git a/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Window_DeviceConfig.xaml b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Window_DeviceConfig.xaml new file mode 100644 index 000000000..f84df04ad --- /dev/null +++ b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Window_DeviceConfig.xaml @@ -0,0 +1,129 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Window_DeviceConfig.xaml.cs b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Window_DeviceConfig.xaml.cs new file mode 100644 index 000000000..82c7fa57a --- /dev/null +++ b/Project-Aurora/Project-Aurora/Settings/DeviceLayoutViewer/Window_DeviceConfig.xaml.cs @@ -0,0 +1,461 @@ +using System; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Collections.Specialized; +using System.ComponentModel; +using System.IO; +using System.Linq; +using System.Text; +using System.Text.RegularExpressions; +using System.Threading; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; + +namespace Aurora.Settings.DeviceLayoutViewer +{ + /// + /// Interaction logic for Window_DeviceConfig.xaml + /// + public partial class Window_DeviceConfig : Window + { + private Control_DeviceLayout originalDeviceLayout; + private CancellationTokenSource tokenSource = new CancellationTokenSource(); + public DeviceConfig Config => deviceLayout.DeviceConfig; + + public bool DeleteDevice = false; + private System.Windows.Point _positionInBlock; + + private bool isHorizontal = true; + private bool isPlus = true; + + // private Control_Keycap SelectedKey; + + public ObservableCollection KeycapCollection + { + get => (ObservableCollection)GetValue(KeycapCollectionProperty); + set => SetValue(KeycapCollectionProperty, value); + } + + public static readonly DependencyProperty KeycapCollectionProperty = + DependencyProperty.Register("KeycapCollection", typeof(ObservableCollection), typeof(Control_LayerList), new PropertyMetadata(null)); + + public Control_Keycap SelectedKeycap + { + get => (Control_Keycap)GetValue(SelectedKeycapProperty); + set => SetValue(SelectedKeycapProperty, value); + } + + public static readonly DependencyProperty SelectedKeycapProperty = + DependencyProperty.Register("SelectedKeycap", typeof(Control_Keycap), typeof(Control_LayerList), new PropertyMetadata(null, SelectedKeycapPropertyChanged)); + + private static void SelectedKeycapPropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e) + { + + // if (e.NewValue is Control_Keycap layer) + // layer.SetProfile(((Control_LayerList)sender).FocusedApplication); + if (sender is ListBox listView) + { + if (listView.SelectedItem is Control_Keycap key) + { + + } + } + } + public Window_DeviceConfig(Control_DeviceLayout config) + { + InitializeComponent(); + originalDeviceLayout = config; + deviceLayout.DeviceConfig = config.DeviceConfig; + + KeycapCollection = deviceLayout.KeycapLayouts;//.CollectionChanged += HandleChange; + KeycapCollection.CollectionChanged += HandleChange; + deviceLayout.ConfigChanged(); + /* foreach (var keycap in KeycapCollection) + { + keycap.MouseDown += KeyMouseDown; + keycap.MouseMove += KeyMouseMove; + keycap.MouseUp += KeyMouseUp; + }*/ + + LoadDeviceType(Config.Type); + var deviceIdList = Global.dev_manager.IndividualDevices.Where(d => d.id.ViewPort == null).Select(d => d.id).ToList(); + deviceIdList.Insert(0, new Devices.UniqueDeviceId()); + int selectedIndex = int.MaxValue; + for (int i = 0; i < deviceIdList.Count; i++) + { + if (deviceIdList[i] == Config.Id) + selectedIndex = i; + } + if (selectedIndex == int.MaxValue) + { + deviceIdList.Insert(0, Config.Id); + selectedIndex = 0; + } + + this.device_view.ItemsSource = deviceIdList; + this.device_view.SelectedIndex = selectedIndex; + + this.device_type.ItemsSource = new string[3]{"Keyboard", "Mouse", "Other Devices"}; + this.device_type.IsEnabled = Config.TypeChangeEnabled; + + this.device_layout.SelectedItem = Config.SelectedLayout; + + layoutName.Text = Config.SelectedLayout; + if (Config is KeyboardConfig keyboardConfig) + this.keyboard_layout.SelectedValue = keyboardConfig.SelectedKeyboardLayout; + this.devices_disable_lighting.IsChecked = !Config.LightingEnabled; + this.device_invisible_background.IsChecked = Config.InvisibleBackgroundEnabled; + DataContext = this; + + this.KeyDown += OnKeyDownHandler; + Task.Run(() => UpdateKeysThread(tokenSource.Token)); + } + private void HandleChange(object sender, NotifyCollectionChangedEventArgs e) + { + if (e.Action == NotifyCollectionChangedAction.Replace || e.Action == NotifyCollectionChangedAction.Add) + { + foreach (Control_Keycap key in e.NewItems) + { + //keycap_list.Items.Clear(); + key.MouseDown += KeyMouseDown; + key.MouseMove += KeyMouseMove; + key.MouseUp += KeyMouseUp; + + } + } + } + private void LoadDeviceType(int type) + { + switch (type) + { + case 0: + this.device_type.SelectedItem = "Keyboard"; + this.device_layout.ItemsSource = Global.devicesLayout.GetLayoutsForType(Devices.AuroraDeviceType.Keyboard); + this.keyboard_layout.Visibility = Visibility.Visible; + this.keyboard_layout_tb.Visibility = Visibility.Visible; + deviceLayout.DeviceConfig = new KeyboardConfig(Config); + this.keyboard_layout.SelectedItem = (Config as KeyboardConfig).SelectedKeyboardLayout; + break; + case 1: + this.device_type.SelectedItem = "Mouse"; + this.device_layout.ItemsSource = Global.devicesLayout.GetLayoutsForType(Devices.AuroraDeviceType.Mouse); + this.keyboard_layout.Visibility = Visibility.Collapsed; + this.keyboard_layout_tb.Visibility = Visibility.Collapsed; + Config.Type = 1; + deviceLayout.DeviceConfig = new MouseConfig(Config); + break; + default: + Config.Type = 2; + this.device_type.SelectedItem = "Other Devices"; + this.device_layout.ItemsSource = Global.devicesLayout.GetLayoutsForType(Devices.AuroraDeviceType.Unkown); + this.keyboard_layout.Visibility = Visibility.Collapsed; + this.keyboard_layout_tb.Visibility = Visibility.Collapsed; + deviceLayout.DeviceConfig = new DeviceConfig(Config); + break; + } + } + + private void device_view_SelectionChanged(object sender, SelectionChangedEventArgs e) + { + if (IsLoaded) + { + var selectedDeviceId = (Devices.UniqueDeviceId)this.device_view.SelectedItem; + Global.dev_manager.RegisterViewPort(ref selectedDeviceId, (int)Config.Id.ViewPort); + Config.Id = selectedDeviceId; + deviceLayout.ConfigChanged(); + } + } + private void device_type_SelectionChanged(object sender, SelectionChangedEventArgs e) + { + if (IsLoaded) + { + Config.Type = this.device_type.SelectedIndex; + LoadDeviceType(Config.Type); + } + } + private void device_layout_SelectionChanged(object sender, SelectionChangedEventArgs e) + { + if (IsLoaded) + { + if (device_layout.SelectedItem is null) device_layout.SelectedItem = "None"; + Config.SelectedLayout = device_layout.SelectedItem?.ToString(); + deviceLayout.ConfigChanged(); + layoutName.Text = device_layout.SelectedItem.ToString(); + + } + } + private void keyboard_layout_SelectionChanged(object sender, SelectionChangedEventArgs e) + { + if (IsLoaded && Config is KeyboardConfig keyboardConfig) + { + keyboardConfig.SelectedKeyboardLayout = (KeyboardPhysicalLayout)keyboard_layout.SelectedValue; + deviceLayout.ConfigChanged(); + } + } + private void device_disable_lighting_Checked(object sender, RoutedEventArgs e) + { + if (IsLoaded && sender is CheckBox checkBox) + { + Config.LightingEnabled = (checkBox.IsChecked.HasValue) ? !checkBox.IsChecked.Value : true; + } + //deviceLayout = new Control_DeviceLayout(Config); + } + private void device_invisible_background_Checked(object sender, RoutedEventArgs e) + { + if (IsLoaded && sender is CheckBox checkBox) + { + Config.InvisibleBackgroundEnabled = (checkBox.IsChecked.HasValue) ? checkBox.IsChecked.Value : true; + } + } + + private void okButton_Click(object sender, RoutedEventArgs e) + { + Config.Offset = originalDeviceLayout.DeviceConfig.Offset; + originalDeviceLayout.DeviceConfig = Config; + Global.devicesLayout.SaveConfiguration(Config); + tokenSource.Cancel(); + Close(); + } + private void cancelButton_Click(object sender, RoutedEventArgs e) + { + tokenSource.Cancel(); + Close(); + } + private void deviceDelete_Click(object sender, RoutedEventArgs e) + { + if (MessageBox.Show("Are you sure that remove the device layout?", "Question", MessageBoxButton.YesNo, MessageBoxImage.Warning) == MessageBoxResult.Yes) + { + Global.devicesLayout.RemoveDeviceLayout(originalDeviceLayout.DeviceConfig); + tokenSource.Cancel(); + Close(); + } + + } + private void saveLayout_Click(object sender, RoutedEventArgs e) + { + if (MessageBox.Show("Are you sure that save the device layout?", "Question", MessageBoxButton.YesNo, MessageBoxImage.Warning) == MessageBoxResult.Yes) + { + Config.SelectedLayout = layoutName.Text; + var offset = new Point(); + var escIndex= deviceLayout.KeyboardMap.Where(lp => lp.Key == Devices.DeviceKeys.ESC); + if (Config.Type == 0 && escIndex.Any()) + { + var escConfig = deviceLayout.KeycapLayouts[escIndex.First().Value].Config; + offset.X = -escConfig.X; + offset.Y = -escConfig.Y; + } + new DeviceLayout(Config).SaveLayout(deviceLayout.KeycapLayouts.ToList(), offset); + LoadDeviceType(Config.Type); + this.device_layout.SelectedValue = Config.SelectedLayout; + } + + } + private void KeyMouseDown(object sender, MouseButtonEventArgs e) + { + SelectedKeycap = sender as Control_Keycap; + keycap_list.SelectedItem = SelectedKeycap; + + // when the mouse is down, get the position within the current control. (so the control top/left doesn't move to the mouse position) + _positionInBlock = Mouse.GetPosition(sender as UIElement); + + // capture the mouse (so the mouse move events are still triggered (even when the mouse is not above the control) + SelectedKeycap?.CaptureMouse(); + + } + + private void KeyMouseMove(object sender, MouseEventArgs e) + { + // if the mouse is captured. you are moving it. (there is your 'real' boolean) + if ((sender as Control_Keycap).IsMouseCaptured) + { + // get the parent container + var container = VisualTreeHelper.GetParent(sender as UIElement) as UIElement; + + // get the position within the container + var mousePosition = e.GetPosition(container); + + // move the usercontrol. + (sender as Control_Keycap).Keycap.Config.X = (int)(mousePosition.X - _positionInBlock.X); + (sender as Control_Keycap).Keycap.Config.Y = (int)(mousePosition.Y - _positionInBlock.Y); + //keycap_x.Text = ((int)(mousePosition.X - _positionInBlock.X)).ToString(); + //keycap_y.Text = ((int)(mousePosition.Y - _positionInBlock.Y)).ToString(); + } + } + + private void KeyMouseUp(object sender, MouseButtonEventArgs e) + { + // release this control. + (sender as Control_Keycap)?.ReleaseMouseCapture(); + + } + private void OnKeyDownHandler(object sender, KeyEventArgs e) + { + /*if (e.Key == Key.Z && Keyboard.Modifiers == ModifierKeys.Control) + { + MessageBox.Show("CTRL + C Pressed!"); + } + else if (e.Key == Key.Z && (Keyboard.Modifiers & (ModifierKeys.Control | ModifierKeys.Shift)) == (ModifierKeys.Control | ModifierKeys.Shift)) + { + MessageBox.Show("CTRL + Z Pressed!"); + } + if (e.Key == Key.Up) + { + MessageBox.Show("Up Pressed!"); + }*/ + if (e.Key == Key.Delete && SelectedKeycap != null) + { + KeycapCollection.Remove(SelectedKeycap); + } + } + + private void keycap_list_SelectionChanged(object sender, SelectionChangedEventArgs e) + { + if(sender is ListBox listView) + { + if (listView.SelectedItem is Control_Keycap key) + { + SelectedKeycap = key; + } + } + } + private DeviceKey getValidKey(DeviceKey key) + { + var deviceQuery = Global.dev_manager.IndividualDevices.Where(d => d.id == (Devices.UniqueDeviceId)device_view.SelectedItem); + if (deviceQuery.Any()) + { + var deviceKeys = deviceQuery.First().GetAllDeviceKey(); + foreach (var deviceKey in deviceKeys) + { + if (!KeycapCollection.Where(l => l.Config.Tag == deviceKey.Tag).Any()) + { + return deviceKey; + } + } + } + if (KeycapCollection.Where(l => l.Config.Tag == key.Tag).Any()) + { + key.Tag += 1; + return getValidKey(key); + } + return key; + } + private DeviceKeyConfiguration newKeyConfigBase() + { + var keyConf = new DeviceKeyConfiguration(); + keyConf.Height = 30; + keyConf.Width = 30; + keyConf.Tag = 0; + keyConf.VisualName = ""; + int addValue = 7; + if (!isPlus) + addValue = -7; + if (SelectedKeycap != null) + { + keyConf.X = SelectedKeycap.Config.X; + keyConf.Y = SelectedKeycap.Config.Y; + if (isHorizontal) + { + if(isPlus) + keyConf.X += SelectedKeycap.Config.Width + 7; + else + keyConf.X -= SelectedKeycap.Config.Width + 7; + } + else + { + if (isPlus) + keyConf.Y += SelectedKeycap.Config.Height + 7; + else + keyConf.Y -= SelectedKeycap.Config.Height + 7; + + } + keyConf.Height = (int)SelectedKeycap.Height; + keyConf.Width = (int)SelectedKeycap.Width; ; + keyConf.Tag = SelectedKeycap.Config.Tag + 1; + keyConf.VisualName = SelectedKeycap.Config.VisualName; + } + return keyConf; + } + private void addKey_Click(object sender, RoutedEventArgs e) + { + var keyConf = newKeyConfigBase(); + keyConf.Key = getValidKey(keyConf.Key); + var keycap = new Control_Keycap(keyConf); + keycap.MouseDown += KeyMouseDown; + keycap.MouseMove += KeyMouseMove; + keycap.MouseUp += KeyMouseUp; + keycap.UpdateLayout(); + SelectedKeycap = keycap; + deviceLayout.KeycapLayouts.Add(keycap); + } + private void addGhostKey_Click(object sender, RoutedEventArgs e) + { + var keyConf = newKeyConfigBase(); + keyConf.Tag = -1; + var keycap = new Control_Keycap(keyConf); + keycap.MouseDown += KeyMouseDown; + keycap.MouseMove += KeyMouseMove; + keycap.MouseUp += KeyMouseUp; + keycap.UpdateLayout(); + SelectedKeycap = keycap; + deviceLayout.KeycapLayouts.Add(keycap); + } + private void removeKey_Click(object sender, RoutedEventArgs e) + { + if (SelectedKeycap != null) + { + deviceLayout.KeycapLayouts.Remove(SelectedKeycap); + SelectedKeycap = null; + } + } + private void changeNewKey_Click(object sender, RoutedEventArgs e) + { + isHorizontal = !isHorizontal; + if (isHorizontal) + { + (sender as Button).Content = "Horizontal"; + } + else + { + (sender as Button).Content = "Vertical"; + } + } + private void changeNewKeyPosition_Click(object sender, RoutedEventArgs e) + { + isPlus = !isPlus; + if (isPlus) + { + (sender as Button).Content = "Plus"; + } + else + { + (sender as Button).Content = "Minus"; + } + } + private void UpdateKeysThread(CancellationToken token) + { + while (!token.IsCancellationRequested) + { + Dispatcher.Invoke(() => + { + for (int i = 0; i < deviceLayout.KeycapLayouts.Count; i++) + { + deviceLayout.KeycapLayouts[i].SetColor(Color.FromRgb(200, 200, 200), deviceLayout.KeycapLayouts[i] == SelectedKeycap); + } + }); + Thread.Sleep(100); + } + } + + private void enable_layout_preview_Checked(object sender, RoutedEventArgs e) + { + + } + } +} diff --git a/Project-Aurora/Project-Aurora/Settings/KeyRecorder.cs b/Project-Aurora/Project-Aurora/Settings/KeyRecorder.cs index d86603aab..bd1e233bc 100644 --- a/Project-Aurora/Project-Aurora/Settings/KeyRecorder.cs +++ b/Project-Aurora/Project-Aurora/Settings/KeyRecorder.cs @@ -15,8 +15,8 @@ public sealed class KeyRecorder : IDisposable private readonly InputEvents inputEvents; private String recordingType = ""; private bool isSingleKey = false; - private List recordedKeys = new List(); - public delegate void RecordingFinishedHandler(DeviceKeys[] resulting_keys); + private List recordedKeys = new List(); + public delegate void RecordingFinishedHandler(DeviceKey[] resulting_keys); public event RecordingFinishedHandler FinishedRecording; public KeyRecorder(InputEvents inputEvents) @@ -43,7 +43,7 @@ private void InputEventsOnKeyUp(object sender, KeyboardInputEventArgs e) } } - public void AddKey(DeviceKeys key) + public void AddKey(DeviceKey key) { if (!IsRecording()) return; @@ -59,7 +59,7 @@ public void AddKey(DeviceKeys key) } } - public void RemoveKey(DeviceKeys key) + public void RemoveKey(DeviceKey key) { if (!IsRecording()) return; @@ -70,12 +70,12 @@ public void RemoveKey(DeviceKeys key) } } - public bool HasRecorded(DeviceKeys key) + public bool HasRecorded(DeviceKey key) { return recordedKeys.Contains(key); } - public DeviceKeys[] GetKeys() + public DeviceKey[] GetKeys() { return recordedKeys.ToArray(); } @@ -120,7 +120,7 @@ public void Reset() { recordingType = ""; isSingleKey = false; - recordedKeys = new List(); + recordedKeys = new List(); } public bool IsSingleKey() diff --git a/Project-Aurora/Project-Aurora/Settings/KeySequence.cs b/Project-Aurora/Project-Aurora/Settings/KeySequence.cs index fd951148a..a6c4cc330 100644 --- a/Project-Aurora/Project-Aurora/Settings/KeySequence.cs +++ b/Project-Aurora/Project-Aurora/Settings/KeySequence.cs @@ -30,7 +30,7 @@ public class KeySequence : ICloneable /// /// An array of DeviceKeys keys to be used with KeySequenceType.Sequence type. /// - public List keys; + public List keys; /// /// The type of this KeySequence instance. @@ -44,28 +44,28 @@ public class KeySequence : ICloneable public KeySequence() { - keys = new List(); + keys = new List(); type = KeySequenceType.Sequence; freeform = new FreeFormObject(); } public KeySequence(KeySequence otherKeysequence) { - this.keys = new List(otherKeysequence.keys); + this.keys = new List(otherKeysequence.keys); type = otherKeysequence.type; this.freeform = otherKeysequence.freeform; } public KeySequence(FreeFormObject freeform) { - this.keys = new List(); + this.keys = new List(); type = KeySequenceType.FreeForm; this.freeform = freeform; } - public KeySequence(Devices.DeviceKeys[] keys) + public KeySequence(DeviceKey[] keys) { - this.keys = new List(keys); + this.keys = new List(keys); type = KeySequenceType.Sequence; freeform = new FreeFormObject(); } @@ -83,7 +83,7 @@ public RectangleF GetAffectedRegion() float right = top; float bottom = right; - foreach(Devices.DeviceKeys key in this.keys) + foreach(DeviceKey key in this.keys) { BitmapRectangle keyMapping = Effects.GetBitmappingFromDeviceKey(key); @@ -125,7 +125,7 @@ public bool Equals(KeySequence p) if (ReferenceEquals(null, p)) return false; if (ReferenceEquals(this, p)) return true; - return (new HashSet(keys).SetEquals(p.keys)) && + return (new HashSet(keys).SetEquals(p.keys)) && type == p.type && freeform.Equals(p.freeform); } diff --git a/Project-Aurora/Project-Aurora/Settings/KeyboardLayoutManager.cs b/Project-Aurora/Project-Aurora/Settings/KeyboardLayoutManager.cs index 80a9357d8..72060d2cd 100755 --- a/Project-Aurora/Project-Aurora/Settings/KeyboardLayoutManager.cs +++ b/Project-Aurora/Project-Aurora/Settings/KeyboardLayoutManager.cs @@ -11,8 +11,9 @@ using Aurora.Devices; using System.Drawing; using System.Windows.Media.Imaging; -using Aurora.Settings.Keycaps; using System.Windows.Threading; +using System.Globalization; +using Aurora.Settings.DeviceLayoutViewer.Keycaps; namespace Aurora.Settings { @@ -99,12 +100,10 @@ public class VirtualGroup { public string group_tag; - public KeyboardRegion origin_region; + public KeyboardRegion? origin_region; public List grouped_keys = new List(); - public Dictionary KeyText = new Dictionary(); - private RectangleF _region = new RectangleF(0, 0, 0, 0); public RectangleF Region { get { return _region; } } @@ -119,122 +118,49 @@ public VirtualGroup() public VirtualGroup(KeyboardKey[] keys) { - double layout_height = 0; - double layout_width = 0; - double current_height = 0; - double current_width = 0; - - /*int width_bit = 0; - int height_bit = 0; - int width_bit_max = 1; - int height_bit_max = 1;*/ - foreach (var key in keys) { grouped_keys.Add(key); - KeyText.Add(key.tag, key.visualName); - - if (key.width + key.margin_left > 0) - current_width += key.width.Value + key.margin_left.Value; - - if (key.margin_top > 0) - current_height += key.margin_top.Value; - - - if (layout_width < current_width) - layout_width = current_width; - - if (key.line_break.Value) - { - current_height += 37; - current_width = 0; - } - - if (layout_height < current_height) - layout_height = current_height; - - - /*int key_tly = KeyboardLayoutManager.PixelToByte(key.margin_top.Value) + height_bit; - int key_tlx = KeyboardLayoutManager.PixelToByte(key.margin_left.Value) + width_bit; - - int key_bry = key_tly + KeyboardLayoutManager.PixelToByte(key.height.Value); - int key_brx = key_tlx + KeyboardLayoutManager.PixelToByte(key.width.Value); - - if (width_bit_max < key_brx) width_bit_max = key_brx; - if (height_bit_max < key_bry) height_bit_max = key_bry; - - - if (key.line_break.Value) - { - height_bit += KeyboardLayoutManager.PixelToByte(37); - width_bit = 0; - } - else - { - width_bit = key_brx; - height_bit = key_tly; - }*/ - } - - _region.Width = (float)layout_width; - _region.Height = (float)layout_height; - - /*_region_bitmap.Width = width_bit_max; - _region_bitmap.Height = height_bit_max;*/ - + CalculateDimensions(); //NormalizeKeys(); } - public void AddFeature(KeyboardKey[] keys, KeyboardRegion insertion_region = KeyboardRegion.TopLeft) + public void AddFeature(KeyboardKey[] keys, KeyboardRegion? insertion_region = KeyboardRegion.TopLeft) { double location_x = 0.0D; double location_y = 0.0D; - int location_x_bit = 0; - int location_y_bit = 0; if (insertion_region == KeyboardRegion.TopRight) { location_x = _region.Width; - //location_x_bit = _region_bitmap.Width; } else if (insertion_region == KeyboardRegion.BottomLeft) { location_y = _region.Height; - //location_y_bit = _region_bitmap.Height; } else if (insertion_region == KeyboardRegion.BottomRight) { location_x = _region.Width; location_y = _region.Height; - //location_x_bit = _region_bitmap.Width; - //location_y_bit = _region_bitmap.Height; + } float added_width = 0.0f; float added_height = 0.0f; - //int added_width_bits = 0; - //int added_height_bits = 0; foreach (var key in keys) { key.margin_left += location_x; key.margin_top += location_y; - //key.margin_left_bits += location_x_bit; - //key.margin_top_bits += location_y_bit; - grouped_keys.Add(key); - if (KeyText.ContainsKey(key.tag)) - KeyText.Remove(key.tag); - KeyText.Add(key.tag, key.visualName); if (key.width + key.margin_left > _region.Width) _region.Width = (float)(key.width + key.margin_left); else if (key.margin_left + added_width < 0) { added_width = -(float)(key.margin_left); - _region.Width -= (float)(key.margin_left); } if (key.height + key.margin_top > _region.Height) @@ -242,28 +168,11 @@ public void AddFeature(KeyboardKey[] keys, KeyboardRegion insertion_region = Key else if (key.margin_top + added_height < 0) { added_height = -(float)(key.margin_top); - _region.Height -= (float)(key.margin_top); - } - - - /*if (KeyboardLayoutManager.PixelToByte(key.width.Value) + KeyboardLayoutManager.PixelToByte(key.margin_left.Value) > _region_bitmap.Width) - _region_bitmap.Width += KeyboardLayoutManager.PixelToByte(key.width.Value) + KeyboardLayoutManager.PixelToByte(key.margin_left.Value) - location_x_bit; - else if (KeyboardLayoutManager.PixelToByte(key.margin_left.Value) + added_width_bits < 0) - { - added_width_bits = -KeyboardLayoutManager.PixelToByte(key.margin_left.Value); - _region_bitmap.Width -= KeyboardLayoutManager.PixelToByte(key.margin_left.Value); } - if (KeyboardLayoutManager.PixelToByte(key.height.Value) + KeyboardLayoutManager.PixelToByte(key.margin_top.Value) > _region_bitmap.Height) - _region_bitmap.Height += KeyboardLayoutManager.PixelToByte(key.height.Value) + KeyboardLayoutManager.PixelToByte(key.margin_top.Value) - location_y_bit; - else if (KeyboardLayoutManager.PixelToByte(key.margin_top.Value) + added_height_bits < 0) - { - added_height_bits = -KeyboardLayoutManager.PixelToByte(key.margin_top.Value); - _region_bitmap.Height -= KeyboardLayoutManager.PixelToByte(key.margin_top.Value); - }*/ - } - + _region.Width += added_width; + _region.Height += added_height; NormalizeKeys(); } @@ -272,9 +181,6 @@ private void NormalizeKeys() double x_correction = 0.0D; double y_correction = 0.0D; - //int x_correction_bit = 0; - //int y_correction_bit = 0; - foreach (var key in grouped_keys) { if (!key.absolute_location.Value) @@ -285,18 +191,11 @@ private void NormalizeKeys() if (key.margin_top < y_correction) y_correction = key.margin_top.Value; - - /*if (key.margin_left_bits < x_correction_bit) - x_correction_bit = key.margin_left_bits.Value; - - if (key.margin_top_bits < y_correction_bit) - y_correction_bit = key.margin_top_bits.Value;*/ } if (grouped_keys.Count > 0) { grouped_keys[0].margin_top -= y_correction; - //grouped_keys[0].margin_top_bits -= y_correction_bit; bool previous_linebreak = true; foreach (var key in grouped_keys) @@ -305,15 +204,12 @@ private void NormalizeKeys() { key.margin_top -= y_correction; key.margin_left -= x_correction; - /*key.margin_top_bits -= y_correction_bit; - key.margin_left_bits -= x_correction_bit;*/ } else { if (previous_linebreak && !key.line_break.Value) { key.margin_left -= x_correction; - //key.margin_left_bits -= x_correction_bit; } previous_linebreak = key.line_break.Value; @@ -326,7 +222,6 @@ private void NormalizeKeys() public void Clear() { _region = new RectangleF(0, 0, 0, 0); - //_region_bitmap = new Rectangle(0, 0, 0, 0); grouped_keys.Clear(); } @@ -336,14 +231,7 @@ internal void AdjustKeys(Dictionary keys) foreach (var key in applicable_keys) { - KeyboardKey otherKey = keys[key.tag]; - if (key.tag != otherKey.tag) - KeyText.Remove(key.tag); - key.UpdateFromOtherKey(otherKey); - if (KeyText.ContainsKey(key.tag)) - KeyText[key.tag] = key.visualName; - else - KeyText.Add(key.tag, key.visualName); + key.UpdateFromOtherKey(keys[key.tag]); } } @@ -351,18 +239,19 @@ internal void RemoveKeys(DeviceKeys[] keys_to_remove) { var applicable_keys = grouped_keys.RemoveAll(key => keys_to_remove.Contains(key.tag)); + CalculateDimensions(); + + } + private void CalculateDimensions() + { double layout_height = 0; double layout_width = 0; double current_height = 0; double current_width = 0; - /*int width_bit = 0; - int height_bit = 0; - int width_bit_max = 1; - int height_bit_max = 1;*/ - foreach (var key in grouped_keys) { + if (key.width + key.margin_left > 0) current_width += key.width.Value + key.margin_left.Value; @@ -373,7 +262,7 @@ internal void RemoveKeys(DeviceKeys[] keys_to_remove) if (layout_width < current_width) layout_width = current_width; - if (key.line_break.Value) + if (key.line_break ?? false) { current_height += 37; current_width = 0; @@ -382,37 +271,11 @@ internal void RemoveKeys(DeviceKeys[] keys_to_remove) if (layout_height < current_height) layout_height = current_height; - KeyText.Remove(key.tag); - - /*int key_tly = KeyboardLayoutManager.PixelToByte(key.margin_top.Value) + height_bit; - int key_tlx = KeyboardLayoutManager.PixelToByte(key.margin_left.Value) + width_bit; - - int key_bry = key_tly + KeyboardLayoutManager.PixelToByte(key.height.Value); - int key_brx = key_tlx + KeyboardLayoutManager.PixelToByte(key.width.Value); - - if (width_bit_max < key_brx) width_bit_max = key_brx; - if (height_bit_max < key_bry) height_bit_max = key_bry; - - - if (key.line_break.Value) - { - height_bit += 3; - width_bit = 0; - } - else - { - width_bit = key_brx; - height_bit = key_tly; - }*/ } _region.Width = (float)layout_width; _region.Height = (float)layout_height; - - //_region_bitmap.Width = width_bit_max; - //_region_bitmap.Height = height_bit_max; - } } @@ -422,13 +285,16 @@ public class KeyboardLayoutManager private VirtualGroup virtualKeyboardGroup; - private Dictionary _virtualKeyboardMap = new Dictionary(); + private Dictionary _virtualKeyboardMap = new Dictionary(); private bool _virtualKBInvalid = true; private Grid _virtualKeyboard = new Grid(); - public Dictionary KeyText { get { return virtualKeyboardGroup.KeyText; } } + public string GetVisualName(DeviceKeys key) + { + return virtualKeyboardGroup.grouped_keys.Find(k => k.tag == key)?.visualName ?? null; + } public Grid Virtual_keyboard { @@ -456,7 +322,7 @@ public Grid AbstractVirtualKeyboard public event LayoutUpdatedEventHandler KeyboardLayoutUpdated; - private String cultures_folder = "kb_layouts"; + private String cultures_folder = "DeviceLayouts"; private PreferredKeyboardLocalization _loaded_localization = PreferredKeyboardLocalization.None; @@ -478,333 +344,114 @@ public KeyboardLayoutManager() public void LoadBrandDefault() { - Application.Current.Dispatcher.Invoke(() => + /*Application.Current.Dispatcher.Invoke(() => { - LoadBrand(Global.Configuration.KeyboardBrand, Global.Configuration.MousePreference, Global.Configuration.MouseOrientation); - }); + LoadBrand(Global.Configuration.KeyboardBrand, Global.Configuration.MousePreference, MouseOrientationType.LeftHanded); + });*/ + } + private PreferredKeyboardLocalization GetSystemKeyboardCulture() + { + string culture = System.Threading.Thread.CurrentThread.CurrentUICulture.Name; + switch (culture) + { + case ("tr-TR"): + return PreferredKeyboardLocalization.tr; + case ("ja-JP"): + return PreferredKeyboardLocalization.jpn; + case ("de-DE"): + case ("hsb-DE"): + case ("dsb-DE"): + return PreferredKeyboardLocalization.de; + case ("fr-CH"): + case ("de-CH"): + return PreferredKeyboardLocalization.swiss; + case ("fr-FR"): + case ("br-FR"): + case ("oc-FR"): + case ("co-FR"): + case ("gsw-FR"): + return PreferredKeyboardLocalization.fr; + case ("cy-GB"): + case ("gd-GB"): + case ("en-GB"): + return PreferredKeyboardLocalization.uk; + case ("ru-RU"): + case ("tt-RU"): + case ("ba-RU"): + case ("sah-RU"): + return PreferredKeyboardLocalization.ru; + case ("en-US"): + return PreferredKeyboardLocalization.us; + case ("da-DK"): + case ("se-SE"): + case ("nb-NO"): + case ("nn-NO"): + case ("nordic"): + return PreferredKeyboardLocalization.nordic; + case ("pt-BR"): + return PreferredKeyboardLocalization.abnt2; + case ("dvorak"): + return PreferredKeyboardLocalization.dvorak; + case ("dvorak_int"): + return PreferredKeyboardLocalization.dvorak_int; + case ("hu-HU"): + return PreferredKeyboardLocalization.hu; + case ("it-IT"): + return PreferredKeyboardLocalization.it; + case ("es-AR"): + case ("es-BO"): + case ("es-CL"): + case ("es-CO"): + case ("es-CR"): + case ("es-EC"): + case ("es-MX"): + case ("es-PA"): + case ("es-PY"): + case ("es-PE"): + case ("es-UY"): + case ("es-VE"): + case ("es-419"): + return PreferredKeyboardLocalization.la; + case ("es-ES"): + return PreferredKeyboardLocalization.es; + case ("iso"): + return PreferredKeyboardLocalization.iso; + case ("ansi"): + return PreferredKeyboardLocalization.ansi; + default: + return PreferredKeyboardLocalization.intl; + + } } + private string GetKeyboardCulture() + { + PreferredKeyboardLocalization layout = Global.Configuration.KeyboardLocalization; + + if (layout == PreferredKeyboardLocalization.None) + { + layout = GetSystemKeyboardCulture(); + } + _loaded_localization = layout; + return layout.ToString(); - public void LoadBrand(PreferredKeyboard keyboard_preference = PreferredKeyboard.None, PreferredMouse mouse_preference = PreferredMouse.None, MouseOrientationType mouse_orientation = MouseOrientationType.RightHanded) + } + public void LoadBrand(string keyboard_preference = "", string mouse_preference = "", MouseOrientationType? mouse_orientation = MouseOrientationType.RightHanded) { #if !DEBUG try { #endif - //System.Threading.Thread.CurrentThread.CurrentCulture = new CultureInfo("de-DE"); //Global.logger.LogLine("Loading brand: " + brand.ToString() + " for: " + System.Threading.Thread.CurrentThread.CurrentCulture.Name); - //Load keyboard layout - if (Directory.Exists(layoutsPath)) - { - PreferredKeyboardLocalization layout = Global.Configuration.KeyboardLocalization; - - if (layout == PreferredKeyboardLocalization.iso) - { - LoadCulture("iso"); - _loaded_localization = layout; - } - else if (layout == PreferredKeyboardLocalization.ansi) - { - LoadCulture("ansi"); - _loaded_localization = layout; - } - else - { - - string culture = System.Threading.Thread.CurrentThread.CurrentCulture.Name; - - switch (layout) - { - case PreferredKeyboardLocalization.None: - break; - case PreferredKeyboardLocalization.intl: - culture = "intl"; - break; - case PreferredKeyboardLocalization.us: - culture = "en-US"; - break; - case PreferredKeyboardLocalization.uk: - culture = "en-GB"; - break; - case PreferredKeyboardLocalization.ru: - culture = "ru-RU"; - break; - case PreferredKeyboardLocalization.fr: - culture = "fr-FR"; - break; - case PreferredKeyboardLocalization.de: - culture = "de-DE"; - break; - case PreferredKeyboardLocalization.jpn: - culture = "ja-JP"; - break; - case PreferredKeyboardLocalization.nordic: - culture = "nordic"; - break; - case PreferredKeyboardLocalization.tr: - culture = "tr-TR"; - break; - case PreferredKeyboardLocalization.swiss: - culture = "de-CH"; - break; - case PreferredKeyboardLocalization.abnt2: - culture = "pt-BR"; - break; - case PreferredKeyboardLocalization.dvorak: - culture = "dvorak"; - break; - case PreferredKeyboardLocalization.dvorak_int: - culture = "dvorak_int"; - break; - case PreferredKeyboardLocalization.hu: - culture = "hu-HU"; - break; - case PreferredKeyboardLocalization.it: - culture = "it-IT"; - break; - case PreferredKeyboardLocalization.la: - culture = "es-AR"; - break; - case PreferredKeyboardLocalization.es: - culture = "es-ES"; - break; - case PreferredKeyboardLocalization.iso: - culture = "iso"; - break; - case PreferredKeyboardLocalization.ansi: - culture = "ansi"; - break; - } - - switch (culture) - { - case ("tr-TR"): - LoadCulture("tr"); - break; - case ("ja-JP"): - LoadCulture("jpn"); - break; - case ("de-DE"): - case ("hsb-DE"): - case ("dsb-DE"): - _loaded_localization = PreferredKeyboardLocalization.de; - LoadCulture("de"); - break; - case ("fr-CH"): - case ("de-CH"): - _loaded_localization = PreferredKeyboardLocalization.swiss; - LoadCulture("swiss"); - break; - case ("fr-FR"): - case ("br-FR"): - case ("oc-FR"): - case ("co-FR"): - case ("gsw-FR"): - _loaded_localization = PreferredKeyboardLocalization.fr; - LoadCulture("fr"); - break; - case ("cy-GB"): - case ("gd-GB"): - case ("en-GB"): - _loaded_localization = PreferredKeyboardLocalization.uk; - LoadCulture("uk"); - break; - case ("ru-RU"): - case ("tt-RU"): - case ("ba-RU"): - case ("sah-RU"): - _loaded_localization = PreferredKeyboardLocalization.ru; - LoadCulture("ru"); - break; - case ("en-US"): - _loaded_localization = PreferredKeyboardLocalization.us; - LoadCulture("us"); - break; - case ("da-DK"): - case ("se-SE"): - case ("nb-NO"): - case ("nn-NO"): - case ("nordic"): - _loaded_localization = PreferredKeyboardLocalization.nordic; - LoadCulture("nordic"); - break; - case ("pt-BR"): - _loaded_localization = PreferredKeyboardLocalization.abnt2; - LoadCulture("abnt2"); - break; - case ("dvorak"): - _loaded_localization = PreferredKeyboardLocalization.dvorak; - LoadCulture("dvorak"); - break; - case ("dvorak_int"): - _loaded_localization = PreferredKeyboardLocalization.dvorak_int; - LoadCulture("dvorak_int"); - break; - case ("hu-HU"): - _loaded_localization = PreferredKeyboardLocalization.hu; - LoadCulture("hu"); - break; - case ("it-IT"): - _loaded_localization = PreferredKeyboardLocalization.it; - LoadCulture("it"); - break; - case ("es-AR"): - case ("es-BO"): - case ("es-CL"): - case ("es-CO"): - case ("es-CR"): - case ("es-EC"): - case ("es-MX"): - case ("es-PA"): - case ("es-PY"): - case ("es-PE"): - case ("es-UY"): - case ("es-VE"): - case ("es-419"): - _loaded_localization = PreferredKeyboardLocalization.la; - LoadCulture("la"); - break; - case ("es-ES"): - _loaded_localization = PreferredKeyboardLocalization.es; - LoadCulture("es"); - break; - case ("iso"): - _loaded_localization = PreferredKeyboardLocalization.iso; - LoadCulture("iso"); - break; - case ("ansi"): - _loaded_localization = PreferredKeyboardLocalization.ansi; - LoadCulture("ansi"); - break; - default: - _loaded_localization = PreferredKeyboardLocalization.intl; - LoadCulture("intl"); - break; - - } - } - } - var layoutConfigPath = ""; - if (keyboard_preference == PreferredKeyboard.Logitech_G910) - layoutConfigPath = Path.Combine(layoutsPath, "logitech_g910.json"); - else if (keyboard_preference == PreferredKeyboard.Logitech_G810) - layoutConfigPath = Path.Combine(layoutsPath, "logitech_g810.json"); - else if (keyboard_preference == PreferredKeyboard.Logitech_GPRO) - layoutConfigPath = Path.Combine(layoutsPath, "logitech_gpro.json"); - else if (keyboard_preference == PreferredKeyboard.Logitech_G410) - layoutConfigPath = Path.Combine(layoutsPath, "logitech_g410.json"); - else if (keyboard_preference == PreferredKeyboard.Logitech_G815) - layoutConfigPath = Path.Combine(layoutsPath, "logitech_g815.json"); - else if (keyboard_preference == PreferredKeyboard.Logitech_G513) - layoutConfigPath = Path.Combine(layoutsPath, "logitech_g513.json"); - else if (keyboard_preference == PreferredKeyboard.Logitech_G213) - layoutConfigPath = Path.Combine(layoutsPath, "logitech_g213.json"); - else if (keyboard_preference == PreferredKeyboard.Corsair_K95) - layoutConfigPath = Path.Combine(layoutsPath, "corsair_k95.json"); - else if (keyboard_preference == PreferredKeyboard.Corsair_K95_PL) - layoutConfigPath = Path.Combine(layoutsPath, "corsair_k95_platinum.json"); - else if (keyboard_preference == PreferredKeyboard.Corsair_K70) - layoutConfigPath = Path.Combine(layoutsPath, "corsair_k70.json"); - else if (keyboard_preference == PreferredKeyboard.Corsair_K70MK2) - layoutConfigPath = Path.Combine(layoutsPath, "corsair_k70_mk2.json"); - else if (keyboard_preference == PreferredKeyboard.Corsair_K65) - layoutConfigPath = Path.Combine(layoutsPath, "corsair_k65.json"); - else if (keyboard_preference == PreferredKeyboard.Corsair_STRAFE) - layoutConfigPath = Path.Combine(layoutsPath, "corsair_strafe.json"); - else if (keyboard_preference == PreferredKeyboard.Corsair_STRAFE_MK2) - layoutConfigPath = Path.Combine(layoutsPath, "corsair_strafe_mk2.json"); - else if (keyboard_preference == PreferredKeyboard.Corsair_K68) - layoutConfigPath = Path.Combine(layoutsPath, "corsair_k68.json"); - else if (keyboard_preference == PreferredKeyboard.Razer_Blackwidow) - layoutConfigPath = Path.Combine(layoutsPath, "razer_blackwidow.json"); - else if (keyboard_preference == PreferredKeyboard.Razer_Blackwidow_X) - layoutConfigPath = Path.Combine(layoutsPath, "razer_blackwidow_x.json"); - else if (keyboard_preference == PreferredKeyboard.Razer_Blackwidow_TE) - layoutConfigPath = Path.Combine(layoutsPath, "razer_blackwidow_te.json"); - else if (keyboard_preference == PreferredKeyboard.Razer_Blade) - layoutConfigPath = Path.Combine(layoutsPath, "razer_blade.json"); - else if (keyboard_preference == PreferredKeyboard.Masterkeys_Pro_L) - layoutConfigPath = Path.Combine(layoutsPath, "masterkeys_pro_l.json"); - else if (keyboard_preference == PreferredKeyboard.Masterkeys_Pro_S) - layoutConfigPath = Path.Combine(layoutsPath, "masterkeys_pro_s.json"); - else if (keyboard_preference == PreferredKeyboard.Masterkeys_Pro_M) - layoutConfigPath = Path.Combine(layoutsPath, "masterkeys_pro_m.json"); - else if (keyboard_preference == PreferredKeyboard.Masterkeys_MK750) - layoutConfigPath = Path.Combine(layoutsPath, "masterkeys_mk750.json"); - else if (keyboard_preference == PreferredKeyboard.Masterkeys_MK730) - layoutConfigPath = Path.Combine(layoutsPath, "masterkeys_mk730.json"); - else if (keyboard_preference == PreferredKeyboard.Cooler_Master_SK650) - layoutConfigPath = Path.Combine(layoutsPath, "cooler_master_sk650.json"); - else if (keyboard_preference == PreferredKeyboard.Roccat_Ryos) - layoutConfigPath = Path.Combine(layoutsPath, "roccat_ryos.json"); - else if (keyboard_preference == PreferredKeyboard.SteelSeries_Apex_M800) - layoutConfigPath = Path.Combine(layoutsPath, "steelseries_apex_m800.json"); - else if (keyboard_preference == PreferredKeyboard.SteelSeries_Apex_M750) - layoutConfigPath = Path.Combine(layoutsPath, "steelseries_apex_m750.json"); - else if (keyboard_preference == PreferredKeyboard.SteelSeries_Apex_M750_TKL) - layoutConfigPath = Path.Combine(layoutsPath, "steelseries_apex_m750_tkl.json"); - else if (keyboard_preference == PreferredKeyboard.Wooting_One) - layoutConfigPath = Path.Combine(layoutsPath, "wooting_one.json"); - else if (keyboard_preference == PreferredKeyboard.Asus_Strix_Flare) - layoutConfigPath = Path.Combine(layoutsPath, "asus_strix_flare.json"); - else if (keyboard_preference == PreferredKeyboard.Asus_Strix_Scope) - layoutConfigPath = Path.Combine(layoutsPath, "asus_strix_scope.json"); - else if (keyboard_preference == PreferredKeyboard.SoundBlasterX_Vanguard_K08) - layoutConfigPath = Path.Combine(layoutsPath, "soundblasterx_vanguardk08.json"); - else if (keyboard_preference == PreferredKeyboard.GenericLaptop) - layoutConfigPath = Path.Combine(layoutsPath, "generic_laptop.json"); - else if (keyboard_preference == PreferredKeyboard.GenericLaptopNumpad) - layoutConfigPath = Path.Combine(layoutsPath, "generic_laptop_numpad.json"); - else if (keyboard_preference == PreferredKeyboard.Drevo_BladeMaster) - layoutConfigPath = Path.Combine(layoutsPath, "drevo_blademaster.json"); - else if (keyboard_preference == PreferredKeyboard.Wooting_Two) - layoutConfigPath = Path.Combine(layoutsPath, "wooting_two.json"); - - else if (keyboard_preference == PreferredKeyboard.Uniwill2ND_35X_1) - layoutConfigPath = Path.Combine(layoutsPath, "Uniwill2ND_35X_1.json"); - else if (keyboard_preference == PreferredKeyboard.Uniwill2ND_35X_2) - layoutConfigPath = Path.Combine(layoutsPath, "Uniwill2ND_35X_2.json"); - //keyboare 2.1 - else if (keyboard_preference == PreferredKeyboard.Uniwill2P1_550_US) - layoutConfigPath = Path.Combine(layoutsPath, "Uniwill2P1_550_US.json"); - else if (keyboard_preference == PreferredKeyboard.Uniwill2P1_550_UK) - layoutConfigPath = Path.Combine(layoutsPath, "Uniwill2P1_550_UK.json"); - else if (keyboard_preference == PreferredKeyboard.Uniwill2P1_550_BR) - layoutConfigPath = Path.Combine(layoutsPath, "Uniwill2P1_550_BR.json"); - else if (keyboard_preference == PreferredKeyboard.Uniwill2P1_550_JP) - layoutConfigPath = Path.Combine(layoutsPath, "Uniwill2P1_550_JP.json"); - //keyboare 2.2 - else if (keyboard_preference == PreferredKeyboard.Uniwill2P2_650_US) - layoutConfigPath = Path.Combine(layoutsPath, "Uniwill2P2_650_US.json"); - else if (keyboard_preference == PreferredKeyboard.Uniwill2P2_650_UK) - layoutConfigPath = Path.Combine(layoutsPath, "Uniwill2P2_650_UK.json"); - else if (keyboard_preference == PreferredKeyboard.Uniwill2P2_650_BR) - layoutConfigPath = Path.Combine(layoutsPath, "Uniwill2P2_650_BR.json"); - else if (keyboard_preference == PreferredKeyboard.Uniwill2P2_650_JP) - layoutConfigPath = Path.Combine(layoutsPath, "Uniwill2P2_650_JP.json"); - - else if (keyboard_preference == PreferredKeyboard.Ducky_Shine_7) - layoutConfigPath = Path.Combine(layoutsPath, "ducky_shine_7.json"); - else if (keyboard_preference == PreferredKeyboard.Ducky_One_2_RGB_TKL) - layoutConfigPath = Path.Combine(layoutsPath, "ducky_one_2_rgb_tkl.json"); - else if (keyboard_preference == PreferredKeyboard.OMEN_Sequencer) - layoutConfigPath = Path.Combine(layoutsPath, "omen_sequencer.json"); - else if (keyboard_preference == PreferredKeyboard.OMEN_Four_Zone) - layoutConfigPath = Path.Combine(layoutsPath, "omen_four_zone.json"); - else if (keyboard_preference == PreferredKeyboard.HyperX_Alloy_Elite_RGB) - layoutConfigPath = Path.Combine(layoutsPath, "hyperx_alloy_elite_rgb.json"); - - else - { - LoadNone(); - return; - } if (!String.IsNullOrWhiteSpace(layoutConfigPath) && File.Exists(layoutConfigPath)) { + //Load keyboard layout + LoadCulture(GetKeyboardCulture()); + string content = File.ReadAllText(layoutConfigPath, Encoding.UTF8); VirtualGroupConfiguration layoutConfig = JsonConvert.DeserializeObject(content, new JsonSerializerSettings { ObjectCreationHandling = ObjectCreationHandling.Replace }); @@ -822,7 +469,7 @@ public void LoadBrand(PreferredKeyboard keyboard_preference = PreferredKeyboard. foreach (string feature in layoutConfig.included_features) { - string feature_path = Path.Combine(layoutsPath, "Extra Features", feature); + string feature_path = Path.Combine(layoutsPath, "Keyboard", "Extra Features", feature); if (File.Exists(feature_path)) { @@ -840,123 +487,53 @@ public void LoadBrand(PreferredKeyboard keyboard_preference = PreferredKeyboard. } } } + } + else + { + LoadNone(); + return; + } - //Extra fix for Master keys Pro M White foreign layouts - if (keyboard_preference == PreferredKeyboard.Masterkeys_Pro_M) - { - switch (_loaded_localization) - { - case PreferredKeyboardLocalization.intl: - case PreferredKeyboardLocalization.de: - case PreferredKeyboardLocalization.fr: - case PreferredKeyboardLocalization.jpn: - case PreferredKeyboardLocalization.ru: - case PreferredKeyboardLocalization.uk: - virtualKeyboardGroup.AdjustKeys(new Dictionary() { { DeviceKeys.NUM_SEVEN, new KeyboardKey(null, DeviceKeys.NUM_SEVEN, null, null, null, 60, null, null, null, null, null, 5, null) } }); - break; - default: - break; - } - } + string mouseConfigPath = ""; - string mouse_feature_path = ""; + if (mouse_preference != "" && mouse_preference != "None") + { + mouseConfigPath = Path.Combine(layoutsPath, "Mouse", mouse_preference + ".json"); + } - switch (mouse_preference) - { - case PreferredMouse.Generic_Peripheral: - mouse_feature_path = Path.Combine(layoutsPath, "Extra Features", "generic_peripheral.json"); - break; - case PreferredMouse.Generic_Mousepad: - mouse_feature_path = Path.Combine(layoutsPath, "Extra Features", "generic_mousepad.json"); - break; - case PreferredMouse.Logitech_G900: - mouse_feature_path = Path.Combine(layoutsPath, "Extra Features", "logitech_g900_features.json"); - break; - case PreferredMouse.Logitech_G502: - mouse_feature_path = Path.Combine(layoutsPath, "Extra Features", "logitech_g502_features.json"); - break; - case PreferredMouse.Corsair_Sabre: - mouse_feature_path = Path.Combine(layoutsPath, "Extra Features", "corsair_sabre_features.json"); - break; - case PreferredMouse.Corsair_M65: - mouse_feature_path = Path.Combine(layoutsPath, "Extra Features", "corsair_m65_features.json"); - break; - case PreferredMouse.Corsair_Katar: - mouse_feature_path = Path.Combine(layoutsPath, "Extra Features", "corsair_katar_features.json"); - break; - case PreferredMouse.Clevo_Touchpad: - mouse_feature_path = Path.Combine(layoutsPath, "Extra Features", "clevo_touchpad_features.json"); - break; - case PreferredMouse.Roccat_Kone_Pure: - mouse_feature_path = Path.Combine(layoutsPath, "Extra Features", "roccat_kone_pure_features.json"); - break; - case PreferredMouse.SteelSeries_Rival_300: - mouse_feature_path = Path.Combine(layoutsPath, "Extra Features", "steelseries_rival_300_features.json"); - break; - case PreferredMouse.SteelSeries_Rival_300_HP_OMEN_Edition: - mouse_feature_path = Path.Combine(layoutsPath, "Extra Features", "steelseries_rival_300_hp_omen_edition_features.json"); - break; - case PreferredMouse.SteelSeries_QcK_Prism: - mouse_feature_path = Path.Combine(layoutsPath, "Extra Features", "steelseries_qck_prism_features.json"); - break; - case PreferredMouse.SteelSeries_QcK_2_Zone: - mouse_feature_path = Path.Combine(layoutsPath, "Extra Features", "steelseries_qck_2zone_features.json"); - break; - case PreferredMouse.Asus_Pugio: - mouse_feature_path = Path.Combine(layoutsPath, "Extra Features", "asus_pugio_features.json"); - break; - case PreferredMouse.OMEN_Photon: - mouse_feature_path = Path.Combine(layoutsPath, "Extra Features", "omen_photon_features.json"); - break; - case PreferredMouse.OMEN_Outpost_Plus_Photon: - mouse_feature_path = Path.Combine(layoutsPath, "Extra Features", "omen_outpost_plus_photon_features.json"); - break; - case PreferredMouse.OMEN_Vector: - mouse_feature_path = Path.Combine(layoutsPath, "Extra Features", "omen_vector_features.json"); - break; - case PreferredMouse.OMEN_Vector_Essentials: - mouse_feature_path = Path.Combine(layoutsPath, "Extra Features", "omen_vector_essentials_features.json"); - break; - case PreferredMouse.Razer_Mamba_TE: - mouse_feature_path = Path.Combine(layoutsPath, "Extra Features", "razer_mamba_te_features.json"); - break; - } + if (!string.IsNullOrWhiteSpace(mouseConfigPath) && File.Exists(mouseConfigPath)) + { + string mouseConfigContent = File.ReadAllText(mouseConfigPath, Encoding.UTF8); + VirtualGroup mouseConfig = JsonConvert.DeserializeObject(mouseConfigContent, new JsonSerializerSettings { ObjectCreationHandling = ObjectCreationHandling.Replace }); - if (!string.IsNullOrWhiteSpace(mouse_feature_path)) + if (mouse_orientation == MouseOrientationType.LeftHanded) { - string feature_content = File.ReadAllText(mouse_feature_path, Encoding.UTF8); - VirtualGroup featureConfig = JsonConvert.DeserializeObject(feature_content, new JsonSerializerSettings { ObjectCreationHandling = ObjectCreationHandling.Replace }); + if (mouseConfig.origin_region == KeyboardRegion.TopRight) + mouseConfig.origin_region = KeyboardRegion.TopLeft; + else if (mouseConfig.origin_region == KeyboardRegion.BottomRight) + mouseConfig.origin_region = KeyboardRegion.BottomLeft; - if (mouse_orientation == MouseOrientationType.LeftHanded) - { - if (featureConfig.origin_region == KeyboardRegion.TopRight) - featureConfig.origin_region = KeyboardRegion.TopLeft; - else if (featureConfig.origin_region == KeyboardRegion.BottomRight) - featureConfig.origin_region = KeyboardRegion.BottomLeft; - - double outlineWidth = 0.0; - int outlineWidthBits = 0; + double outlineWidth = 0.0; + int outlineWidthBits = 0; - foreach (var key in featureConfig.grouped_keys) + foreach (var key in mouseConfig.grouped_keys) + { + if (outlineWidth == 0.0 && outlineWidthBits == 0) //We found outline (NOTE: Outline has to be first in the grouped keys) { - if (outlineWidth == 0.0 && outlineWidthBits == 0) //We found outline (NOTE: Outline has to be first in the grouped keys) + if (key.tag == DeviceKeys.NONE) { - if (key.tag == DeviceKeys.NONE) - { - outlineWidth = key.width.Value + 2 * key.margin_left.Value; - //outlineWidthBits = key.width_bits.Value + 2 * key.margin_left_bits.Value; - } + outlineWidth = key.width.Value + 2 * key.margin_left.Value; + //outlineWidthBits = key.width_bits.Value + 2 * key.margin_left_bits.Value; } - - key.margin_left -= outlineWidth; - //key.margin_left_bits -= outlineWidthBits; } + key.margin_left -= outlineWidth; + //key.margin_left_bits -= outlineWidthBits; } - virtualKeyboardGroup.AddFeature(featureConfig.grouped_keys.ToArray(), featureConfig.origin_region); } + virtualKeyboardGroup.AddFeature(mouseConfig.grouped_keys.ToArray(), mouseConfig.origin_region); } #if !DEBUG } @@ -974,108 +551,6 @@ public void LoadBrand(PreferredKeyboard keyboard_preference = PreferredKeyboard. CreateUserControl(); - //Better description for these keys by using the DeviceKeys description instead - Dictionary keytext = KeyText; - keytext.Remove(DeviceKeys.NUM_ASTERISK); - keytext.Remove(DeviceKeys.NUM_EIGHT); - keytext.Remove(DeviceKeys.NUM_ENTER); - keytext.Remove(DeviceKeys.NUM_FIVE); - keytext.Remove(DeviceKeys.NUM_FOUR); - keytext.Remove(DeviceKeys.NUM_MINUS); - keytext.Remove(DeviceKeys.NUM_NINE); - keytext.Remove(DeviceKeys.NUM_ONE); - keytext.Remove(DeviceKeys.NUM_PERIOD); - keytext.Remove(DeviceKeys.NUM_PLUS); - keytext.Remove(DeviceKeys.NUM_SEVEN); - keytext.Remove(DeviceKeys.NUM_SIX); - keytext.Remove(DeviceKeys.NUM_SLASH); - keytext.Remove(DeviceKeys.NUM_THREE); - keytext.Remove(DeviceKeys.NUM_TWO); - keytext.Remove(DeviceKeys.NUM_ZERO); - keytext.Remove(DeviceKeys.NUM_ZEROZERO); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT1); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT2); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT3); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT4); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT5); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT6); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT7); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT8); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT9); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT10); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT11); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT12); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT13); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT14); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT15); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT16); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT17); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT18); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT19); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT20); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT21); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT22); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT23); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT24); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT25); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT26); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT27); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT28); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT29); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT30); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT31); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT32); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT32); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT33); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT34); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT35); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT36); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT37); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT38); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT39); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT40); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT41); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT42); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT43); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT44); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT45); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT46); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT47); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT48); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT49); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT50); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT51); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT52); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT53); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT54); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT55); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT56); - keytext.Remove(DeviceKeys.ADDITIONALLIGHT57); - keytext.Remove(DeviceKeys.LEFT_CONTROL); - keytext.Remove(DeviceKeys.LEFT_WINDOWS); - keytext.Remove(DeviceKeys.LEFT_ALT); - keytext.Remove(DeviceKeys.LEFT_SHIFT); - keytext.Remove(DeviceKeys.RIGHT_ALT); - keytext.Remove(DeviceKeys.FN_Key); - keytext.Remove(DeviceKeys.RIGHT_WINDOWS); - keytext.Remove(DeviceKeys.RIGHT_CONTROL); - keytext.Remove(DeviceKeys.RIGHT_SHIFT); - keytext.Remove(DeviceKeys.MOUSEPADLIGHT1); - keytext.Remove(DeviceKeys.MOUSEPADLIGHT2); - keytext.Remove(DeviceKeys.MOUSEPADLIGHT3); - keytext.Remove(DeviceKeys.MOUSEPADLIGHT4); - keytext.Remove(DeviceKeys.MOUSEPADLIGHT5); - keytext.Remove(DeviceKeys.MOUSEPADLIGHT6); - keytext.Remove(DeviceKeys.MOUSEPADLIGHT7); - keytext.Remove(DeviceKeys.MOUSEPADLIGHT8); - keytext.Remove(DeviceKeys.MOUSEPADLIGHT9); - keytext.Remove(DeviceKeys.MOUSEPADLIGHT10); - keytext.Remove(DeviceKeys.MOUSEPADLIGHT11); - keytext.Remove(DeviceKeys.MOUSEPADLIGHT12); - keytext.Remove(DeviceKeys.MOUSEPADLIGHT13); - keytext.Remove(DeviceKeys.MOUSEPADLIGHT14); - keytext.Remove(DeviceKeys.MOUSEPADLIGHT15); - KeyboardLayoutUpdated?.Invoke(this); } @@ -1099,7 +574,7 @@ private void Configuration_PropertyChanged(object sender, System.ComponentModel. private void LightingStateManager_PostUpdate(object sender, EventArgs e) { - this.LoadBrandDefault(); + //this.LoadBrandDefault(); Global.LightingStateManager.PostUpdate -= this.LightingStateManager_PostUpdate; } @@ -1154,14 +629,12 @@ public void CalculateBitmap() cur_height = y; } } - if (br_x > width_max) width_max = br_x; - if (br_y > height_max) height_max = br_y; } _bitmapMapInvalid = false; //+1 for rounding error, where the bitmap rectangle B(X)+B(Width) > B(X+Width) Global.effengine.SetCanvasSize(PixelToByte(virtualKeyboardGroup.Region.Width) + 1, PixelToByte(virtualKeyboardGroup.Region.Height) + 1); - Global.effengine.SetBitmapping(this.bitmap_map); + //Global.effengine.SetBitmapping(this.bitmap_map); } } @@ -1229,7 +702,7 @@ private Grid CreateUserControl(bool abstractKeycaps = false) double current_height = 0; double current_width = 0; - string images_path = Path.Combine(layoutsPath, "Extra Features", "images"); + string images_path = Path.Combine(layoutsPath, "Images"); foreach (KeyboardKey key in virtualKeyboardGroup.grouped_keys) { @@ -1244,11 +717,12 @@ private Grid CreateUserControl(bool abstractKeycaps = false) UserControl keycap; //Ghost keycap is used for abstract representation of keys - if (abstractKeycaps) + /*if (abstractKeycaps) keycap = new Control_GhostKeycap(key, image_path); - else + else*/ { - switch (Global.Configuration.VirtualkeyboardKeycapType) + + /*switch (Global.Configuration.VirtualkeyboardKeycapType) { case KeycapType.Default_backglow: keycap = new Control_DefaultKeycapBackglow(key, image_path); @@ -1263,26 +737,26 @@ private Grid CreateUserControl(bool abstractKeycaps = false) keycap = new Control_ColorizedKeycapBlank(key, image_path); break; default: - keycap = new Control_DefaultKeycap(key, image_path); + keycap = null;// new Control_DefaultKeycap(key, image_path); break; - } + }*/ } - new_virtual_keyboard.Children.Add(keycap); + //new_virtual_keyboard.Children.Add(keycap); - if (key.tag != DeviceKeys.NONE && !_virtualKeyboardMap.ContainsKey(key.tag) && keycap is IKeycap && !abstractKeycaps) - _virtualKeyboardMap.Add(key.tag, keycap as IKeycap); + //if (key.tag != DeviceKeys.NONE && !_virtualKeyboardMap.ContainsKey(key.tag) && keycap is IKeycap && !abstractKeycaps) + // _virtualKeyboardMap.Add(key.tag, keycap as IKeycap); - if (key.absolute_location.Value) + /*if (key.absolute_location.Value) keycap.Margin = new Thickness(key.margin_left.Value, key.margin_top.Value, 0, 0); else keycap.Margin = new Thickness(current_width + key.margin_left.Value, current_height + key.margin_top.Value, 0, 0); - + if (key.tag == DeviceKeys.ESC) { baseline_x = keycap.Margin.Left; baseline_y = keycap.Margin.Top; - } + }*/ if (!key.absolute_location.Value) { @@ -1400,7 +874,7 @@ private class KeyboardLayout private void LoadCulture(String culture) { var fileName = "Plain Keyboard\\layout." + culture + ".json"; - var layoutPath = Path.Combine(layoutsPath, fileName); + var layoutPath = Path.Combine(layoutsPath, "Keyboard", fileName); if (!File.Exists(layoutPath)) LoadDefault(); @@ -1476,7 +950,7 @@ public void LoadDefault() keyboard.Add(new KeyboardKey("INSERT", Devices.DeviceKeys.INSERT, true, false, 9, 14)); keyboard.Add(new KeyboardKey("HOME", Devices.DeviceKeys.HOME, true, false, 9)); - keyboard.Add(new KeyboardKey("PAGE\r\nUP", Devices.DeviceKeys.HOME, true, false, 9)); + keyboard.Add(new KeyboardKey("PAGE\r\nUP", Devices.DeviceKeys.PAGE_DOWN, true, false, 9)); keyboard.Add(new KeyboardKey("NUM\r\nLOCK", Devices.DeviceKeys.NUM_LOCK, true, false, 9, 14)); keyboard.Add(new KeyboardKey("/", Devices.DeviceKeys.NUM_SLASH)); @@ -1575,9 +1049,9 @@ public void SetKeyboardColors(Dictionary - /// Interaction logic for Control_ColorizedKeycap.xaml - /// - public partial class Control_ColorizedKeycap : UserControl, IKeycap - { - private Color? current_color = null; - private Devices.DeviceKeys associatedKey = DeviceKeys.NONE; - private bool isImage = false; - - public Control_ColorizedKeycap() - { - InitializeComponent(); - } - - public Control_ColorizedKeycap(KeyboardKey key, string image_path) - { - InitializeComponent(); - - associatedKey = key.tag; - - this.Width = key.width.Value; - this.Height = key.height.Value; - - //Keycap adjustments - if (string.IsNullOrWhiteSpace(key.image)) - keyBorder.BorderThickness = new Thickness(1.5); - else - keyBorder.BorderThickness = new Thickness(0.0); - keyBorder.IsEnabled = key.enabled.Value; - - if (!key.enabled.Value) - { - ToolTipService.SetShowOnDisabled(keyBorder, true); - keyBorder.ToolTip = new ToolTip { Content = "Changes to this key are not supported" }; - } - - if (string.IsNullOrWhiteSpace(key.image)) - { - keyCap.Text = key.visualName; - keyCap.Tag = key.tag; - if (key.font_size != null) - keyCap.FontSize = key.font_size.Value; - keyCap.Visibility = System.Windows.Visibility.Visible; - } - else - { - keyCap.Visibility = System.Windows.Visibility.Hidden; - - if (System.IO.File.Exists(image_path)) - { - var memStream = new System.IO.MemoryStream(System.IO.File.ReadAllBytes(image_path)); - BitmapImage image = new BitmapImage(); - image.BeginInit(); - image.StreamSource = memStream; - image.EndInit(); - - if (key.tag == DeviceKeys.NONE) - keyBorder.Background = new ImageBrush(image); - else - { - keyBorder.Background = new SolidColorBrush(System.Windows.Media.Color.FromArgb(255, 0, 0, 0)); - keyBorder.OpacityMask = new ImageBrush(image); - } - - isImage = true; - } - } - } - - public DeviceKeys GetKey() - { - return associatedKey; - } - - public void SetColor(Color key_color) - { - if (!key_color.Equals(current_color)) - { - if (!isImage) - { - keyBorder.Background = new SolidColorBrush(Utils.ColorUtils.MultiplyColorByScalar(key_color, 0.6)); - keyBorder.BorderBrush = new SolidColorBrush(key_color); - } - else - { - if (associatedKey != DeviceKeys.NONE) - keyBorder.Background = new SolidColorBrush(key_color); - } - current_color = key_color; - } - - if (Global.key_recorder.HasRecorded(associatedKey)) - keyBorder.Background = new SolidColorBrush(System.Windows.Media.Color.FromArgb((byte)255, (byte)0, (byte)(Math.Min(Math.Pow(Math.Cos((double)(Utils.Time.GetMilliSeconds() / 1000.0) * Math.PI) + 0.05, 2.0), 1.0) * 255), (byte)0)); - else - { - if (keyBorder.IsEnabled) - { - if (isImage) - keyBorder.Background = new SolidColorBrush(key_color); - else - keyBorder.Background = new SolidColorBrush(Utils.ColorUtils.MultiplyColorByScalar(key_color, 0.6)); - } - else - { - keyBorder.Background = new SolidColorBrush(System.Windows.Media.Color.FromArgb(255, 100, 100, 100)); - keyBorder.BorderThickness = new Thickness(0); - } - } - UpdateText(); - } - - private void keyBorder_MouseDown(object sender, MouseButtonEventArgs e) - { - if (sender is Border) - virtualkeyboard_key_selected(associatedKey); - } - - private void keyBorder_MouseMove(object sender, MouseEventArgs e) - { - } - - private void virtualkeyboard_key_selected(Devices.DeviceKeys key) - { - if (key != DeviceKeys.NONE) - { - if (Global.key_recorder.HasRecorded(key)) - Global.key_recorder.RemoveKey(key); - else - Global.key_recorder.AddKey(key); - } - } - - private void keyBorder_MouseLeave(object sender, MouseEventArgs e) - { - } - - private void keyBorder_MouseEnter(object sender, MouseEventArgs e) - { - if (e.LeftButton == MouseButtonState.Pressed && sender is Border) - virtualkeyboard_key_selected(associatedKey); - - - } - - public void UpdateText() - { - if (Global.kbLayout.Loaded_Localization.IsAutomaticGeneration()) - { - - //if (keyCap.Text.Length > 1) - // return; - - StringBuilder sb = new StringBuilder(2); - var scan_code = KeyUtils.GetScanCode(associatedKey); - if (scan_code == -1) - return; - /*var key = KeyUtils.GetFormsKey((KeyboardKeys)associatedKey.LedID); - var scan_code = KeyUtils.MapVirtualKeyEx((uint)key, KeyUtils.MapVirtualKeyMapTypes.MapvkVkToVsc, (IntPtr)0x8090809);*/ - - int ret = KeyUtils.GetKeyNameTextW((uint)scan_code << 16, sb, 2); - keyCap.Text = sb.ToString(); - } - } - } -} diff --git a/Project-Aurora/Project-Aurora/Settings/Keycaps/Control_ColorizedKeycapBlank.xaml.cs b/Project-Aurora/Project-Aurora/Settings/Keycaps/Control_ColorizedKeycapBlank.xaml.cs deleted file mode 100644 index 814fa7a7d..000000000 --- a/Project-Aurora/Project-Aurora/Settings/Keycaps/Control_ColorizedKeycapBlank.xaml.cs +++ /dev/null @@ -1,159 +0,0 @@ -using Aurora.Devices; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Media.Imaging; -using System.Windows.Navigation; -using System.Windows.Shapes; - -namespace Aurora.Settings.Keycaps -{ - /// - /// Interaction logic for Control_ColorizedKeycapBlank.xaml - /// - public partial class Control_ColorizedKeycapBlank : UserControl, IKeycap - { - private Color current_color = Color.FromArgb(0, 0, 0, 0); - private Devices.DeviceKeys associatedKey = DeviceKeys.NONE; - private bool isImage = false; - - public Control_ColorizedKeycapBlank() - { - InitializeComponent(); - } - - public Control_ColorizedKeycapBlank(KeyboardKey key, string image_path) - { - InitializeComponent(); - - associatedKey = key.tag; - - this.Width = key.width.Value; - this.Height = key.height.Value; - - //Keycap adjustments - if (string.IsNullOrWhiteSpace(key.image)) - keyBorder.BorderThickness = new Thickness(1.5); - else - keyBorder.BorderThickness = new Thickness(0.0); - keyBorder.IsEnabled = key.enabled.Value; - - if (!key.enabled.Value) - { - ToolTipService.SetShowOnDisabled(keyBorder, true); - keyBorder.ToolTip = new ToolTip { Content = "Changes to this key are not supported" }; - } - - if (string.IsNullOrWhiteSpace(key.image)) - { - keyCap.Text = key.visualName; - keyCap.Tag = key.tag; - if (key.font_size != null) - keyCap.FontSize = key.font_size.Value; - } - else - { - keyCap.Visibility = System.Windows.Visibility.Hidden; - - if (System.IO.File.Exists(image_path)) - { - var memStream = new System.IO.MemoryStream(System.IO.File.ReadAllBytes(image_path)); - BitmapImage image = new BitmapImage(); - image.BeginInit(); - image.StreamSource = memStream; - image.EndInit(); - - if (key.tag == DeviceKeys.NONE) - keyBorder.Background = new ImageBrush(image); - else - { - keyBorder.Background = new SolidColorBrush(System.Windows.Media.Color.FromArgb(255, 0, 0, 0)); - keyBorder.OpacityMask = new ImageBrush(image); - } - - isImage = true; - } - } - } - - public DeviceKeys GetKey() - { - return associatedKey; - } - - public void SetColor(Color key_color) - { - if (!current_color.Equals(key_color)) - { - if (!isImage) - { - keyBorder.Background = new SolidColorBrush(Utils.ColorUtils.MultiplyColorByScalar(key_color, 0.6)); - keyBorder.BorderBrush = new SolidColorBrush(key_color); - } - else - { - if (associatedKey != DeviceKeys.NONE) - keyBorder.Background = new SolidColorBrush(key_color); - } - current_color = key_color; - } - - if (Global.key_recorder.HasRecorded(associatedKey)) - keyBorder.Background = new SolidColorBrush(System.Windows.Media.Color.FromArgb((byte)255, (byte)0, (byte)(Math.Min(Math.Pow(Math.Cos((double)(Utils.Time.GetMilliSeconds() / 1000.0) * Math.PI) + 0.05, 2.0), 1.0) * 255), (byte)0)); - else - { - if (keyBorder.IsEnabled) - { - if (isImage) - keyBorder.Background = new SolidColorBrush(key_color); - else - keyBorder.Background = new SolidColorBrush(Utils.ColorUtils.MultiplyColorByScalar(key_color, 0.6)); - } - else - { - keyBorder.Background = new SolidColorBrush(System.Windows.Media.Color.FromArgb(255, 100, 100, 100)); - keyBorder.BorderThickness = new Thickness(0); - } - } - } - - private void keyBorder_MouseDown(object sender, MouseButtonEventArgs e) - { - if (sender is Border) - virtualkeyboard_key_selected(associatedKey); - } - - private void keyBorder_MouseMove(object sender, MouseEventArgs e) - { - } - - private void virtualkeyboard_key_selected(Devices.DeviceKeys key) - { - if (key != DeviceKeys.NONE) - { - if (Global.key_recorder.HasRecorded(key)) - Global.key_recorder.RemoveKey(key); - else - Global.key_recorder.AddKey(key); - } - } - - private void keyBorder_MouseLeave(object sender, MouseEventArgs e) - { - } - - private void keyBorder_MouseEnter(object sender, MouseEventArgs e) - { - if (e.LeftButton == MouseButtonState.Pressed && sender is Border) - virtualkeyboard_key_selected(associatedKey); - } - } -} diff --git a/Project-Aurora/Project-Aurora/Settings/Keycaps/Control_DefaultKeycap.xaml.cs b/Project-Aurora/Project-Aurora/Settings/Keycaps/Control_DefaultKeycap.xaml.cs deleted file mode 100755 index b26638f82..000000000 --- a/Project-Aurora/Project-Aurora/Settings/Keycaps/Control_DefaultKeycap.xaml.cs +++ /dev/null @@ -1,202 +0,0 @@ -using Aurora.Devices; -using Aurora.Utils; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Media.Imaging; -using System.Windows.Navigation; -using System.Windows.Shapes; - -namespace Aurora.Settings.Keycaps -{ - /// - /// Interaction logic for Control_DefaultKeycap.xaml - /// - public partial class Control_DefaultKeycap : UserControl, IKeycap - { - private Color current_color = Color.FromArgb(0, 0, 0, 0); - private Devices.DeviceKeys associatedKey = DeviceKeys.NONE; - private bool isImage = false; - - public Control_DefaultKeycap() - { - InitializeComponent(); - } - - public Control_DefaultKeycap(KeyboardKey key, string image_path) - { - InitializeComponent(); - - associatedKey = key.tag; - - this.Width = key.width.Value; - this.Height = key.height.Value; - - //Keycap adjustments - if (string.IsNullOrWhiteSpace(key.image)) - keyBorder.BorderThickness = new Thickness(1.5); - else - keyBorder.BorderThickness = new Thickness(0.0); - keyBorder.IsEnabled = key.enabled.Value; - - if (!key.enabled.Value) - { - ToolTipService.SetShowOnDisabled(keyBorder, true); - keyBorder.ToolTip = new ToolTip { Content = "Changes to this key are not supported" }; - } - - if (string.IsNullOrWhiteSpace(key.image)) - { - keyCap.Text = key.visualName; - keyCap.Tag = key.tag; - if (key.font_size != null) - keyCap.FontSize = key.font_size.Value; - keyCap.Visibility = System.Windows.Visibility.Visible; - } - else - { - keyCap.Visibility = System.Windows.Visibility.Hidden; - - if (System.IO.File.Exists(image_path)) - { - var memStream = new System.IO.MemoryStream(System.IO.File.ReadAllBytes(image_path)); - BitmapImage image = new BitmapImage(); - image.BeginInit(); - image.StreamSource = memStream; - image.EndInit(); - - if (key.tag == DeviceKeys.NONE) - keyBorder.Background = new ImageBrush(image); - else - { - keyBorder.Background = new SolidColorBrush(System.Windows.Media.Color.FromArgb(255, 0, 0, 0)); - keyBorder.OpacityMask = new ImageBrush(image); - } - - isImage = true; - } - } - } - - public DeviceKeys GetKey() - { - return associatedKey; - } - - public void SetColor(Color key_color) - { - if (!current_color.Equals(key_color)) - { - if (!isImage) - { - if (string.IsNullOrWhiteSpace(keyCap.Text)) - keyBorder.BorderBrush = new SolidColorBrush(key_color); - else - keyCap.Foreground = new SolidColorBrush(key_color); - } - else - { - if (associatedKey != DeviceKeys.NONE) - keyBorder.Background = new SolidColorBrush(key_color); - } - current_color = key_color; - } - - if (Global.key_recorder.HasRecorded(associatedKey)) - keyBorder.Background = new SolidColorBrush(System.Windows.Media.Color.FromArgb((byte)255, (byte)0, (byte)(Math.Min(Math.Pow(Math.Cos((double)(Utils.Time.GetMilliSeconds() / 1000.0) * Math.PI) + 0.05, 2.0), 1.0) * 255), (byte)0)); - else - { - if (keyBorder.IsEnabled) - { - if (!isImage) - { - if (string.IsNullOrWhiteSpace(keyCap.Text)) - keyBorder.Background = new SolidColorBrush(Utils.ColorUtils.MultiplyColorByScalar(key_color, 0.6)); - else - keyBorder.Background = new SolidColorBrush(System.Windows.Media.Color.FromArgb((byte)255, (byte)30, (byte)30, (byte)30)); - } - else - keyBorder.Background = new SolidColorBrush(key_color); - } - else - { - keyBorder.Background = new SolidColorBrush(System.Windows.Media.Color.FromArgb(255, 100, 100, 100)); - keyBorder.BorderThickness = new Thickness(0); - } - } - UpdateText(); - } - - private void keyBorder_MouseDown(object sender, MouseButtonEventArgs e) - { - if (sender is Border) - virtualkeyboard_key_selected(associatedKey); - } - - private void keyBorder_MouseMove(object sender, MouseEventArgs e) - { - /* - if (e.LeftButton == MouseButtonState.Pressed) - { - if (sender is Border && (sender as Border).Child != null && (sender as Border).Child is TextBlock && last_selected_element != ((sender as Border).Child as TextBlock)) - { - virtualkeyboard_key_selected((sender as Border).Child as TextBlock); - } - else if (sender is Border && (sender as Border).Tag != null && last_selected_element != (sender as Border)) - { - virtualkeyboard_key_selected(sender as Border); - } - } - */ - } - - private void virtualkeyboard_key_selected(Devices.DeviceKeys key) - { - if(key != DeviceKeys.NONE) - { - if (Global.key_recorder.HasRecorded(key)) - Global.key_recorder.RemoveKey(key); - else - Global.key_recorder.AddKey(key); - } - } - - private void keyBorder_MouseLeave(object sender, MouseEventArgs e) - { - } - - private void keyBorder_MouseEnter(object sender, MouseEventArgs e) - { - if (e.LeftButton == MouseButtonState.Pressed && sender is Border) - virtualkeyboard_key_selected(associatedKey); - } - - public void UpdateText() - { - if (Global.kbLayout.Loaded_Localization.IsAutomaticGeneration()) - { - - //if (keyCap.Text.Length > 1) - // return; - - StringBuilder sb = new StringBuilder(2); - var scan_code = KeyUtils.GetScanCode(associatedKey); - if (scan_code == -1) - return; - /*var key = KeyUtils.GetFormsKey((KeyboardKeys)associatedKey.LedID); - var scan_code = KeyUtils.MapVirtualKeyEx((uint)key, KeyUtils.MapVirtualKeyMapTypes.MapvkVkToVsc, (IntPtr)0x8090809);*/ - - int ret = KeyUtils.GetKeyNameTextW((uint)scan_code << 16, sb, 2); - keyCap.Text = sb.ToString(); - } - } - } -} diff --git a/Project-Aurora/Project-Aurora/Settings/Keycaps/Control_DefaultKeycapBackglow.xaml.cs b/Project-Aurora/Project-Aurora/Settings/Keycaps/Control_DefaultKeycapBackglow.xaml.cs deleted file mode 100755 index 84e5f1eff..000000000 --- a/Project-Aurora/Project-Aurora/Settings/Keycaps/Control_DefaultKeycapBackglow.xaml.cs +++ /dev/null @@ -1,183 +0,0 @@ -using Aurora.Devices; -using Aurora.Utils; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Media.Imaging; -using System.Windows.Navigation; -using System.Windows.Shapes; - -namespace Aurora.Settings.Keycaps -{ - /// - /// Interaction logic for Control_DefaultKeycapBackglow.xaml - /// - public partial class Control_DefaultKeycapBackglow : UserControl, IKeycap - { - private Color current_color = Color.FromArgb(0, 0, 0, 0); - private Devices.DeviceKeys associatedKey = DeviceKeys.NONE; - private bool isImage = false; - - public Control_DefaultKeycapBackglow() - { - InitializeComponent(); - } - - public Control_DefaultKeycapBackglow(KeyboardKey key, string image_path) - { - InitializeComponent(); - - associatedKey = key.tag; - - this.Width = key.width.Value; - this.Height = key.height.Value; - - //Keycap adjustments - if (string.IsNullOrWhiteSpace(key.image)) - keyBorder.BorderThickness = new Thickness(1.5); - else - keyBorder.BorderThickness = new Thickness(0.0); - keyBorder.IsEnabled = key.enabled.Value; - - if (!key.enabled.Value) - { - ToolTipService.SetShowOnDisabled(keyBorder, true); - keyBorder.ToolTip = new ToolTip { Content = "Changes to this key are not supported" }; - } - - if (string.IsNullOrWhiteSpace(key.image)) - { - keyCap.Text = key.visualName; - keyCap.Tag = key.tag; - if (key.font_size != null) - keyCap.FontSize = key.font_size.Value; - keyCap.Visibility = System.Windows.Visibility.Visible; - } - else - { - keyCap.Visibility = System.Windows.Visibility.Hidden; - grid_backglow.Visibility = Visibility.Hidden; - - if (System.IO.File.Exists(image_path)) - { - var memStream = new System.IO.MemoryStream(System.IO.File.ReadAllBytes(image_path)); - BitmapImage image = new BitmapImage(); - image.BeginInit(); - image.StreamSource = memStream; - image.EndInit(); - - if (key.tag == DeviceKeys.NONE) - keyBorder.Background = new ImageBrush(image); - else - { - keyBorder.Background = new SolidColorBrush(System.Windows.Media.Color.FromArgb(255, 0, 0, 0)); - keyBorder.OpacityMask = new ImageBrush(image); - } - - isImage = true; - } - } - } - - public DeviceKeys GetKey() - { - return associatedKey; - } - - public void SetColor(Color key_color) - { - if (!current_color.Equals(key_color)) - { - if (!isImage) - { - keyCap.Foreground = new SolidColorBrush(key_color); - grid_backglow.Background = new SolidColorBrush(key_color); - } - else - { - if (associatedKey != DeviceKeys.NONE) - keyBorder.Background = new SolidColorBrush(key_color); - } - current_color = key_color; - } - - if (Global.key_recorder.HasRecorded(associatedKey)) - keyBorder.Background = new SolidColorBrush(System.Windows.Media.Color.FromArgb((byte)255, (byte)0, (byte)(Math.Min(Math.Pow(Math.Cos((double)(Utils.Time.GetMilliSeconds() / 1000.0) * Math.PI) + 0.05, 2.0), 1.0) * 255), (byte)0)); - else - { - if (keyBorder.IsEnabled) - { - if (!isImage) - keyBorder.Background = new SolidColorBrush(System.Windows.Media.Color.FromArgb((byte)255, (byte)30, (byte)30, (byte)30)); - else - keyBorder.Background = new SolidColorBrush(key_color); - } - else - { - keyBorder.Background = new SolidColorBrush(System.Windows.Media.Color.FromArgb(255, 100, 100, 100)); - keyBorder.BorderThickness = new Thickness(0); - } - } - UpdateText(); - } - - private void keyBorder_MouseDown(object sender, MouseButtonEventArgs e) - { - if (sender is Border) - virtualkeyboard_key_selected(associatedKey); - } - - private void keyBorder_MouseMove(object sender, MouseEventArgs e) - { - } - - private void virtualkeyboard_key_selected(Devices.DeviceKeys key) - { - if (key != DeviceKeys.NONE) - { - if (Global.key_recorder.HasRecorded(key)) - Global.key_recorder.RemoveKey(key); - else - Global.key_recorder.AddKey(key); - } - } - - private void keyBorder_MouseLeave(object sender, MouseEventArgs e) - { - } - - private void keyBorder_MouseEnter(object sender, MouseEventArgs e) - { - if (e.LeftButton == MouseButtonState.Pressed && sender is Border) - virtualkeyboard_key_selected(associatedKey); - } - - public void UpdateText() - { - if (Global.kbLayout.Loaded_Localization.IsAutomaticGeneration()) - { - - //if (keyCap.Text.Length > 1) - // return; - - StringBuilder sb = new StringBuilder(2); - var scan_code = KeyUtils.GetScanCode(associatedKey); - if (scan_code == -1) - return; - /*var key = KeyUtils.GetFormsKey((KeyboardKeys)associatedKey.LedID); - var scan_code = KeyUtils.MapVirtualKeyEx((uint)key, KeyUtils.MapVirtualKeyMapTypes.MapvkVkToVsc, (IntPtr)0x8090809);*/ - - int ret = KeyUtils.GetKeyNameTextW((uint)scan_code << 16, sb, 2); - keyCap.Text = sb.ToString(); - } - } - } -} diff --git a/Project-Aurora/Project-Aurora/Settings/Keycaps/Control_DefaultKeycapBackglowOnly.xaml.cs b/Project-Aurora/Project-Aurora/Settings/Keycaps/Control_DefaultKeycapBackglowOnly.xaml.cs deleted file mode 100755 index 01724f290..000000000 --- a/Project-Aurora/Project-Aurora/Settings/Keycaps/Control_DefaultKeycapBackglowOnly.xaml.cs +++ /dev/null @@ -1,180 +0,0 @@ -using Aurora.Devices; -using Aurora.Utils; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Media.Imaging; -using System.Windows.Navigation; -using System.Windows.Shapes; - -namespace Aurora.Settings.Keycaps -{ - /// - /// Interaction logic for Control_DefaultKeycapBackglowOnly.xaml - /// - public partial class Control_DefaultKeycapBackglowOnly : UserControl, IKeycap - { - private Color current_color = Color.FromArgb(0, 0, 0, 0); - private Devices.DeviceKeys associatedKey = DeviceKeys.NONE; - private bool isImage = false; - - public Control_DefaultKeycapBackglowOnly() - { - InitializeComponent(); - } - - public Control_DefaultKeycapBackglowOnly(KeyboardKey key, string image_path) - { - InitializeComponent(); - - associatedKey = key.tag; - - this.Width = key.width.Value; - this.Height = key.height.Value; - - //Keycap adjustments - if (string.IsNullOrWhiteSpace(key.image)) - keyBorder.BorderThickness = new Thickness(1.5); - else - keyBorder.BorderThickness = new Thickness(0.0); - keyBorder.IsEnabled = key.enabled.Value; - - if (!key.enabled.Value) - { - ToolTipService.SetShowOnDisabled(keyBorder, true); - keyBorder.ToolTip = new ToolTip { Content = "Changes to this key are not supported" }; - } - - if (string.IsNullOrWhiteSpace(key.image)) - { - keyCap.Text = key.visualName; - keyCap.Tag = key.tag; - if (key.font_size != null) - keyCap.FontSize = key.font_size.Value; - keyCap.Visibility = System.Windows.Visibility.Visible; - } - else - { - keyCap.Visibility = System.Windows.Visibility.Hidden; - grid_backglow.Visibility = Visibility.Hidden; - - if (System.IO.File.Exists(image_path)) - { - var memStream = new System.IO.MemoryStream(System.IO.File.ReadAllBytes(image_path)); - BitmapImage image = new BitmapImage(); - image.BeginInit(); - image.StreamSource = memStream; - image.EndInit(); - - if (key.tag == DeviceKeys.NONE) - keyBorder.Background = new ImageBrush(image); - else - { - keyBorder.Background = new SolidColorBrush(System.Windows.Media.Color.FromArgb(255, 0, 0, 0)); - keyBorder.OpacityMask = new ImageBrush(image); - } - - isImage = true; - } - } - } - - public DeviceKeys GetKey() - { - return associatedKey; - } - - public void SetColor(Color key_color) - { - if (!current_color.Equals(key_color)) - { - if (!isImage) - grid_backglow.Background = new SolidColorBrush(key_color); - else - { - if (associatedKey != DeviceKeys.NONE) - keyBorder.Background = new SolidColorBrush(key_color); - } - current_color = key_color; - } - - if (Global.key_recorder.HasRecorded(associatedKey)) - keyBorder.Background = new SolidColorBrush(System.Windows.Media.Color.FromArgb((byte)255, (byte)0, (byte)(Math.Min(Math.Pow(Math.Cos((double)(Utils.Time.GetMilliSeconds() / 1000.0) * Math.PI) + 0.05, 2.0), 1.0) * 255), (byte)0)); - else - { - if (keyBorder.IsEnabled) - { - if(!isImage) - keyBorder.Background = new SolidColorBrush(System.Windows.Media.Color.FromArgb((byte)255, (byte)30, (byte)30, (byte)30)); - else - keyBorder.Background = new SolidColorBrush(key_color); - } - else - { - keyBorder.Background = new SolidColorBrush(System.Windows.Media.Color.FromArgb(255, 100, 100, 100)); - keyBorder.BorderThickness = new Thickness(0); - } - } - UpdateText(); - } - - private void keyBorder_MouseDown(object sender, MouseButtonEventArgs e) - { - if (sender is Border) - virtualkeyboard_key_selected(associatedKey); - } - - private void keyBorder_MouseMove(object sender, MouseEventArgs e) - { - } - - private void virtualkeyboard_key_selected(Devices.DeviceKeys key) - { - if (key != DeviceKeys.NONE) - { - if (Global.key_recorder.HasRecorded(key)) - Global.key_recorder.RemoveKey(key); - else - Global.key_recorder.AddKey(key); - } - } - - private void keyBorder_MouseLeave(object sender, MouseEventArgs e) - { - } - - private void keyBorder_MouseEnter(object sender, MouseEventArgs e) - { - if (e.LeftButton == MouseButtonState.Pressed && sender is Border) - virtualkeyboard_key_selected(associatedKey); - } - - public void UpdateText() - { - if (Global.kbLayout.Loaded_Localization.IsAutomaticGeneration()) - { - - //if (keyCap.Text.Length > 1) - // return; - - StringBuilder sb = new StringBuilder(2); - var scan_code = KeyUtils.GetScanCode(associatedKey); - if (scan_code == -1) - return; - /*var key = KeyUtils.GetFormsKey((KeyboardKeys)associatedKey.LedID); - var scan_code = KeyUtils.MapVirtualKeyEx((uint)key, KeyUtils.MapVirtualKeyMapTypes.MapvkVkToVsc, (IntPtr)0x8090809);*/ - - int ret = KeyUtils.GetKeyNameTextW((uint)scan_code << 16, sb, 2); - keyCap.Text = sb.ToString(); - } - } - } -} diff --git a/Project-Aurora/Project-Aurora/Settings/Keycaps/IKeycap.cs b/Project-Aurora/Project-Aurora/Settings/Keycaps/IKeycap.cs deleted file mode 100644 index 69e25e780..000000000 --- a/Project-Aurora/Project-Aurora/Settings/Keycaps/IKeycap.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows.Media; - -namespace Aurora.Settings.Keycaps -{ - public interface IKeycap - { - void SetColor(Color key_color); - - Devices.DeviceKeys GetKey(); - } -} diff --git a/Project-Aurora/Project-Aurora/Settings/Layers/InteractiveParticleLayerHandler.cs b/Project-Aurora/Project-Aurora/Settings/Layers/InteractiveParticleLayerHandler.cs index 4a6072566..c205b55a7 100644 --- a/Project-Aurora/Project-Aurora/Settings/Layers/InteractiveParticleLayerHandler.cs +++ b/Project-Aurora/Project-Aurora/Settings/Layers/InteractiveParticleLayerHandler.cs @@ -21,7 +21,7 @@ private void KeyDown(object sender, SharpDX.RawInput.KeyboardInputEventArgs e) { protected override void SpawnParticles(double dt) { foreach (var key in awaitingKeys) { - Properties._Sequence = new KeySequence(new[] { key }); + Properties._Sequence = new KeySequence(new DeviceKey[] { key }); var count = rnd.Next(Properties.MinSpawnAmount, Properties.MaxSpawnAmount); for (var i = 0; i < count; i++) SpawnParticle(); diff --git a/Project-Aurora/Project-Aurora/Settings/Layers/ShortcutAssistantLayerHandler.cs b/Project-Aurora/Project-Aurora/Settings/Layers/ShortcutAssistantLayerHandler.cs index 915105bf8..8cecee9ff 100644 --- a/Project-Aurora/Project-Aurora/Settings/Layers/ShortcutAssistantLayerHandler.cs +++ b/Project-Aurora/Project-Aurora/Settings/Layers/ShortcutAssistantLayerHandler.cs @@ -143,14 +143,15 @@ public override EffectLayer Render(IGameState gamestate) if(shortcutKeys.Length > 0) { - Devices.DeviceKeys[] selectedKeys = Utils.KeyUtils.GetDeviceKeys(shortcutKeys, true, !Console.NumberLock) + DeviceKey[] selectedKeys = Utils.KeyUtils.GetDeviceKeys(shortcutKeys, true, !Console.NumberLock) .Concat(Utils.KeyUtils.GetDeviceKeys(heldKeys, true)).ToArray(); if (Properties.DimBackground) { - Devices.DeviceKeys[] backgroundKeys = Utils.KeyUtils.GetDeviceAllKeys().Except(selectedKeys).ToArray(); - sc_assistant_layer.Set(backgroundKeys, Properties.DimColor); - //sc_assistant_layer.Fill(Properties.DimColor); + //TODO ALex + //DeviceKey[] backgroundKeys = Utils.KeyUtils.GetDeviceAllKeys().Except(selectedKeys).ToArray(); + //sc_assistant_layer.Set(backgroundKeys, Properties.DimColor); + sc_assistant_layer.Fill(Properties.DimColor); } sc_assistant_layer.Set(selectedKeys, Properties.PrimaryColor); diff --git a/Project-Aurora/Project-Aurora/Settings/Layers/ToolbarLayerHandler.cs b/Project-Aurora/Project-Aurora/Settings/Layers/ToolbarLayerHandler.cs index 86c0ba7cb..bebc96277 100644 --- a/Project-Aurora/Project-Aurora/Settings/Layers/ToolbarLayerHandler.cs +++ b/Project-Aurora/Project-Aurora/Settings/Layers/ToolbarLayerHandler.cs @@ -40,7 +40,7 @@ public override void Default() { /// public class ToolbarLayerHandler : LayerHandler { - private DeviceKeys activeKey = DeviceKeys.NONE; + private DeviceKey activeKey = DeviceKeys.NONE; public ToolbarLayerHandler() { // Listen for relevant events diff --git a/Project-Aurora/Project-Aurora/Settings/Layers/WrapperLightsLayerHandler.cs b/Project-Aurora/Project-Aurora/Settings/Layers/WrapperLightsLayerHandler.cs index 75207c375..b8fa4fe47 100644 --- a/Project-Aurora/Project-Aurora/Settings/Layers/WrapperLightsLayerHandler.cs +++ b/Project-Aurora/Project-Aurora/Settings/Layers/WrapperLightsLayerHandler.cs @@ -38,8 +38,8 @@ public class WrapperLightsLayerHandlerProperties : LayerHandlerProperties CloningMap => Logic._CloningMap ?? _CloningMap ?? new Dictionary(); - public Dictionary _CloningMap { get; set; } + public Dictionary CloningMap => Logic._CloningMap ?? _CloningMap ?? new Dictionary(); + public Dictionary _CloningMap { get; set; } public WrapperLightsLayerHandlerProperties() : base() { } @@ -55,7 +55,7 @@ public override void Default() _ColorEnhanceColorFactor = 90; _ColorEnhanceColorHSVSine = 0.1f; _ColorEnhanceColorHSVGamma = 2.5f; - _CloningMap = new Dictionary(); + _CloningMap = new Dictionary(); } } diff --git a/Project-Aurora/Project-Aurora/Settings/ProfileImporter.cs b/Project-Aurora/Project-Aurora/Settings/ProfileImporter.cs index 61cd09c38..3fb3d2d1f 100644 --- a/Project-Aurora/Project-Aurora/Settings/ProfileImporter.cs +++ b/Project-Aurora/Project-Aurora/Settings/ProfileImporter.cs @@ -2,7 +2,7 @@ using Aurora.EffectsEngine.Animations; using Aurora.Profiles; using Aurora.Settings.Layers; -using CorsairRGB.NET.Enums; +using Corsair.CUE.SDK; using Newtonsoft.Json; using System; using System.Collections.Generic; @@ -101,50 +101,50 @@ private static void ImportCueprofile(this Application app, string filepath) { try { - CorsairRGB.NET.Enums.CorsairLedId? keyValue = null; + CorsairLedId? keyValue = null; switch (key.Value) { case "0": - keyValue = CorsairRGB.NET.Enums.CorsairLedId.K_0; + keyValue = CorsairLedId.CLK_0; break; case "1": - keyValue = CorsairRGB.NET.Enums.CorsairLedId.K_1; + keyValue = CorsairLedId.CLK_1; break; case "2": - keyValue = CorsairRGB.NET.Enums.CorsairLedId.K_2; + keyValue = CorsairLedId.CLK_2; break; case "3": - keyValue = CorsairRGB.NET.Enums.CorsairLedId.K_3; + keyValue = CorsairLedId.CLK_3; break; case "4": - keyValue = CorsairRGB.NET.Enums.CorsairLedId.K_4; + keyValue = CorsairLedId.CLK_4; break; case "5": - keyValue = CorsairRGB.NET.Enums.CorsairLedId.K_5; + keyValue = CorsairLedId.CLK_5; break; case "6": - keyValue = CorsairRGB.NET.Enums.CorsairLedId.K_6; + keyValue = CorsairLedId.CLK_6; break; case "7": - keyValue = CorsairRGB.NET.Enums.CorsairLedId.K_7; + keyValue = CorsairLedId.CLK_7; break; case "8": - keyValue = CorsairRGB.NET.Enums.CorsairLedId.K_8; + keyValue = CorsairLedId.CLK_8; break; case "9": - keyValue = CorsairRGB.NET.Enums.CorsairLedId.K_9; + keyValue = CorsairLedId.CLK_9; break; case "Led_KeyboardLogo": - keyValue = CorsairRGB.NET.Enums.CorsairLedId.K_Logo; + keyValue = CorsairLedId.CLK_Logo; break; case "Led_KeyboardTopLogo2": - keyValue = CorsairRGB.NET.Enums.CorsairLedId.K_Logo; + keyValue = CorsairLedId.CLK_Logo; break; default: if (key.Value.StartsWith("Led_Top")) key.Value = "G18"; - if(Enum.TryParse("K_" + key.Value, out var corsairLedId)){ + if(Enum.TryParse("CLK_" + key.Value, out var corsairLedId)){ keyValue = corsairLedId; } else @@ -763,283 +763,283 @@ void ImportLayers(ObservableCollection source, ObservableCollection /// The CorsairLedId to be converted /// The resulting Devices.DeviceKeys - public static DeviceKeys ToDeviceKeys(CorsairRGB.NET.Enums.CorsairLedId CorsairKey) + public static DeviceKeys ToDeviceKeys(CorsairLedId CorsairKey) { switch (CorsairKey) { - case (CorsairLedId.K_Logo): + case (CorsairLedId.CLK_Logo): return DeviceKeys.LOGO; - case (CorsairLedId.K_Brightness): + case (CorsairLedId.CLK_Brightness): return DeviceKeys.BRIGHTNESS_SWITCH; - case (CorsairLedId.K_WinLock): + case (CorsairLedId.CLK_WinLock): return DeviceKeys.LOCK_SWITCH; - case (CorsairLedId.K_Mute): + case (CorsairLedId.CLK_Mute): return DeviceKeys.VOLUME_MUTE; - case (CorsairLedId.K_VolumeUp): + case (CorsairLedId.CLK_VolumeUp): return DeviceKeys.VOLUME_UP; - case (CorsairLedId.K_VolumeDown): + case (CorsairLedId.CLK_VolumeDown): return DeviceKeys.VOLUME_DOWN; - case (CorsairLedId.K_Stop): + case (CorsairLedId.CLK_Stop): return DeviceKeys.MEDIA_STOP; - case (CorsairLedId.K_PlayPause): + case (CorsairLedId.CLK_PlayPause): return DeviceKeys.MEDIA_PLAY_PAUSE; - case (CorsairLedId.K_ScanPreviousTrack): + case (CorsairLedId.CLK_ScanPreviousTrack): return DeviceKeys.MEDIA_PREVIOUS; - case (CorsairLedId.K_ScanNextTrack): + case (CorsairLedId.CLK_ScanNextTrack): return DeviceKeys.MEDIA_NEXT; - case (CorsairLedId.K_Escape): + case (CorsairLedId.CLK_Escape): return DeviceKeys.ESC; - case (CorsairLedId.K_F1): + case (CorsairLedId.CLK_F1): return DeviceKeys.F1; - case (CorsairLedId.K_F2): + case (CorsairLedId.CLK_F2): return DeviceKeys.F2; - case (CorsairLedId.K_F3): + case (CorsairLedId.CLK_F3): return DeviceKeys.F3; - case (CorsairLedId.K_F4): + case (CorsairLedId.CLK_F4): return DeviceKeys.F4; - case (CorsairLedId.K_F5): + case (CorsairLedId.CLK_F5): return DeviceKeys.F5; - case (CorsairLedId.K_F6): + case (CorsairLedId.CLK_F6): return DeviceKeys.F6; - case (CorsairLedId.K_F7): + case (CorsairLedId.CLK_F7): return DeviceKeys.F7; - case (CorsairLedId.K_F8): + case (CorsairLedId.CLK_F8): return DeviceKeys.F8; - case (CorsairLedId.K_F9): + case (CorsairLedId.CLK_F9): return DeviceKeys.F9; - case (CorsairLedId.K_F10): + case (CorsairLedId.CLK_F10): return DeviceKeys.F10; - case (CorsairLedId.K_F11): + case (CorsairLedId.CLK_F11): return DeviceKeys.F11; - case (CorsairLedId.K_F12): + case (CorsairLedId.CLK_F12): return DeviceKeys.F12; - case (CorsairLedId.K_PrintScreen): + case (CorsairLedId.CLK_PrintScreen): return DeviceKeys.PRINT_SCREEN; - case (CorsairLedId.K_ScrollLock): + case (CorsairLedId.CLK_ScrollLock): return DeviceKeys.SCROLL_LOCK; - case (CorsairLedId.K_PauseBreak): + case (CorsairLedId.CLK_PauseBreak): return DeviceKeys.PAUSE_BREAK; - case (CorsairLedId.K_GraveAccentAndTilde): + case (CorsairLedId.CLK_GraveAccentAndTilde): return DeviceKeys.TILDE; - case (CorsairLedId.K_1): + case (CorsairLedId.CLK_1): return DeviceKeys.ONE; - case (CorsairLedId.K_2): + case (CorsairLedId.CLK_2): return DeviceKeys.TWO; - case (CorsairLedId.K_3): + case (CorsairLedId.CLK_3): return DeviceKeys.THREE; - case (CorsairLedId.K_4): + case (CorsairLedId.CLK_4): return DeviceKeys.FOUR; - case (CorsairLedId.K_5): + case (CorsairLedId.CLK_5): return DeviceKeys.FIVE; - case (CorsairLedId.K_6): + case (CorsairLedId.CLK_6): return DeviceKeys.SIX; - case (CorsairLedId.K_7): + case (CorsairLedId.CLK_7): return DeviceKeys.SEVEN; - case (CorsairLedId.K_8): + case (CorsairLedId.CLK_8): return DeviceKeys.EIGHT; - case (CorsairLedId.K_9): + case (CorsairLedId.CLK_9): return DeviceKeys.NINE; - case (CorsairLedId.K_0): + case (CorsairLedId.CLK_0): return DeviceKeys.ZERO; - case (CorsairLedId.K_MinusAndUnderscore): + case (CorsairLedId.CLK_MinusAndUnderscore): return DeviceKeys.MINUS; - case (CorsairLedId.K_EqualsAndPlus): + case (CorsairLedId.CLK_EqualsAndPlus): return DeviceKeys.EQUALS; - case (CorsairLedId.K_Backspace): + case (CorsairLedId.CLK_Backspace): return DeviceKeys.BACKSPACE; - case (CorsairLedId.K_Insert): + case (CorsairLedId.CLK_Insert): return DeviceKeys.INSERT; - case (CorsairLedId.K_Home): + case (CorsairLedId.CLK_Home): return DeviceKeys.HOME; - case (CorsairLedId.K_PageUp): + case (CorsairLedId.CLK_PageUp): return DeviceKeys.PAGE_UP; - case (CorsairLedId.K_NumLock): + case (CorsairLedId.CLK_NumLock): return DeviceKeys.NUM_LOCK; - case (CorsairLedId.K_KeypadSlash): + case (CorsairLedId.CLK_KeypadSlash): return DeviceKeys.NUM_SLASH; - case (CorsairLedId.K_KeypadAsterisk): + case (CorsairLedId.CLK_KeypadAsterisk): return DeviceKeys.NUM_ASTERISK; - case (CorsairLedId.K_KeypadMinus): + case (CorsairLedId.CLK_KeypadMinus): return DeviceKeys.NUM_MINUS; - case (CorsairLedId.K_Tab): + case (CorsairLedId.CLK_Tab): return DeviceKeys.TAB; - case (CorsairLedId.K_Q): + case (CorsairLedId.CLK_Q): return DeviceKeys.Q; - case (CorsairLedId.K_W): + case (CorsairLedId.CLK_W): return DeviceKeys.W; - case (CorsairLedId.K_E): + case (CorsairLedId.CLK_E): return DeviceKeys.E; - case (CorsairLedId.K_R): + case (CorsairLedId.CLK_R): return DeviceKeys.R; - case (CorsairLedId.K_T): + case (CorsairLedId.CLK_T): return DeviceKeys.T; - case (CorsairLedId.K_Y): + case (CorsairLedId.CLK_Y): return DeviceKeys.Y; - case (CorsairLedId.K_U): + case (CorsairLedId.CLK_U): return DeviceKeys.U; - case (CorsairLedId.K_I): + case (CorsairLedId.CLK_I): return DeviceKeys.I; - case (CorsairLedId.K_O): + case (CorsairLedId.CLK_O): return DeviceKeys.O; - case (CorsairLedId.K_P): + case (CorsairLedId.CLK_P): return DeviceKeys.P; - case (CorsairLedId.K_BracketLeft): + case (CorsairLedId.CLK_BracketLeft): return DeviceKeys.OPEN_BRACKET; - case (CorsairLedId.K_BracketRight): + case (CorsairLedId.CLK_BracketRight): return DeviceKeys.CLOSE_BRACKET; - case (CorsairLedId.K_Backslash): + case (CorsairLedId.CLK_Backslash): return DeviceKeys.BACKSLASH; - case (CorsairLedId.K_Delete): + case (CorsairLedId.CLK_Delete): return DeviceKeys.DELETE; - case (CorsairLedId.K_End): + case (CorsairLedId.CLK_End): return DeviceKeys.END; - case (CorsairLedId.K_PageDown): + case (CorsairLedId.CLK_PageDown): return DeviceKeys.PAGE_DOWN; - case (CorsairLedId.K_Keypad7): + case (CorsairLedId.CLK_Keypad7): return DeviceKeys.NUM_SEVEN; - case (CorsairLedId.K_Keypad8): + case (CorsairLedId.CLK_Keypad8): return DeviceKeys.NUM_EIGHT; - case (CorsairLedId.K_Keypad9): + case (CorsairLedId.CLK_Keypad9): return DeviceKeys.NUM_NINE; - case (CorsairLedId.K_KeypadPlus): + case (CorsairLedId.CLK_KeypadPlus): return DeviceKeys.NUM_PLUS; - case (CorsairLedId.K_CapsLock): + case (CorsairLedId.CLK_CapsLock): return DeviceKeys.CAPS_LOCK; - case (CorsairLedId.K_A): + case (CorsairLedId.CLK_A): return DeviceKeys.A; - case (CorsairLedId.K_S): + case (CorsairLedId.CLK_S): return DeviceKeys.S; - case (CorsairLedId.K_D): + case (CorsairLedId.CLK_D): return DeviceKeys.D; - case (CorsairLedId.K_F): + case (CorsairLedId.CLK_F): return DeviceKeys.F; - case (CorsairLedId.K_G): + case (CorsairLedId.CLK_G): return DeviceKeys.G; - case (CorsairLedId.K_H): + case (CorsairLedId.CLK_H): return DeviceKeys.H; - case (CorsairLedId.K_J): + case (CorsairLedId.CLK_J): return DeviceKeys.J; - case (CorsairLedId.K_K): + case (CorsairLedId.CLK_K): return DeviceKeys.K; - case (CorsairLedId.K_L): + case (CorsairLedId.CLK_L): return DeviceKeys.L; - case (CorsairLedId.K_SemicolonAndColon): + case (CorsairLedId.CLK_SemicolonAndColon): return DeviceKeys.SEMICOLON; - case (CorsairLedId.K_ApostropheAndDoubleQuote): + case (CorsairLedId.CLK_ApostropheAndDoubleQuote): return DeviceKeys.APOSTROPHE; - case (CorsairLedId.K_NonUsTilde): + case (CorsairLedId.CLK_NonUsTilde): return DeviceKeys.HASHTAG; - case (CorsairLedId.K_Enter): + case (CorsairLedId.CLK_Enter): return DeviceKeys.ENTER; - case (CorsairLedId.K_Keypad4): + case (CorsairLedId.CLK_Keypad4): return DeviceKeys.NUM_FOUR; - case (CorsairLedId.K_Keypad5): + case (CorsairLedId.CLK_Keypad5): return DeviceKeys.NUM_FIVE; - case (CorsairLedId.K_Keypad6): + case (CorsairLedId.CLK_Keypad6): return DeviceKeys.NUM_SIX; - case (CorsairLedId.K_LeftShift): + case (CorsairLedId.CLK_LeftShift): return DeviceKeys.LEFT_SHIFT; - case (CorsairLedId.K_NonUsBackslash): + case (CorsairLedId.CLK_NonUsBackslash): return DeviceKeys.BACKSLASH_UK; - case (CorsairLedId.K_Z): + case (CorsairLedId.CLK_Z): return DeviceKeys.Z; - case (CorsairLedId.K_X): + case (CorsairLedId.CLK_X): return DeviceKeys.X; - case (CorsairLedId.K_C): + case (CorsairLedId.CLK_C): return DeviceKeys.C; - case (CorsairLedId.K_V): + case (CorsairLedId.CLK_V): return DeviceKeys.V; - case (CorsairLedId.K_B): + case (CorsairLedId.CLK_B): return DeviceKeys.B; - case (CorsairLedId.K_N): + case (CorsairLedId.CLK_N): return DeviceKeys.N; - case (CorsairLedId.K_M): + case (CorsairLedId.CLK_M): return DeviceKeys.M; - case (CorsairLedId.K_CommaAndLessThan): + case (CorsairLedId.CLK_CommaAndLessThan): return DeviceKeys.COMMA; - case (CorsairLedId.K_PeriodAndBiggerThan): + case (CorsairLedId.CLK_PeriodAndBiggerThan): return DeviceKeys.PERIOD; - case (CorsairLedId.K_SlashAndQuestionMark): + case (CorsairLedId.CLK_SlashAndQuestionMark): return DeviceKeys.FORWARD_SLASH; - case (CorsairLedId.K_RightShift): + case (CorsairLedId.CLK_RightShift): return DeviceKeys.RIGHT_SHIFT; - case (CorsairLedId.K_UpArrow): + case (CorsairLedId.CLK_UpArrow): return DeviceKeys.ARROW_UP; - case (CorsairLedId.K_Keypad1): + case (CorsairLedId.CLK_Keypad1): return DeviceKeys.NUM_ONE; - case (CorsairLedId.K_Keypad2): + case (CorsairLedId.CLK_Keypad2): return DeviceKeys.NUM_TWO; - case (CorsairLedId.K_Keypad3): + case (CorsairLedId.CLK_Keypad3): return DeviceKeys.NUM_THREE; - case (CorsairLedId.K_KeypadEnter): + case (CorsairLedId.CLK_KeypadEnter): return DeviceKeys.NUM_ENTER; - case (CorsairLedId.K_LeftCtrl): + case (CorsairLedId.CLK_LeftCtrl): return DeviceKeys.LEFT_CONTROL; - case (CorsairLedId.K_LeftGui): + case (CorsairLedId.CLK_LeftGui): return DeviceKeys.LEFT_WINDOWS; - case (CorsairLedId.K_LeftAlt): + case (CorsairLedId.CLK_LeftAlt): return DeviceKeys.LEFT_ALT; - case (CorsairLedId.K_Space): + case (CorsairLedId.CLK_Space): return DeviceKeys.SPACE; - case (CorsairLedId.K_RightAlt): + case (CorsairLedId.CLK_RightAlt): return DeviceKeys.RIGHT_ALT; - case (CorsairLedId.K_RightGui): + case (CorsairLedId.CLK_RightGui): return DeviceKeys.RIGHT_WINDOWS; - case (CorsairLedId.K_Application): + case (CorsairLedId.CLK_Application): return DeviceKeys.APPLICATION_SELECT; - case (CorsairLedId.K_RightCtrl): + case (CorsairLedId.CLK_RightCtrl): return DeviceKeys.RIGHT_CONTROL; - case (CorsairLedId.K_LeftArrow): + case (CorsairLedId.CLK_LeftArrow): return DeviceKeys.ARROW_LEFT; - case (CorsairLedId.K_DownArrow): + case (CorsairLedId.CLK_DownArrow): return DeviceKeys.ARROW_DOWN; - case (CorsairLedId.K_RightArrow): + case (CorsairLedId.CLK_RightArrow): return DeviceKeys.ARROW_RIGHT; - case (CorsairLedId.K_Keypad0): + case (CorsairLedId.CLK_Keypad0): return DeviceKeys.NUM_ZERO; - case (CorsairLedId.K_KeypadPeriodAndDelete): + case (CorsairLedId.CLK_KeypadPeriodAndDelete): return DeviceKeys.NUM_PERIOD; - case (CorsairLedId.K_Fn): + case (CorsairLedId.CLK_Fn): return DeviceKeys.FN_Key; - case (CorsairLedId.K_G1): + case (CorsairLedId.CLK_G1): return DeviceKeys.G1; - case (CorsairLedId.K_G2): + case (CorsairLedId.CLK_G2): return DeviceKeys.G2; - case (CorsairLedId.K_G3): + case (CorsairLedId.CLK_G3): return DeviceKeys.G3; - case (CorsairLedId.K_G4): + case (CorsairLedId.CLK_G4): return DeviceKeys.G4; - case (CorsairLedId.K_G5): + case (CorsairLedId.CLK_G5): return DeviceKeys.G5; - case (CorsairLedId.K_G6): + case (CorsairLedId.CLK_G6): return DeviceKeys.G6; - case (CorsairLedId.K_G7): + case (CorsairLedId.CLK_G7): return DeviceKeys.G7; - case (CorsairLedId.K_G8): + case (CorsairLedId.CLK_G8): return DeviceKeys.G8; - case (CorsairLedId.K_G9): + case (CorsairLedId.CLK_G9): return DeviceKeys.G9; - case (CorsairLedId.K_G10): + case (CorsairLedId.CLK_G10): return DeviceKeys.G10; - case (CorsairLedId.K_G11): + case (CorsairLedId.CLK_G11): return DeviceKeys.G11; - case (CorsairLedId.K_G12): + case (CorsairLedId.CLK_G12): return DeviceKeys.G12; - case (CorsairLedId.K_G13): + case (CorsairLedId.CLK_G13): return DeviceKeys.G13; - case (CorsairLedId.K_G14): + case (CorsairLedId.CLK_G14): return DeviceKeys.G14; - case (CorsairLedId.K_G15): + case (CorsairLedId.CLK_G15): return DeviceKeys.G15; - case (CorsairLedId.K_G16): + case (CorsairLedId.CLK_G16): return DeviceKeys.G16; - case (CorsairLedId.K_G17): + case (CorsairLedId.CLK_G17): return DeviceKeys.G17; - case (CorsairLedId.K_G18): + case (CorsairLedId.CLK_G18): return DeviceKeys.G18; default: diff --git a/Project-Aurora/Project-Aurora/Utils/DeviceKeysUtils.cs b/Project-Aurora/Project-Aurora/Utils/DeviceKeysUtils.cs index 73346122b..d799e7626 100644 --- a/Project-Aurora/Project-Aurora/Utils/DeviceKeysUtils.cs +++ b/Project-Aurora/Project-Aurora/Utils/DeviceKeysUtils.cs @@ -270,9 +270,10 @@ public static Logitech_keyboardBitmapKeys ToLogitechBitmap(DeviceKeys key) case (DeviceKeys.JPN_HALFFULLWIDTH): return Logitech_keyboardBitmapKeys.TILDE; case (DeviceKeys.OEM5): - if (Global.kbLayout.Loaded_Localization == Settings.PreferredKeyboardLocalization.jpn) + //TODO Fix this + /*if (Global.kbLayout.Loaded_Localization == Settings.PreferredKeyboardLocalization.jpn) return Logitech_keyboardBitmapKeys.UNKNOWN; - else + else*/ return Logitech_keyboardBitmapKeys.TILDE; case (DeviceKeys.TILDE): return Logitech_keyboardBitmapKeys.TILDE; @@ -395,9 +396,10 @@ public static Logitech_keyboardBitmapKeys ToLogitechBitmap(DeviceKeys key) case (DeviceKeys.LEFT_SHIFT): return Logitech_keyboardBitmapKeys.LEFT_SHIFT; case (DeviceKeys.BACKSLASH_UK): - if (Global.kbLayout.Loaded_Localization == Settings.PreferredKeyboardLocalization.jpn) + //TODO Fix this + /*if (Global.kbLayout.Loaded_Localization == Settings.PreferredKeyboardLocalization.jpn) return Logitech_keyboardBitmapKeys.OEM102; - else + else*/ return Logitech_keyboardBitmapKeys.BACKSLASH_UK; case (DeviceKeys.Z): return Logitech_keyboardBitmapKeys.Z; diff --git a/Project-Aurora/Project-Aurora/Utils/EnumUtils.cs b/Project-Aurora/Project-Aurora/Utils/EnumUtils.cs index c89c4d9c2..0f1b147cd 100755 --- a/Project-Aurora/Project-Aurora/Utils/EnumUtils.cs +++ b/Project-Aurora/Project-Aurora/Utils/EnumUtils.cs @@ -152,7 +152,6 @@ public static ListCollectionView GetListFor(Type enumType, bool doGroup = false) } } - /// /// Converter that takes an enum value and outputs it's description. /// diff --git a/Project-Aurora/Project-Aurora/Utils/JSONUtils.cs b/Project-Aurora/Project-Aurora/Utils/JSONUtils.cs index e1471be3d..8814d858c 100755 --- a/Project-Aurora/Project-Aurora/Utils/JSONUtils.cs +++ b/Project-Aurora/Project-Aurora/Utils/JSONUtils.cs @@ -23,6 +23,8 @@ public override Type BindToType(string assemblyName, string typeName) { switch (typeName) { + case "System.Collections.Generic.List`1[[Aurora.Devices.DeviceKeys, Aurora]]": + return typeof(List); case "System.Collections.Generic.List`1[[System.Drawing.Color, System.Drawing]]": return typeof(List); case "System.Collections.Generic.SortedDictionary`2[[System.Single, mscorlib],[System.Drawing.Color, System.Drawing]]": diff --git a/Project-Aurora/Project-Aurora/Utils/KeyUtils.cs b/Project-Aurora/Project-Aurora/Utils/KeyUtils.cs index a8a81136a..eb9682ec5 100755 --- a/Project-Aurora/Project-Aurora/Utils/KeyUtils.cs +++ b/Project-Aurora/Project-Aurora/Utils/KeyUtils.cs @@ -68,8 +68,8 @@ public static DeviceKeys GetDeviceKey(Keys forms_key, int scanCode = 0, bool isE { DeviceKeys key = getDeviceKey(forms_key, scanCode, isExtendedKey); //Global.logger.LogLine(key.ToString() + ":" + ((int)key).ToString()); - if (Global.kbLayout.LayoutKeyConversion.ContainsKey(key)) - return Global.kbLayout.LayoutKeyConversion[key]; + /*if (Global.kbLayout.LayoutKeyConversion.ContainsKey(key)) + return Global.kbLayout.LayoutKeyConversion[key];*/ return key; } @@ -101,8 +101,8 @@ public static DeviceKeys GetDeviceKey(Keys forms_key, int scanCode = 0, bool isE {7, DeviceKeys.SIX}, {8, DeviceKeys.SEVEN}, {9, DeviceKeys.EIGHT}, - {10, DeviceKeys.NINE}, - {11, DeviceKeys.ZERO},*/ + {10, DeviceKeys.NINE},*/ + {11, DeviceKeys.ZERO}, {12, DeviceKeys.MINUS}, {13, DeviceKeys.EQUALS}, /*{14, DeviceKeys.BACKSPACE}, @@ -232,7 +232,7 @@ public static void CorrectRawInputData(KeyboardInputEventArgs e) // see http://www.win.tue.nl/~aeb/linux/kbd/scancodes-1.html bool isE0 = e.ScanCodeFlags.HasFlag(ScanCodeFlags.E0); bool isE1 = e.ScanCodeFlags.HasFlag(ScanCodeFlags.E1); - if (Global.kbLayout.Loaded_Localization.IsAutomaticGeneration() && ((e.Key >= Keys.A && e.Key <= Keys.Z) || (e.Key >= Keys.Oem1 && e.Key <= Keys.Oem102))) + if ((e.Key >= Keys.A && e.Key <= Keys.Z) || (e.Key >= Keys.Oem1 && e.Key <= Keys.Oem102)) { uint thread = GetWindowThreadProcessId(ActiveProcessMonitor.GetForegroundWindow(), IntPtr.Zero); var layout = GetKeyboardLayout(thread); @@ -883,9 +883,9 @@ private static DeviceKeys getDeviceKey(Keys forms_key, int scanCode = 0, bool is /// /// Array of Forms.Keys to be converted /// The resulting Devices.DeviceKeys - public static DeviceKeys[] GetDeviceKeys(Keys[] formsKeys, bool extendedKeys = false, bool getBoth = false) + public static DeviceKey[] GetDeviceKeys(Keys[] formsKeys, bool extendedKeys = false, bool getBoth = false) { - HashSet _returnKeys = new HashSet(); + HashSet _returnKeys = new HashSet(); for (int i = 0; i < formsKeys.Length; i++) { diff --git a/Project-Aurora/Project-Aurora/Utils/UIUtils.cs b/Project-Aurora/Project-Aurora/Utils/UIUtils.cs index c60105bd9..1101656e5 100644 --- a/Project-Aurora/Project-Aurora/Utils/UIUtils.cs +++ b/Project-Aurora/Project-Aurora/Utils/UIUtils.cs @@ -1,4 +1,5 @@ using Aurora.Devices; +using Aurora.Settings; using System; using System.Collections.Generic; using System.ComponentModel; @@ -14,19 +15,19 @@ namespace Aurora.Utils { public static class UIUtils { - public static void SetSingleKey(TextBlock key_destination, List keyslist, int position) + public static void SetSingleKey(TextBlock key_destination, List keyslist, int position) { if (keyslist.Count > position) - key_destination.Text = Enum.GetName(typeof(DeviceKeys), keyslist[position]); + key_destination.Text = keyslist[position].VisualName; else - key_destination.Text = Enum.GetName(typeof(DeviceKeys), DeviceKeys.NONE); + key_destination.Text = "None"; } - public static List SequenceToList(ItemCollection items) + public static List SequenceToList(ItemCollection items) { - List newsequence = new List(); + List newsequence = new List(); - foreach (Devices.DeviceKeys key in items) + foreach (DeviceKey key in items) { newsequence.Add(key); } diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/asus_pugio_features.json b/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/asus_pugio_features.json deleted file mode 100644 index 338f9e795..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/asus_pugio_features.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "group_tag": "mouse", - "origin_region": 4, - "grouped_keys": [ - { - "tag": -1, - "margin_left": 20.0, - "margin_top": -232.0, - "width": 128.0, - "height": 232.0, - "margin_left_bits": 1, - "margin_top_bits": -19, - "width_bits": 13, - "height_bits": 19, - "image": "Asus_Pugio_body.png", - "enabled": true, - "absolute_location": true - }, - { - "visualName": "Scroll Wheel", - "tag": 161, - "margin_left": 76.0, - "margin_top": -210.0, - "width": 14.0, - "height": 41.0, - "width_bits": 2, - "height_bits": 3, - "margin_left_bits": 7, - "margin_top_bits": -16, - "image": "Asus_Pugio_wheel.png", - "enabled": true, - "absolute_location": true - }, - { - "visualName": "Bottom Light", - "tag": 162, - "margin_left": 19.5, - "margin_top": -102.5, - "width": 128.5, - "height": 103, - "width_bits": 2, - "height_bits": 3, - "margin_left_bits": 7, - "margin_top_bits": -16, - "image": "Asus_Pugio_backlights.png", - "enabled": true, - "absolute_location": true - }, - { - "visualName": "Logo", - "tag": 160, - "margin_left": 61.0, - "margin_top": -45.0, - "width": 46, - "height": 24, - "width_bits": 2, - "height_bits": 2, - "margin_left_bits": 6, - "margin_top_bits": -5, - "image": "Asus_Pugio_logo.png", - "enabled": true, - "absolute_location": true - } - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/clevo_touchpad_features.json b/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/clevo_touchpad_features.json deleted file mode 100644 index 837bcc6ee..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/clevo_touchpad_features.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "group_tag": "mouse", - "origin_region": 3, - "grouped_keys": [ - { - "visualName": "TOUCHPAD", - "tag": 0, - "line_break": false, - "margin_left": 149.0, - "margin_top": 0.0, - "width": 208.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 17, - "height_bits": 3, - "margin_left_bits": 12, - "margin_top_bits": 0, - "enabled": true, - "absolute_location": true - } - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/corsair_k95_platinum_left_features.json b/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/corsair_k95_platinum_left_features.json deleted file mode 100644 index aafe44a32..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/corsair_k95_platinum_left_features.json +++ /dev/null @@ -1,411 +0,0 @@ -{ - "group_tag": "keyboard", - "origin_region": 1, - "grouped_keys": [ - { - "visualName": "", - "tag": 142, - "margin_left": -47.0, - "margin_top": -54.0, - "width": 46.0, - "height": 10.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 1, - "margin_left_bits": -4, - "margin_top_bits": -4, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "", - "tag": 143, - "margin_left": -1.0, - "margin_top": -54.0, - "width": 46.0, - "height": 10.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 1, - "margin_left_bits": 0, - "margin_top_bits": -4, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "", - "tag": 144, - "margin_left": 45.0, - "margin_top": -54.0, - "width": 46.0, - "height": 10.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 1, - "margin_left_bits": 4, - "margin_top_bits": -4, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "", - "tag": 145, - "margin_left": 91.0, - "margin_top": -54.0, - "width": 46.0, - "height": 10.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 1, - "margin_left_bits": 8, - "margin_top_bits": -4, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "", - "tag": 146, - "margin_left": 137.0, - "margin_top": -54.0, - "width": 46.0, - "height": 10.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 1, - "margin_left_bits": 11, - "margin_top_bits": -4, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "", - "tag": 147, - "margin_left": 183.0, - "margin_top": -54.0, - "width": 46.0, - "height": 10.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 1, - "margin_left_bits": 15, - "margin_top_bits": -4, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "", - "tag": 148, - "margin_left": 229.0, - "margin_top": -54.0, - "width": 46.0, - "height": 10.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 1, - "margin_left_bits": 19, - "margin_top_bits": -4, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "", - "tag": 149, - "margin_left": 275.0, - "margin_top": -54.0, - "width": 46.0, - "height": 10.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 1, - "margin_left_bits": 23, - "margin_top_bits": -4, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "", - "tag": 150, - "margin_left": 321.0, - "margin_top": -54.0, - "width": 46.0, - "height": 10.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 1, - "margin_left_bits": 27, - "margin_top_bits": -4, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "", - "tag": 151, - "margin_left": 367.0, - "margin_top": -54.0, - "width": 46.0, - "height": 10.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 1, - "margin_left_bits": 31, - "margin_top_bits": -4, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "", - "tag": 172, - "margin_left": 413.0, - "margin_top": -54.0, - "width": 46.0, - "height": 10.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 1, - "margin_left_bits": 34, - "margin_top_bits": -4, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "", - "tag": 173, - "margin_left": 459.0, - "margin_top": -54.0, - "width": 46.0, - "height": 10.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 1, - "margin_left_bits": 38, - "margin_top_bits": -4, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "", - "tag": 174, - "margin_left": 505.0, - "margin_top": -54.0, - "width": 46.0, - "height": 10.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 1, - "margin_left_bits": 42, - "margin_top_bits": -4, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "", - "tag": 175, - "margin_left": 551.0, - "margin_top": -54.0, - "width": 46.0, - "height": 10.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 1, - "margin_left_bits": 46, - "margin_top_bits": -4, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "", - "tag": 176, - "margin_left": 597.0, - "margin_top": -54.0, - "width": 46.0, - "height": 10.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 1, - "margin_left_bits": 50, - "margin_top_bits": -4, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "", - "tag": 177, - "margin_left": 643.0, - "margin_top": -54.0, - "width": 46.0, - "height": 10.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 1, - "margin_left_bits": 53, - "margin_top_bits": -4, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "", - "tag": 178, - "margin_left": 689.0, - "margin_top": -54.0, - "width": 46.0, - "height": 10.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 1, - "margin_left_bits": 57, - "margin_top_bits": -4, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "", - "tag": 179, - "margin_left": 735.0, - "margin_top": -54.0, - "width": 46.0, - "height": 10.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 1, - "margin_left_bits": 61, - "margin_top_bits": -4, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "", - "tag": 180, - "margin_left": 781.0, - "margin_top": -54.0, - "width": 46.0, - "height": 10.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 1, - "margin_left_bits": 65, - "margin_top_bits": -4, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "LIGHTS", - "tag": 131, - "margin_left": 104.0, - "margin_top": -37.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 9, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "LOCK", - "tag": 132, - "margin_left": 141.0, - "margin_top": -37.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 12, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "G1", - "tag": 108, - "margin_left": -43.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": -4, - "margin_top_bits": 0, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "G2", - "tag": 109, - "margin_left": -43.0, - "margin_top": 37.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": -4, - "margin_top_bits": 3, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "G3", - "tag": 110, - "margin_left": -43.0, - "margin_top": 74.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": -4, - "margin_top_bits": 6, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "G4", - "tag": 111, - "margin_left": -43.0, - "margin_top": 111.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": -4, - "margin_top_bits": 9, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "G5", - "tag": 112, - "margin_left": -43.0, - "margin_top": 148.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": -4, - "margin_top_bits": 12, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "G6", - "tag": 113, - "margin_left": -43.0, - "margin_top": 185.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": -4, - "margin_top_bits": 15, - "enabled": true, - "absolute_location": true - } - ] -} diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/corsair_k95_platinum_right_features.json b/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/corsair_k95_platinum_right_features.json deleted file mode 100644 index c4cc1916c..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/corsair_k95_platinum_right_features.json +++ /dev/null @@ -1,81 +0,0 @@ -{ - "group_tag": "keyboard", - "origin_region": 2, - "grouped_keys": [ - { - "visualName": "MUTE", - "tag": 139, - "margin_left": -104.0, - "margin_top": 17, - "width": 30.0, - "height": 24.66, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 2, - "margin_left_bits": -9, - "margin_top_bits": 1, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "STOP", - "tag": 136, - "margin_left": -141.0, - "margin_top": 54.0, - "width": 30.0, - "height": 24.66, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 2, - "margin_left_bits": -12, - "margin_top_bits": 4, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "PREV", - "tag": 137, - "margin_left": -104.0, - "margin_top": 54.0, - "width": 30.0, - "height": 24.66, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 2, - "margin_left_bits": -9, - "margin_top_bits": 4, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "PLAY", - "tag": 133, - "margin_left": -67.0, - "margin_top": 54.0, - "width": 30.0, - "height": 24.66, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 2, - "margin_left_bits": -6, - "margin_top_bits": 4, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "NEXT", - "tag": 138, - "margin_left": -30.0, - "margin_top": 54.0, - "width": 30.0, - "height": 24.66, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 2, - "margin_left_bits": -3, - "margin_top_bits": 4, - "enabled": true, - "absolute_location": true - } - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/corsair_katar_features.json b/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/corsair_katar_features.json deleted file mode 100644 index 641ca6a4e..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/corsair_katar_features.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "group_tag": "mouse", - "origin_region": 4, - "grouped_keys": [ - { - "tag": -1, - "margin_left": 10.0, - "margin_top": -232.0, - "width": 153.0, - "height": 232.0, - "margin_left_bits": 1, - "margin_top_bits": -19, - "width_bits": 13, - "height_bits": 19, - "image": "Corsair_Katar_outline.png", - "enabled": true, - "absolute_location": true - }, - { - "visualName": "Logo", - "tag": 160, - "margin_left": 68.0, - "margin_top": -45.0, - "width": 35.0, - "height": 22.0, - "width_bits": 3, - "height_bits": 2, - "margin_left_bits": 6, - "margin_top_bits": -4, - "image": "Corsair_Katar_logo.png", - "enabled": true, - "absolute_location": true - } - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/corsair_m65_features.json b/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/corsair_m65_features.json deleted file mode 100644 index 1d588488d..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/corsair_m65_features.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "group_tag": "mouse", - "origin_region": 4, - "grouped_keys": [ - { - "tag": -1, - "margin_left": 10.0, - "margin_top": -232.0, - "width": 158.0, - "height": 232.0, - "margin_left_bits": 1, - "margin_top_bits": -19, - "width_bits": 13, - "height_bits": 19, - "image": "Corsair_M65_outline.png", - "enabled": true, - "absolute_location": true - }, - { - "visualName": "Logo", - "tag": 160, - "margin_left": 80.0, - "margin_top": -76.0, - "width": 27.0, - "height": 27.0, - "width_bits": 2, - "height_bits": 2, - "margin_left_bits": 7, - "margin_top_bits": -6, - "image": "Corsair_M65_logo.png", - "enabled": true, - "absolute_location": true - }, - { - "visualName": "Scroll Wheel", - "tag": 161, - "margin_left": 84.0, - "margin_top": -222.0, - "width": 21.0, - "height": 60.0, - "width_bits": 2, - "height_bits": 5, - "margin_left_bits": 7, - "margin_top_bits": -18, - "image": "Corsair_M65_scrollwheel.png", - "enabled": true, - "absolute_location": true - } - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/generic_laptop_left_bottom_features.json b/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/generic_laptop_left_bottom_features.json deleted file mode 100644 index b8e080292..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/generic_laptop_left_bottom_features.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "group_tag": "keyboard", - "origin_region": 3, - "grouped_keys": [ - { - "visualName": "FN", - "tag": 171, - "margin_left": 48.0, - "margin_top": -37.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - } - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/generic_laptop_numpad_left_bottom_features.json b/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/generic_laptop_numpad_left_bottom_features.json deleted file mode 100755 index b8e080292..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/generic_laptop_numpad_left_bottom_features.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "group_tag": "keyboard", - "origin_region": 3, - "grouped_keys": [ - { - "visualName": "FN", - "tag": 171, - "margin_left": 48.0, - "margin_top": -37.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - } - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/generic_laptop_numpad_right_bottom_features.json b/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/generic_laptop_numpad_right_bottom_features.json deleted file mode 100755 index afff09e6f..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/generic_laptop_numpad_right_bottom_features.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "group_tag": "keyboard", - "origin_region": 4, - "grouped_keys": [ - { - "visualName": "↓", - "tag": 103, - "margin_left": -209.5, - "margin_top": -21.0, - "width": 30.0, - "height": 14.0, - "font_size": 9.0, - "enabled": true, - "absolute_location": true - } - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/generic_laptop_numpad_right_features.json b/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/generic_laptop_numpad_right_features.json deleted file mode 100755 index a9387e7e1..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/generic_laptop_numpad_right_features.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "group_tag": "keyboard", - "origin_region": 2, - "grouped_keys": [ - { - "visualName": "\\", - "tag": 51, - "margin_left": -195, - "margin_top": 74, - "width": 47.0, - "height": 30.0, - "font_size": 9.0, - "enabled": true, - "absolute_location": true - } - ], - "key_conversion": { - 77: 51 - } -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/generic_laptop_right_bottom_features.json b/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/generic_laptop_right_bottom_features.json deleted file mode 100644 index bfe18af39..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/generic_laptop_right_bottom_features.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "group_tag": "keyboard", - "origin_region": 4, - "grouped_keys": [ - { - "visualName": "↓", - "tag": 103, - "margin_left": -61.5, - "margin_top": -21.0, - "width": 30.0, - "height": 14.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 1, - "margin_left_bits": -6, - "margin_top_bits": -2, - "enabled": true, - "absolute_location": true - } - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/generic_laptop_right_features.json b/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/generic_laptop_right_features.json deleted file mode 100644 index cc38e2fbb..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/generic_laptop_right_features.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "group_tag": "keyboard", - "origin_region": 2, - "grouped_keys": [ - { - "visualName": "\\", - "tag": 51, - "margin_left": -47, - "margin_top": 74, - "width": 47.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 5, - "height_bits": 3, - "margin_left_bits": -5, - "margin_top_bits": 6, - "enabled": true, - "absolute_location": true - } - ], - "key_conversion": { - 77: 51 - } -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/generic_mousepad.json b/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/generic_mousepad.json deleted file mode 100644 index 81fa9f2d9..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/generic_mousepad.json +++ /dev/null @@ -1,175 +0,0 @@ -{ - "group_tag": "mouse", - "origin_region": 4, - "grouped_keys": [ - { - "tag": -1, - "margin_left": 25.0, - "margin_top": -185.0, - "width": 200.0, - "height": 168.0, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "Mouse Logo", - "tag": 160, - "margin_left": 100.0, - "margin_top": -125.0, - "width": 50.0, - "height": 50.0, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "", - "tag": 201, - "margin_left": 15.0, - "margin_top": -185.0, - "width": 10.0, - "height": 33.6, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "", - "tag": 202, - "margin_left": 15.0, - "margin_top": -151.4, - "width": 10.0, - "height": 33.6, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "", - "tag": 203, - "margin_left": 15.0, - "margin_top": -117.8, - "width": 10.0, - "height": 33.6, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "", - "tag": 204, - "margin_left": 15.0, - "margin_top": -84.2, - "width": 10.0, - "height": 33.6, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "", - "tag": 205, - "margin_left": 15.0, - "margin_top": -50.6, - "width": 10.0, - "height": 33.6, - "enabled": true, - "absolute_location": true - }, - { - "tag": 206, - "visualName": "", - "margin_left": 25.0, - "margin_top": -17.0, - "width": 40.0, - "height": 10.0, - "enabled": true, - "absolute_location": true - }, - { - "tag": 207, - "visualName": "", - "margin_left": 65.0, - "margin_top": -17.0, - "width": 40.0, - "height": 10.0, - "enabled": true, - "absolute_location": true - }, - { - "tag": 208, - "visualName": "", - "margin_left": 105.0, - "margin_top": -17.0, - "width": 40.0, - "height": 10.0, - "enabled": true, - "absolute_location": true - }, - { - "tag": 209, - "visualName": "", - "margin_left": 145.0, - "margin_top": -17.0, - "width": 40.0, - "height": 10.0, - "enabled": true, - "absolute_location": true - }, - { - "tag": 210, - "visualName": "", - "margin_left": 185.0, - "margin_top": -17.0, - "width": 40.0, - "height": 10.0, - "enabled": true, - "absolute_location": true - }, - { - "tag": 211, - "visualName": "", - "margin_left": 225.0, - "margin_top": -50.5, - "width": 10.0, - "height": 33.6, - "enabled": true, - "absolute_location": true - }, - { - "tag": 212, - "visualName": "", - "margin_left": 225.0, - "margin_top": -84.2, - "width": 10.0, - "height": 33.6, - "enabled": true, - "absolute_location": true - }, - { - "tag": 213, - "visualName": "", - "margin_left": 225.0, - "margin_top": -117.8, - "width": 10.0, - "height": 33.6, - "enabled": true, - "absolute_location": true - }, - { - "tag": 214, - "visualName": "", - "margin_left": 225.0, - "margin_top": -151.4, - "width": 10.0, - "height": 33.6, - "enabled": true, - "absolute_location": true - }, - { - "tag": 215, - "visualName": "", - "margin_left": 225.0, - "margin_top": -185.0, - "width": 10.0, - "height": 33.6, - "enabled": true, - "absolute_location": true - } - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/generic_peripheral.json b/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/generic_peripheral.json deleted file mode 100644 index 7028d6fe8..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/generic_peripheral.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "group_tag": "mouse", - "origin_region": 4, - "grouped_keys": [ - { - "tag": -1, - "margin_left": 20.0, - "margin_top": -90.0, - "width": 90.0, - "height": 90.0, - "width_bits": 6, - "height_bits": 6, - "margin_left_bits": 2, - "margin_top_bits": -6, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "Mouse/\r\nHeadset", - "tag": 0, - "font_size": 12, - "margin_left": 20.0, - "margin_top": -90.0, - "width": 90.0, - "height": 90.0, - "width_bits": 6, - "height_bits": 6, - "margin_left_bits": 2, - "margin_top_bits": -6, - "enabled": true, - "absolute_location": true - } - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/keyboard101_numpad_right_features.json b/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/keyboard101_numpad_right_features.json deleted file mode 100644 index 20077ce5b..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/keyboard101_numpad_right_features.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "group_tag": "keyboard", - "origin_region": 2, - "grouped_keys": [ - { - "visualName": "\\", - "tag": 51, - "margin_left": -196, - "margin_top": 74, - "width": 47.0, - "height": 30.0, - "font_size": 9.0, - "enabled": true, - "absolute_location": true - } - ], - "key_conversion": { - 77: 51 - } -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/keyboard102_numpad_right_features.json b/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/keyboard102_numpad_right_features.json deleted file mode 100644 index 5c7ae4240..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/keyboard102_numpad_right_features.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "group_tag": "keyboard", - "origin_region": 2, - "grouped_keys": [ - { - "visualName": "\\", - "tag": 51, - "margin_left": -640, - "margin_top": 160, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "enabled": true, - "absolute_location": true - } - ], - "key_conversion": { - 77: 51 - } -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/keyboard21_numpad_left_bottom_features.json b/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/keyboard21_numpad_left_bottom_features.json deleted file mode 100644 index c78c8fca1..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/keyboard21_numpad_left_bottom_features.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "group_tag": "keyboard", - "origin_region": 3, - "grouped_keys": [ - - { - "visualName": "INSERT", - "tag": 31, - "margin_left": 481.0, - "margin_top": -222.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - - { - "visualName": "PRTSC", - "tag": 14, - "margin_left": 518.0, - "margin_top": -222.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - - { - "visualName": "DEL", - "tag": 52, - "margin_left": 555.0, - "margin_top": -222.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - - { - "visualName": "Home", - "tag": 32, - "margin_left": 555.0, - "margin_top": -187.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - - - { - "visualName": "PGUP", - "tag": 33, - "margin_left": 556.0, - "margin_top": -150.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "PGDN", - "tag": 54, - "margin_left": 556.0, - "margin_top": -112.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "END", - "tag": 53, - "margin_left": 556.0, - "margin_top": -74.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - - - { - "visualName": "FN", - "tag": 107, - "margin_left": 48.0, - "margin_top": -37.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - } - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/keyboard21br_numpad_left_bottom_features.json b/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/keyboard21br_numpad_left_bottom_features.json deleted file mode 100644 index 0549c7f59..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/keyboard21br_numpad_left_bottom_features.json +++ /dev/null @@ -1,148 +0,0 @@ -{ - "group_tag": "keyboard", - "origin_region": 3, - "grouped_keys": [ - - { - "visualName": "INSERT", - "tag": 31, - "margin_left": 481.0, - "margin_top": -222.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - - { - "visualName": "PRTSC", - "tag": 14, - "margin_left": 518.0, - "margin_top": -222.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - - { - "visualName": "DEL", - "tag": 52, - "margin_left": 555.0, - "margin_top": -222.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - - { - "visualName": "Home", - "tag": 32, - "margin_left": 556.0, - "margin_top": -187.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - - - { - "visualName": "PGUP", - "tag": 33, - "margin_left": 556.0, - "margin_top": -150.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "PGDN", - "tag": 54, - "margin_left": 556.0, - "margin_top": -112.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "END", - "tag": 53, - "margin_left": 556.0, - "margin_top": -74.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "PAUSE", - "tag": 16, - "margin_left": 481.0, - "margin_top": -187.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - - { - "visualName": "FN", - "tag": 107, - "margin_left": 48.0, - "margin_top": -37.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - } - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/keyboard21jp_numpad_left_bottom_features.json b/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/keyboard21jp_numpad_left_bottom_features.json deleted file mode 100644 index 3e42b5e34..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/keyboard21jp_numpad_left_bottom_features.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "group_tag": "keyboard", - "origin_region": 3, - "grouped_keys": [ - - { - "visualName": "INSERT", - "tag": 31, - "margin_left": 481.0, - "margin_top": -222.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - - { - "visualName": "PRTSC", - "tag": 14, - "margin_left": 518.0, - "margin_top": -222.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - - { - "visualName": "DEL", - "tag": 52, - "margin_left": 555.0, - "margin_top": -222.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - - { - "visualName": "Home", - "tag": 32, - "margin_left": 556.0, - "margin_top": -187.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - - - { - "visualName": "PGUP", - "tag": 33, - "margin_left": 556.0, - "margin_top": -150.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "PGDN", - "tag": 54, - "margin_left": 556.0, - "margin_top": -112.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "END", - "tag": 53, - "margin_left": 556.0, - "margin_top": -74.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - - - { - "visualName": "FN", - "tag": 107, - "margin_left": 48.0, - "margin_top": -37.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - } - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/keyboard21us_numpad_right_features.json b/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/keyboard21us_numpad_right_features.json deleted file mode 100644 index f5364e009..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/keyboard21us_numpad_right_features.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "group_tag": "keyboard", - "origin_region": 2, - "grouped_keys": [ - { - "visualName": "\\", - "tag": 51, - "margin_left": -85, - "margin_top": 73, - "width": 45.0, - "height": 30.0, - "font_size": 9.0, - "enabled": true, - "absolute_location": true - } - ], - "key_conversion": { - 77: 51 - } -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/keyboard22br_numpad_left_bottom_features.json b/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/keyboard22br_numpad_left_bottom_features.json deleted file mode 100644 index 8021e0ece..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/keyboard22br_numpad_left_bottom_features.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "group_tag": "keyboard", - "origin_region": 3, - "grouped_keys": [ - - { - "visualName": "INERT", - "tag": 31, - "margin_left": 481.0, - "margin_top": -222.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - - { - "visualName": "PRTSC", - "tag": 14, - "margin_left": 518.0, - "margin_top": -222.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - - { - "visualName": "DEL", - "tag": 52, - "margin_left": 555.0, - "margin_top": -222.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - - { - "visualName": "-", - "tag": 37, - "margin_left": 592.0, - "margin_top": -222.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "+", - "tag": 58, - "margin_left": 629.0, - "margin_top": -222.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - - - { - "visualName": "FN", - "tag": 107, - "margin_left": 48.0, - "margin_top": -37.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "PAUSE", - "tag": 16, - "margin_left": 481.0, - "margin_top": -185.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - } - - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/keyboard22jp_numpad_left_bottom_features.json b/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/keyboard22jp_numpad_left_bottom_features.json deleted file mode 100644 index 7d341a73d..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/keyboard22jp_numpad_left_bottom_features.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "group_tag": "keyboard", - "origin_region": 3, - "grouped_keys": [ - - { - "visualName": "INERT", - "tag": 31, - "margin_left": 481.0, - "margin_top": -222.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - - { - "visualName": "PRTSC", - "tag": 14, - "margin_left": 518.0, - "margin_top": -222.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - - { - "visualName": "DEL", - "tag": 52, - "margin_left": 555.0, - "margin_top": -222.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - - { - "visualName": "-", - "tag": 37, - "margin_left": 592.0, - "margin_top": -222.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "+", - "tag": 58, - "margin_left": 629.0, - "margin_top": -222.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - - { - "visualName": "FN", - "tag": 107, - "margin_left": 48.0, - "margin_top": -37.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - } - //, - - //{ - // "visualName": "\\", - // "tag": 54, - // "margin_left": 452.0, - // "margin_top": -74.0, - // "width": 30.0, - // "height": 30.0, - // "font_size": 9.0, - // "width_bits": 3, - // "height_bits": 3, - // "margin_left_bits": 4, - // "margin_top_bits": -3, - // "enabled": true, - // "absolute_location": true - //} - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/keyboard22us_numpad_right_features.json b/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/keyboard22us_numpad_right_features.json deleted file mode 100644 index d6c2cb037..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/keyboard22us_numpad_right_features.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "group_tag": "keyboard", - "origin_region": 2, - "grouped_keys": [ - { - "visualName": "\\", - "tag": 51, - "margin_left": -160, - "margin_top": 75, - "width": 47.0, - "height": 30.0, - "font_size": 9.0, - "enabled": true, - "absolute_location": true - } - ], - "key_conversion": { - 77: 51 - } -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/keyboard22usuk_numpad_left_bottom_features.json b/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/keyboard22usuk_numpad_left_bottom_features.json deleted file mode 100644 index fefc9249c..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/keyboard22usuk_numpad_left_bottom_features.json +++ /dev/null @@ -1,116 +0,0 @@ -{ - "group_tag": "keyboard", - "origin_region": 3, - "grouped_keys": [ - - { - "visualName": "PAUSE", - "tag": 16, - "margin_left": 481.0, - "margin_top": -222.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - - { - "visualName": "PRTSC", - "tag": 14, - "margin_left": 518.0, - "margin_top": -222.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - - { - "visualName": "DEL", - "tag": 52, - "margin_left": 555.0, - "margin_top": -222.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - - { - "visualName": "-", - "tag": 37, - "margin_left": 592.0, - "margin_top": -222.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "+", - "tag": 58, - "margin_left": 629.0, - "margin_top": -222.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - - //{ - // "visualName": "+", - // "tag": 54, - // "margin_left": 666.0, - // "margin_top": -222.0, - // "width": 30.0, - // "height": 30.0, - // "font_size": 9.0, - // "width_bits": 3, - // "height_bits": 3, - // "margin_left_bits": 4, - // "margin_top_bits": -3, - // "enabled": true, - // "absolute_location": true - //}, - { - "visualName": "FN", - "tag": 107, - "margin_left": 48.0, - "margin_top": -37.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - } - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/keyboard_numpad_left_bottom_features.json b/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/keyboard_numpad_left_bottom_features.json deleted file mode 100644 index 376c55458..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/keyboard_numpad_left_bottom_features.json +++ /dev/null @@ -1,115 +0,0 @@ -{ - "group_tag": "keyboard", - "origin_region": 3, - "grouped_keys": [ - - { - "visualName": "INSERT", - "tag": 31, - "margin_left": 481.0, - "margin_top": -222.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - - { - "visualName": "DEL", - "tag": 52, - "margin_left": 518.0, - "margin_top": -222.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - - { - "visualName": "Home", - "tag": 32, - "margin_left": 555.0, - "margin_top": -222.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - - { - "visualName": "END", - "tag": 53, - "margin_left": 592.0, - "margin_top": -222.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "PGUP", - "tag": 33, - "margin_left": 629.0, - "margin_top": -222.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "PGDN", - "tag": 54, - "margin_left": 666.0, - "margin_top": -222.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "FN", - "tag": 107, - "margin_left": 48.0, - "margin_top": -37.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - } - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/logitech_g502_features.json b/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/logitech_g502_features.json deleted file mode 100644 index 850dbaac7..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/logitech_g502_features.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "group_tag": "mouse", - "origin_region": 4, - "grouped_keys": [ - { - "tag": -1, - "margin_left": 10.0, - "margin_top": -232.0, - "width": 143.0, - "height": 232.0, - "margin_left_bits": 1, - "margin_top_bits": -19, - "width_bits": 10, - "height_bits": 19, - "image": "Logi_G502_outline.png", - "enabled": true, - "absolute_location": true - }, - { - "visualName": "Logo", - "tag": 160, - "margin_left": 60.0, - "margin_top": -88.0, - "width": 22.0, - "height": 24.0, - "width_bits": 2, - "height_bits": 2, - "margin_left_bits": 5, - "margin_top_bits": -5, - "image": "Logi_G900_logo.png", - "enabled": true, - "absolute_location": true - }, - { - "visualName": "DPI", - "tag": 237, - "margin_left": 40.0, - "margin_top": -125.0, - "width": 11.0, - "height": 26.0, - "width_bits": 2, - "height_bits": 2, - "margin_left_bits": 5, - "margin_top_bits": -5, - "image": "Logi_G502_dpi.png", - "enabled": true, - "absolute_location": true - } - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/logitech_g900_features.json b/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/logitech_g900_features.json deleted file mode 100644 index d27105f0a..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/logitech_g900_features.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "group_tag": "mouse", - "origin_region": 4, - "grouped_keys": [ - { - "tag": -1, - "margin_left": 10.0, - "margin_top": -232.0, - "width": 123.0, - "height": 232.0, - "margin_left_bits": 1, - "margin_top_bits": -19, - "width_bits": 10, - "height_bits": 19, - "image": "Logi_G900_outline.png", - "enabled": true, - "absolute_location": true - }, - { - "visualName": "Logo", - "tag": 160, - "margin_left": 60.0, - "margin_top": -69.0, - "width": 22.0, - "height": 24.0, - "width_bits": 2, - "height_bits": 2, - "margin_left_bits": 5, - "margin_top_bits": -5, - "image": "Logi_G900_logo.png", - "enabled": true, - "absolute_location": true - }, - { - "visualName": "DPI", - "tag": 237, - "margin_left": 65.0, - "margin_top": -125.0, - "width": 15.0, - "height": 14.0, - "width_bits": 2, - "height_bits": 2, - "margin_left_bits": 5, - "margin_top_bits": -5, - "image": "Logi_G900_dpi.png", - "enabled": true, - "absolute_location": true - } - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/razer_blade_left_bottom_features.json b/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/razer_blade_left_bottom_features.json deleted file mode 100644 index b8e080292..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/razer_blade_left_bottom_features.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "group_tag": "keyboard", - "origin_region": 3, - "grouped_keys": [ - { - "visualName": "FN", - "tag": 171, - "margin_left": 48.0, - "margin_top": -37.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": -3, - "enabled": true, - "absolute_location": true - } - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/razer_blade_right_bottom_features.json b/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/razer_blade_right_bottom_features.json deleted file mode 100644 index bfe18af39..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/razer_blade_right_bottom_features.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "group_tag": "keyboard", - "origin_region": 4, - "grouped_keys": [ - { - "visualName": "↓", - "tag": 103, - "margin_left": -61.5, - "margin_top": -21.0, - "width": 30.0, - "height": 14.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 1, - "margin_left_bits": -6, - "margin_top_bits": -2, - "enabled": true, - "absolute_location": true - } - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/razer_blade_right_features.json b/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/razer_blade_right_features.json deleted file mode 100644 index cc38e2fbb..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/razer_blade_right_features.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "group_tag": "keyboard", - "origin_region": 2, - "grouped_keys": [ - { - "visualName": "\\", - "tag": 51, - "margin_left": -47, - "margin_top": 74, - "width": 47.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 5, - "height_bits": 3, - "margin_left_bits": -5, - "margin_top_bits": 6, - "enabled": true, - "absolute_location": true - } - ], - "key_conversion": { - 77: 51 - } -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/razer_mamba_te_features.json b/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/razer_mamba_te_features.json deleted file mode 100644 index 727031d3c..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/razer_mamba_te_features.json +++ /dev/null @@ -1,196 +0,0 @@ -{ - "group_tag": "mouse", - "origin_region": 4, - "grouped_keys": [ - { - "tag": -1, - "margin_left": 0.0, - "margin_top": -232.0, - "width": 130.0, - "height": 232.0, - "margin_left_bits": 1, - "margin_top_bits": -19, - "width_bits": 13, - "height_bits": 19, - "image": "Razer_Mamba_TE_outline.png", - "enabled": true, - "absolute_location": true - }, - { - "visualName": "Scroll Wheel", - "tag": 161, - "margin_left": 54.0, - "margin_top": -204.0, - "width": 16.0, - "height": 38.0, - "image": "Razer_Mamba_TE_Scroll_Wheel.png", - "enabled": true, - "absolute_location": true - }, - { - "visualName": "Peripheral Logo", - "tag": 160, - "margin_left": 41.0, - "margin_top": -70.0, - "width": 38.0, - "height": 39.0, - "image": "Razer_Mamba_TE_Logo.png", - "enabled": true, - "absolute_location": true - }, - { - "visualName": "Left Side 1", - "tag": 217, - "margin_left": 3.0, - "margin_top": -186.0, - "width": 6.1, - "height": 22.0, - "image": "Razer_Mamba_TE_L1.png", - "enabled": true, - "absolute_location": true - }, - { - "visualName": "Right Side 1", - "tag": 229, - "margin_left": 117.0, - "margin_top": -184.0, - "width": 6.1, - "height": 20.0, - "image": "Razer_Mamba_TE_R1.png", - "enabled": true, - "absolute_location": true - }, - { - "visualName": "Left Side 2", - "tag": 218, - "margin_left": 4.0, - "margin_top": -165.0, - "width": 10.0, - "height": 24.0, - "image": "Razer_Mamba_TE_L2.png", - "enabled": true, - "absolute_location": true - }, - { - "visualName": "Right Side 2", - "tag": 230, - "margin_left": 113.0, - "margin_top": -165.0, - "width": 7.0, - "height": 24.0, - "image": "Razer_Mamba_TE_R2.png", - "enabled": true, - "absolute_location": true - }, - { - "visualName": "Left Side 3", - "tag": 219, - "margin_left": 10.0, - "margin_top": -142.0, - "width": 8.0, - "height": 23.0, - "image": "Razer_Mamba_TE_L3.png", - "enabled": true, - "absolute_location": true - }, - { - "visualName": "Right Side 3", - "tag": 231, - "margin_left": 112.0, - "margin_top": -142.0, - "width": 6.1, - "height": 23.0, - "image": "Razer_Mamba_TE_R3.png", - "enabled": true, - "absolute_location": true - }, - { - "visualName": "Left Side 4", - "tag": 220, - "margin_left": 13.0, - "margin_top": -119.0, - "width": 6.1, - "height": 24.0, - "image": "Razer_Mamba_TE_L4.png", - "enabled": true, - "absolute_location": true - }, - { - "visualName": "Right Side 4", - "tag": 232, - "margin_left": 112.0, - "margin_top": -119.0, - "width": 6.1, - "height": 24.0, - "image": "Razer_Mamba_TE_R4.png", - "enabled": true, - "absolute_location": true - }, - { - "visualName": "Left Side 5", - "tag": 221, - "margin_left": 10.0, - "margin_top": -95.0, - "width": 8.0, - "height": 23.0, - "image": "Razer_Mamba_TE_L5.png", - "enabled": true, - "absolute_location": true - }, - { - "visualName": "Right Side 5", - "tag": 233, - "margin_left": 113.0, - "margin_top": -95.0, - "width": 7.0, - "height": 23.0, - "image": "Razer_Mamba_TE_R5.png", - "enabled": true, - "absolute_location": true - }, - { - "visualName": "Left Side 6", - "tag": 222, - "margin_left": 7.0, - "margin_top": -73.0, - "width": 7.0, - "height": 23.0, - "image": "Razer_Mamba_TE_L6.png", - "enabled": true, - "absolute_location": true - }, - { - "visualName": "Right Side 6", - "tag": 234, - "margin_left": 114.0, - "margin_top": -73.0, - "width": 6.1, - "height": 23.0, - "image": "Razer_Mamba_TE_R6.png", - "enabled": true, - "absolute_location": true - }, - { - "visualName": "Left Side 7", - "tag": 223, - "margin_left": 7.0, - "margin_top": -51.0, - "width": 9.0, - "height": 24.0, - "image": "Razer_Mamba_TE_L7.png", - "enabled": true, - "absolute_location": true - }, - { - "visualName": "Right Side 7", - "tag": 235, - "margin_left": 108.0, - "margin_top": -52.0, - "width": 10.0, - "height": 23.0, - "image": "Razer_Mamba_TE_R7.png", - "enabled": true, - "absolute_location": true - } - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/roccat_kone_pure_features.json b/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/roccat_kone_pure_features.json deleted file mode 100644 index e17b2a004..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/roccat_kone_pure_features.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "group_tag": "mouse", - "origin_region": 4, - "grouped_keys": [ - { - "tag": -1, - "margin_left": 10.0, - "margin_top": -232.0, - "width": 153.0, - "height": 232.0, - "margin_left_bits": 1, - "margin_top_bits": -19, - "width_bits": 13, - "height_bits": 19, - "image": "Roccat_Kone_Pure_outline.png", - "enabled": true, - "absolute_location": true - }, - { - "visualName": "Logo", - "tag": 160, - "margin_left": 64.0, - "margin_top": -66.0, - "width": 66.0, - "height": 59.0, - "width_bits": 3, - "height_bits": 2, - "margin_left_bits": 6, - "margin_top_bits": -4, - "image": "Roccat_Kone_Pure_logo.png", - "enabled": true, - "absolute_location": true - } - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/steelseries_qck_2zone_features.json b/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/steelseries_qck_2zone_features.json deleted file mode 100644 index d8bb45ec1..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/steelseries_qck_2zone_features.json +++ /dev/null @@ -1,77 +0,0 @@ -{ - "group_tag": "mouse", - "origin_region": 4, - "grouped_keys": [ - { - "tag": -1, - "margin_left": 15.0, - "margin_top": -200.0, - "width": 200.0, - "height": 168.0, - "width_bits": 6, - "height_bits": 6, - "margin_left_bits": 2, - "margin_top_bits": -6, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "Mouse Logo", - "tag": 160, - "margin_left": 90.0, - "margin_top": -111.0, - "width": 50.0, - "height": 50.0, - "width_bits": 2, - "height_bits": 2, - "margin_left_bits": 2, - "margin_top_bits": -6, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "Scroll Wheel", - "tag": 161, - "margin_left": 90.0, - "margin_top": -171.0, - "width": 50.0, - "height": 50.0, - "width_bits": 2, - "height_bits": 2, - "margin_left_bits": 2, - "margin_top_bits": -6, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "", - "tag": 201, - "margin_left": 15.0, - "margin_top": -200.0, - "width": 16.0, - "height": 168.0, - "width_bits": 6, - - "height_bits": 6, - "margin_left_bits": 2, - "margin_top_bits": -6, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "", - "tag": 202, - "margin_left": 200.0, - "margin_top": -200.0, - "width": 16.0, - "height": 168.0, - "width_bits": 6, - - "height_bits": 6, - "margin_left_bits": 2, - "margin_top_bits": -6, - "enabled": true, - "absolute_location": true - } - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/steelseries_qck_prism_features.json b/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/steelseries_qck_prism_features.json deleted file mode 100644 index bab45fe22..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/steelseries_qck_prism_features.json +++ /dev/null @@ -1,233 +0,0 @@ -{ - "group_tag": "mouse", - "origin_region": 4, - "grouped_keys": [ - { - "tag": -1, - "margin_left": 15.0, - "margin_top": -200.0, - "width": 200.0, - "height": 168.0, - "width_bits": 6, - "height_bits": 6, - "margin_left_bits": 2, - "margin_top_bits": -6, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "Mouse Logo", - "tag": 160, - "margin_left": 90.0, - "margin_top": -111.0, - "width": 50.0, - "height": 50.0, - "width_bits": 2, - "height_bits": 2, - "margin_left_bits": 2, - "margin_top_bits": -6, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "Scroll Wheel", - "tag": 161, - "margin_left": 90.0, - "margin_top": -171.0, - "width": 50.0, - "height": 50.0, - "width_bits": 2, - "height_bits": 2, - "margin_left_bits": 2, - "margin_top_bits": -6, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "", - "tag": 201, - "margin_left": 15.0, - "margin_top": -144.0, - "width": 16.0, - "height": 56.0, - "width_bits": 6, - - "height_bits": 6, - "margin_left_bits": 2, - "margin_top_bits": -6, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "", - "tag": 202, - "margin_left": 15.0, - "margin_top": -88.0, - "width": 16.0, - "height": 56.0, - "width_bits": 6, - - "height_bits": 6, - "margin_left_bits": 2, - "margin_top_bits": -6, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "", - "tag": 203, - "margin_left": 31.5, - "margin_top": -48.0, - "width": 56.0, - "height": 16.0, - "width_bits": 6, - "height_bits": 6, - - "margin_left_bits": 2, - "margin_top_bits": -6, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "", - "tag": 204, - "margin_left": 87.5, - "margin_top": -48.0, - "width": 56.0, - "height": 16.0, - "width_bits": 6, - "height_bits": 6, - - "margin_left_bits": 2, - "margin_top_bits": -6, - "enabled": true, - "absolute_location": true - }, - { - "tag": 205, - "visualName": "", - "margin_left": 143.5, - "margin_top": -48.0, - "width": 56.0, - "height": 16.0, - "width_bits": 6, - - "height_bits": 6, - "margin_left_bits": 2, - "margin_top_bits": -6, - "enabled": true, - "absolute_location": true - }, - { - - "tag": 206, - "visualName": "", - "margin_left": 200.0, - "margin_top": -88.0, - "width": 16.0, - "height": 56.0, - - "width_bits": 6, - "height_bits": 6, - "margin_left_bits": 2, - "margin_top_bits": -6, - "enabled": true, - "absolute_location": true - }, - { - - "tag": 207, - "visualName": "", - "margin_left": 200.0, - "margin_top": -144.0, - - "width": 16.0, - "height": 56.0, - "width_bits": 6, - "height_bits": 6, - "margin_left_bits": 2, - "margin_top_bits": -6, - "enabled": true, - "absolute_location": true - }, - { - - "tag": 208, - "visualName": "", - "margin_left": 200.0, - "margin_top": -200.0, - "width": 16.0, - "height": 56.0, - "width_bits": 6, - "height_bits": 6, - "margin_left_bits": 2, - - "margin_top_bits": -6, - "enabled": true, - "absolute_location": true - }, - { - - "tag": 209, - "visualName": "", - "margin_left": 143.5, - "margin_top": -200.0, - "width": 56.0, - "height": 16.0, - "width_bits": 6, - - "height_bits": 6, - "margin_left_bits": 2, - "margin_top_bits": -6, - "enabled": true, - "absolute_location": true - }, - { - - "tag": 210, - "visualName": "", - "margin_left": 87.5, - "margin_top": -200.0, - "width": 56.0, - "height": 16.0, - "width_bits": 6, - - "height_bits": 6, - "margin_left_bits": 2, - "margin_top_bits": -6, - "enabled": true, - "absolute_location": true - }, - { - - "tag": 211, - "visualName": "", - "margin_left": 31.5, - "margin_top": -200.0, - "width": 56.0, - - "height": 16.0, - "width_bits": 6, - "height_bits": 6, - "margin_left_bits": 2, - "margin_top_bits": -6, - "enabled": true, - "absolute_location": true - }, - { - "visualName": "", - "tag": 212, - "margin_left": 15.0, - "margin_top": -200.0, - "width": 16.0, - "height": 56.0, - "width_bits": 2, - "height_bits": 2, - - "margin_left_bits": 2, - "margin_top_bits": -6, - "enabled": true, - "absolute_location": true - } - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/steelseries_rival_300_features.json b/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/steelseries_rival_300_features.json deleted file mode 100644 index 016667b68..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/steelseries_rival_300_features.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "group_tag": "mouse", - "origin_region": 4, - "grouped_keys": [ - { - "tag": -1, - "margin_left": 20.0, - "margin_top": -232.0, - "width": 128.0, - "height": 232.0, - "margin_left_bits": 1, - "margin_top_bits": -19, - "width_bits": 13, - "height_bits": 19, - "image": "SteelSeries_Rival_300_outline.png", - "enabled": true, - "absolute_location": true - }, - { - "visualName": "Logo", - "tag": 160, - "margin_left": 61.0, - "margin_top": -55.0, - "width": 40.0, - "height": 40.0, - "width_bits": 2, - "height_bits": 2, - "margin_left_bits": 6, - "margin_top_bits": -5, - "image": "SteelSeries_Rival_300_logo.png", - "enabled": true, - "absolute_location": true - }, - { - "visualName": "Scroll Wheel", - "tag": 161, - "margin_left": 73.0, - "margin_top": -189.0, - "width": 16.0, - "height": 31.0, - "width_bits": 2, - "height_bits": 3, - "margin_left_bits": 7, - "margin_top_bits": -16, - "image": "SteelSeries_Rival_300_scrollwheel.png", - "enabled": true, - "absolute_location": true - } - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/steelseries_rival_300_hp_omen_edition_features.json b/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/steelseries_rival_300_hp_omen_edition_features.json deleted file mode 100644 index e627fda91..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Extra Features/steelseries_rival_300_hp_omen_edition_features.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "group_tag": "mouse", - "origin_region": 4, - "grouped_keys": [ - { - "tag": -1, - "margin_left": 20.0, - "margin_top": -232.0, - "width": 128.0, - "height": 232.0, - "margin_left_bits": 1, - "margin_top_bits": -19, - "width_bits": 13, - "height_bits": 19, - "image": "SteelSeries_Rival_300_outline.png", - "enabled": true, - "absolute_location": true - }, - { - "visualName": "Logo", - "tag": 160, - "margin_left": 61.0, - "margin_top": -55.0, - "width": 40.0, - "height": 40.0, - "width_bits": 2, - "height_bits": 2, - "margin_left_bits": 6, - "margin_top_bits": -5, - "image": "Omen_logo.png", - "enabled": true, - "absolute_location": true - }, - { - "visualName": "Scroll Wheel", - "tag": 161, - "margin_left": 73.0, - "margin_top": -189.0, - "width": 16.0, - "height": 31.0, - "width_bits": 2, - "height_bits": 3, - "margin_left_bits": 7, - "margin_top_bits": -16, - "image": "SteelSeries_Rival_300_scrollwheel.png", - "enabled": true, - "absolute_location": true - } - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.abnt2.json b/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.abnt2.json deleted file mode 100644 index 593501e79..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.abnt2.json +++ /dev/null @@ -1,1597 +0,0 @@ -{ - "key_conversion":{ - 51:71 - }, - "keys": [ - { - "visualName": "ESC", - "tag": 1, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F1", - "tag": 2, - "line_break": false, - "margin_left": 32.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F2", - "tag": 3, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F3", - "tag": 4, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F4", - "tag": 5, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F5", - "tag": 6, - "line_break": false, - "margin_left": 34.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F6", - "tag": 7, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F7", - "tag": 8, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F8", - "tag": 9, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F9", - "tag": 10, - "line_break": false, - "margin_left": 29.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F10", - "tag": 11, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F11", - "tag": 12, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F12", - "tag": 13, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PRINT", - "tag": 14, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SCRL\r\nLOCK", - "tag": 15, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAUSE", - "tag": 16, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "~", - "tag": 17, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "1", - "tag": 18, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "2", - "tag": 19, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "3", - "tag": 20, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "4", - "tag": 21, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "5", - "tag": 22, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "6", - "tag": 23, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "7", - "tag": 24, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "8", - "tag": 25, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "9", - "tag": 26, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "0", - "tag": 27, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "-", - "tag": 28, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "=", - "tag": 29, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "BACKSPACE", - "tag": 30, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 67.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 6, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "INSERT", - "tag": 31, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "HOME", - "tag": 32, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAGE\r\nUP", - "tag": 33, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "NUM\r\nLOCK", - "tag": 34, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "/", - "tag": 35, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "*", - "tag": 36, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "-", - "tag": 37, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "TAB", - "tag": 38, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 50.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Q", - "tag": 39, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "W", - "tag": 40, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "E", - "tag": 41, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "R", - "tag": 42, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "T", - "tag": 43, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Y", - "tag": 44, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "U", - "tag": 45, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "I", - "tag": 46, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "O", - "tag": 47, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "P", - "tag": 48, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "´", - "tag": 49, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "[", - "tag": 50, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 40.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "DEL", - "tag": 52, - "line_break": false, - "margin_left": 58.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 5, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "END", - "tag": 53, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAGE\r\nDOWN", - "tag": 54, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "7", - "tag": 55, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "8", - "tag": 56, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "9", - "tag": 57, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "+", - "tag": 58, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 67.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CAPS\r\nLOCK", - "tag": 59, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 60.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 5, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "A", - "tag": 60, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "S", - "tag": 61, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "D", - "tag": 62, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F", - "tag": 63, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "G", - "tag": 64, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "H", - "tag": 65, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "J", - "tag": 66, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "K", - "tag": 67, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "L", - "tag": 68, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Ç", - "tag": 69, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "~", - "tag": 70, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "]", - "tag": 71, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ENTER", - "tag": 72, - "line_break": false, - "margin_left": 7.0, - "margin_top": -37.0, - "width": 38.0, - "height": 67.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": -3, - "enabled": true - }, - { - "visualName": "4", - "tag": 73, - "line_break": false, - "margin_left": 131.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 11, - "margin_top_bits": 3, - "enabled": true - }, - { - "visualName": "5", - "tag": 74, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "6", - "tag": 75, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SHIFT", - "tag": 76, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 48.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "\\", - "tag": 77, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Z", - "tag": 78, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "X", - "tag": 79, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "C", - "tag": 80, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "V", - "tag": 81, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "B", - "tag": 82, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "N", - "tag": 83, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "M", - "tag": 84, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "<", - "tag": 85, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ">", - "tag": 86, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ";", - "tag": 87, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "/", - "tag": 159, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SHIFT", - "tag": 88, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 50.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 8, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "↑", - "tag": 89, - "line_break": false, - "margin_left": 49.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "1", - "tag": 90, - "line_break": false, - "margin_left": 52.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "2", - "tag": 91, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "3", - "tag": 92, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ENTER", - "tag": 93, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 67.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CTRL", - "tag": 94, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 51.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "WIN", - "tag": 95, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 39.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ALT", - "tag": 96, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 42.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SPACE", - "tag": 97, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 208.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 17, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ALT Gr", - "tag": 98, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 41.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "WIN", - "tag": 99, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 41.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "APP", - "tag": 100, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 40.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CTRL", - "tag": 101, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 50.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "←", - "tag": 102, - "line_break": false, - "margin_left": 12.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "↓", - "tag": 103, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "→", - "tag": 104, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "0", - "tag": 105, - "line_break": false, - "margin_left": 15.0, - "margin_top": 0.0, - "width": 67.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 6, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ".", - "tag": 106, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - } - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.ansi.json b/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.ansi.json deleted file mode 100755 index a6dab1dec..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.ansi.json +++ /dev/null @@ -1,1564 +0,0 @@ -{ - "keys":[ - { - "visualName": "ESC", - "tag": 1, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F1", - "tag": 2, - "line_break": false, - "margin_left": 32.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F2", - "tag": 3, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F3", - "tag": 4, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F4", - "tag": 5, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F5", - "tag": 6, - "line_break": false, - "margin_left": 34.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F6", - "tag": 7, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F7", - "tag": 8, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F8", - "tag": 9, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F9", - "tag": 10, - "line_break": false, - "margin_left": 29.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F10", - "tag": 11, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F11", - "tag": 12, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F12", - "tag": 13, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PRINT", - "tag": 14, - "line_break": false, - "margin_left": 15.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SCRL\r\nLOCK", - "tag": 15, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAUSE", - "tag": 16, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "~", - "tag": 17, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "1", - "tag": 18, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "2", - "tag": 19, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "3", - "tag": 20, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "4", - "tag": 21, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "5", - "tag": 22, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "6", - "tag": 23, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "7", - "tag": 24, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "8", - "tag": 25, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "9", - "tag": 26, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "0", - "tag": 27, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "-", - "tag": 28, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "=", - "tag": 29, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "BACKSPACE", - "tag": 30, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 67.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 6, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "INSERT", - "tag": 31, - "line_break": false, - "margin_left": 15.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "HOME", - "tag": 32, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAGE\r\nUP", - "tag": 33, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "NUM\r\nLOCK", - "tag": 34, - "line_break": false, - "margin_left": 15.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "/", - "tag": 35, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "*", - "tag": 36, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "-", - "tag": 37, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "TAB", - "tag": 38, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 50.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Q", - "tag": 39, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "W", - "tag": 40, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "E", - "tag": 41, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "R", - "tag": 42, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "T", - "tag": 43, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Y", - "tag": 44, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "U", - "tag": 45, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "I", - "tag": 46, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "O", - "tag": 47, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "P", - "tag": 48, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "{", - "tag": 49, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "}", - "tag": 50, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "\\", - "tag": 51, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 47.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 5, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "DEL", - "tag": 52, - "line_break": false, - "margin_left": 15.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "END", - "tag": 53, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAGE\r\nDOWN", - "tag": 54, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "7", - "tag": 55, - "line_break": false, - "margin_left": 15.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "8", - "tag": 56, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "9", - "tag": 57, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "+", - "tag": 58, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 67.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CAPS\r\nLOCK", - "tag": 59, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 60.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 5, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "A", - "tag": 60, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "S", - "tag": 61, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "D", - "tag": 62, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F", - "tag": 63, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "G", - "tag": 64, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "H", - "tag": 65, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "J", - "tag": 66, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "K", - "tag": 67, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "L", - "tag": 68, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ":", - "tag": 69, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "\"", - "tag": 70, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ENTER", - "tag": 72, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 74.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 7, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "4", - "tag": 73, - "line_break": false, - "margin_left": 133.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 11, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "5", - "tag": 74, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "6", - "tag": 75, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SHIFT", - "tag": 76, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 78.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 7, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Z", - "tag": 78, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "X", - "tag": 79, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "C", - "tag": 80, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "V", - "tag": 81, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "B", - "tag": 82, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "N", - "tag": 83, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "M", - "tag": 84, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "<", - "tag": 85, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ">", - "tag": 86, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "?", - "tag": 87, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SHIFT", - "tag": 88, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 93.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 8, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "↑", - "tag": 89, - "line_break": false, - "margin_left": 52.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "1", - "tag": 90, - "line_break": false, - "margin_left": 51.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "2", - "tag": 91, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "3", - "tag": 92, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ENTER", - "tag": 93, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 67.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CTRL", - "tag": 94, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 51.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "WIN", - "tag": 95, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 39.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ALT", - "tag": 96, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 42.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SPACE", - "tag": 97, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 208.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 17, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ALT", - "tag": 98, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 41.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "WIN", - "tag": 99, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 41.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "APP", - "tag": 100, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 41.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CTRL", - "tag": 101, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 48.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "←", - "tag": 102, - "line_break": false, - "margin_left": 15.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "↓", - "tag": 103, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "→", - "tag": 104, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "0", - "tag": 105, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 67.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 6, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ".", - "tag": 106, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - } - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.de.json b/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.de.json deleted file mode 100644 index 1d755d80a..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.de.json +++ /dev/null @@ -1,1591 +0,0 @@ -{ - "key_conversion":{ - 51:17, - 78:44, - 69:49, - 17:69, - 44:78, - 29:50, - 28:87, - 87:71, - 49:28, - 50:29 - }, - "keys":[ - { - "visualName": "ESC", - "tag": 1, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F1", - "tag": 2, - "line_break": false, - "margin_left": 32.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F2", - "tag": 3, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F3", - "tag": 4, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F4", - "tag": 5, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F5", - "tag": 6, - "line_break": false, - "margin_left": 34.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F6", - "tag": 7, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F7", - "tag": 8, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F8", - "tag": 9, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F9", - "tag": 10, - "line_break": false, - "margin_left": 29.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F10", - "tag": 11, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F11", - "tag": 12, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F12", - "tag": 13, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PRINT", - "tag": 14, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SCRL\r\nLOCK", - "tag": 15, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAUSE", - "tag": 16, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "^", - "tag": 17, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "1", - "tag": 18, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "2", - "tag": 19, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "3", - "tag": 20, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "4", - "tag": 21, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "5", - "tag": 22, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "6", - "tag": 23, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "7", - "tag": 24, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "8", - "tag": 25, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "9", - "tag": 26, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "0", - "tag": 27, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ß", - "tag": 28, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "´", - "tag": 29, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "BACKSPACE", - "tag": 30, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 67.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 6, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "INSERT", - "tag": 31, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "HOME", - "tag": 32, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAGE\r\nUP", - "tag": 33, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "NUM\r\nLOCK", - "tag": 34, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "/", - "tag": 35, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "*", - "tag": 36, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "-", - "tag": 37, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "TAB", - "tag": 38, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 50.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Q", - "tag": 39, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "W", - "tag": 40, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "E", - "tag": 41, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "R", - "tag": 42, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "T", - "tag": 43, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Z", - "tag": 44, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "U", - "tag": 45, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "I", - "tag": 46, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "O", - "tag": 47, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "P", - "tag": 48, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Ü", - "tag": 49, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "+", - "tag": 50, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 40.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "DEL", - "tag": 52, - "line_break": false, - "margin_left": 58.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 5, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "END", - "tag": 53, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAGE\r\nDOWN", - "tag": 54, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "7", - "tag": 55, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "8", - "tag": 56, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "9", - "tag": 57, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "+", - "tag": 58, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 67.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CAPS\r\nLOCK", - "tag": 59, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 60.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 5, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "A", - "tag": 60, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "S", - "tag": 61, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "D", - "tag": 62, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F", - "tag": 63, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "G", - "tag": 64, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "H", - "tag": 65, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "J", - "tag": 66, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "K", - "tag": 67, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "L", - "tag": 68, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Ö", - "tag": 69, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Ä", - "tag": 70, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "#", - "tag": 71, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ENTER", - "tag": 72, - "line_break": false, - "margin_left": 7.0, - "margin_top": -37.0, - "width": 38.0, - "height": 67.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": -3, - "enabled": true - }, - { - "visualName": "4", - "tag": 73, - "line_break": false, - "margin_left": 131.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 11, - "margin_top_bits": 3, - "enabled": true - }, - { - "visualName": "5", - "tag": 74, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "6", - "tag": 75, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SHIFT", - "tag": 76, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 48.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "<", - "tag": 77, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Y", - "tag": 78, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "X", - "tag": 79, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "C", - "tag": 80, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "V", - "tag": 81, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "B", - "tag": 82, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "N", - "tag": 83, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "M", - "tag": 84, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ";", - "tag": 85, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ":", - "tag": 86, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "-", - "tag": 87, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SHIFT", - "tag": 88, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 87.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 8, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "↑", - "tag": 89, - "line_break": false, - "margin_left": 50.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "1", - "tag": 90, - "line_break": false, - "margin_left": 51.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "2", - "tag": 91, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "3", - "tag": 92, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ENTER", - "tag": 93, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 67.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CTRL", - "tag": 94, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 51.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "WIN", - "tag": 95, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 39.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ALT", - "tag": 96, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 42.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SPACE", - "tag": 97, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 208.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 17, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ALT Gr", - "tag": 98, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 41.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "WIN", - "tag": 99, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 41.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "APP", - "tag": 100, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 40.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CTRL", - "tag": 101, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 50.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "←", - "tag": 102, - "line_break": false, - "margin_left": 13.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "↓", - "tag": 103, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "→", - "tag": 104, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "0", - "tag": 105, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 67.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 6, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ",", - "tag": 106, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - } - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.dvorak.json b/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.dvorak.json deleted file mode 100644 index 481f596a4..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.dvorak.json +++ /dev/null @@ -1,1599 +0,0 @@ -{ - "key_conversion": { - 70: 39, - 85: 40, - 86: 41, - 48: 42, - 44: 43, - 63: 44, - 64: 45, - 80: 46, - 42: 47, - 68: 48, - 87: 49, - 29: 50, - 47: 61, - 41: 62, - 45: 63, - 46: 64, - 62: 65, - 65: 66, - 43: 67, - 83: 68, - 61: 69, - 28: 70, - 51: 71, - 69: 78, - 39: 79, - 66: 80, - 67: 81, - 79: 82, - 82: 83, - 84: 84, - 40: 85, - 81: 86, - 78: 87 - }, - "keys": [ - { - "visualName": "ESC", - "tag": 1, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F1", - "tag": 2, - "line_break": false, - "margin_left": 32.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F2", - "tag": 3, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F3", - "tag": 4, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F4", - "tag": 5, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F5", - "tag": 6, - "line_break": false, - "margin_left": 34.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F6", - "tag": 7, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F7", - "tag": 8, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F8", - "tag": 9, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F9", - "tag": 10, - "line_break": false, - "margin_left": 29.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F10", - "tag": 11, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F11", - "tag": 12, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F12", - "tag": 13, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PRINT", - "tag": 14, - "line_break": false, - "margin_left": 15.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SCRL\r\nLOCK", - "tag": 15, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAUSE", - "tag": 16, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "~", - "tag": 17, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "1", - "tag": 18, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "2", - "tag": 19, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "3", - "tag": 20, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "4", - "tag": 21, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "5", - "tag": 22, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "6", - "tag": 23, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "7", - "tag": 24, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "8", - "tag": 25, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "9", - "tag": 26, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "0", - "tag": 27, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "-", - "tag": 28, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "=", - "tag": 29, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "BACKSPACE", - "tag": 30, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 67.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 6, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "INSERT", - "tag": 31, - "line_break": false, - "margin_left": 15.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "HOME", - "tag": 32, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAGE\r\nUP", - "tag": 33, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "NUM\r\nLOCK", - "tag": 34, - "line_break": false, - "margin_left": 15.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "/", - "tag": 35, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "*", - "tag": 36, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "-", - "tag": 37, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "TAB", - "tag": 38, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 50.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "'", - "tag": 39, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ",", - "tag": 40, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ".", - "tag": 41, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "P", - "tag": 42, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Y", - "tag": 43, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F", - "tag": 44, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "G", - "tag": 45, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "C", - "tag": 46, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "R", - "tag": 47, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "L", - "tag": 48, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "/", - "tag": 49, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "=", - "tag": 50, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "\\", - "tag": 51, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 47.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 5, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "DEL", - "tag": 52, - "line_break": false, - "margin_left": 15.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "END", - "tag": 53, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAGE\r\nDOWN", - "tag": 54, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "7", - "tag": 55, - "line_break": false, - "margin_left": 15.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "8", - "tag": 56, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "9", - "tag": 57, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "+", - "tag": 58, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 67.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CAPS\r\nLOCK", - "tag": 59, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 60.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 5, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "A", - "tag": 60, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "O", - "tag": 61, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "E", - "tag": 62, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "U", - "tag": 63, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "I", - "tag": 64, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "D", - "tag": 65, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "H", - "tag": 66, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "T", - "tag": 67, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "N", - "tag": 68, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "S", - "tag": 69, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "-", - "tag": 70, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ENTER", - "tag": 72, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 74.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 7, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "4", - "tag": 73, - "line_break": false, - "margin_left": 133.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 11, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "5", - "tag": 74, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "6", - "tag": 75, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SHIFT", - "tag": 76, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 78.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 7, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ";", - "tag": 78, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Q", - "tag": 79, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "J", - "tag": 80, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "K", - "tag": 81, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "X", - "tag": 82, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "B", - "tag": 83, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "M", - "tag": 84, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "W", - "tag": 85, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "V", - "tag": 86, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Z", - "tag": 87, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SHIFT", - "tag": 88, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 93.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 8, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "↑", - "tag": 89, - "line_break": false, - "margin_left": 52.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "1", - "tag": 90, - "line_break": false, - "margin_left": 51.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "2", - "tag": 91, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "3", - "tag": 92, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ENTER", - "tag": 93, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 67.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CTRL", - "tag": 94, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 51.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "WIN", - "tag": 95, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 39.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ALT", - "tag": 96, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 42.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SPACE", - "tag": 97, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 208.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 17, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ALT", - "tag": 98, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 41.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "WIN", - "tag": 99, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 41.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "APP", - "tag": 100, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 41.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CTRL", - "tag": 101, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 48.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "←", - "tag": 102, - "line_break": false, - "margin_left": 15.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "↓", - "tag": 103, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "→", - "tag": 104, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "0", - "tag": 105, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 67.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 6, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ".", - "tag": 106, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - } - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.dvorak_int.json b/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.dvorak_int.json deleted file mode 100644 index 1ed60b3ec..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.dvorak_int.json +++ /dev/null @@ -1,1614 +0,0 @@ -{ - "key_conversion": { - 70: 39, - 85: 40, - 86: 41, - 48: 42, - 44: 43, - 63: 44, - 64: 45, - 80: 46, - 42: 47, - 68: 48, - 87: 49, - 29: 50, - 47: 61, - 41: 62, - 45: 63, - 46: 64, - 62: 65, - 65: 66, - 43: 67, - 83: 68, - 61: 69, - 28: 70, - 51: 71, - 69: 78, - 39: 79, - 66: 80, - 67: 81, - 79: 82, - 82: 83, - 84: 84, - 40: 85, - 81: 86, - 78: 87 - }, - "keys":[ - { - "visualName": "ESC", - "tag": 1, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F1", - "tag": 2, - "line_break": false, - "margin_left": 32.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F2", - "tag": 3, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F3", - "tag": 4, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F4", - "tag": 5, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F5", - "tag": 6, - "line_break": false, - "margin_left": 34.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F6", - "tag": 7, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F7", - "tag": 8, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F8", - "tag": 9, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F9", - "tag": 10, - "line_break": false, - "margin_left": 29.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F10", - "tag": 11, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F11", - "tag": 12, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F12", - "tag": 13, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PRINT", - "tag": 14, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SCRL\r\nLOCK", - "tag": 15, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAUSE", - "tag": 16, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "~", - "tag": 17, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "1", - "tag": 18, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "2", - "tag": 19, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "3", - "tag": 20, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "4", - "tag": 21, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "5", - "tag": 22, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "6", - "tag": 23, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "7", - "tag": 24, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "8", - "tag": 25, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "9", - "tag": 26, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "0", - "tag": 27, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "-", - "tag": 28, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "=", - "tag": 29, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "BACKSPACE", - "tag": 30, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 67.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 6, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "INSERT", - "tag": 31, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "HOME", - "tag": 32, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAGE\r\nUP", - "tag": 33, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "NUM\r\nLOCK", - "tag": 34, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "/", - "tag": 35, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "*", - "tag": 36, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "-", - "tag": 37, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "TAB", - "tag": 38, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 50.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "'", - "tag": 39, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ",", - "tag": 40, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ".", - "tag": 41, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "P", - "tag": 42, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Y", - "tag": 43, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F", - "tag": 44, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "G", - "tag": 45, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "C", - "tag": 46, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "R", - "tag": 47, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "L", - "tag": 48, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "/", - "tag": 49, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "=", - "tag": 50, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 40.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "DEL", - "tag": 52, - "line_break": false, - "margin_left": 58.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 5, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "END", - "tag": 53, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAGE\r\nDOWN", - "tag": 54, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "7", - "tag": 55, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "8", - "tag": 56, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "9", - "tag": 57, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "+", - "tag": 58, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 67.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CAPS\r\nLOCK", - "tag": 59, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 60.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 5, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "A", - "tag": 60, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "O", - "tag": 61, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "E", - "tag": 62, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "U", - "tag": 63, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "I", - "tag": 64, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "D", - "tag": 65, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "H", - "tag": 66, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "T", - "tag": 67, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "N", - "tag": 68, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "S", - "tag": 69, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "-", - "tag": 70, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "\\", - "tag": 71, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ENTER", - "tag": 72, - "line_break": false, - "margin_left": 7.0, - "margin_top": -37.0, - "width": 38.0, - "height": 67.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": -3, - "enabled": true - }, - { - "visualName": "4", - "tag": 73, - "line_break": false, - "margin_left": 131.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 11, - "margin_top_bits": 3, - "enabled": true - }, - { - "visualName": "5", - "tag": 74, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "6", - "tag": 75, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SHIFT", - "tag": 76, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 48.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "\\", - "tag": 77, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ";", - "tag": 78, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Q", - "tag": 79, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "J", - "tag": 80, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "K", - "tag": 81, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "X", - "tag": 82, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "B", - "tag": 83, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "M", - "tag": 84, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "W", - "tag": 85, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "V", - "tag": 86, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Z", - "tag": 87, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SHIFT", - "tag": 88, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 87.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 8, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "↑", - "tag": 89, - "line_break": false, - "margin_left": 49.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "1", - "tag": 90, - "line_break": false, - "margin_left": 52.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "2", - "tag": 91, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "3", - "tag": 92, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ENTER", - "tag": 93, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 67.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CTRL", - "tag": 94, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 51.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "WIN", - "tag": 95, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 39.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ALT", - "tag": 96, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 42.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SPACE", - "tag": 97, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 208.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 17, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ALT Gr", - "tag": 98, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 41.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "WIN", - "tag": 99, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 41.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "APP", - "tag": 100, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 40.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CTRL", - "tag": 101, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 50.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "←", - "tag": 102, - "line_break": false, - "margin_left": 12.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "↓", - "tag": 103, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "→", - "tag": 104, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "0", - "tag": 105, - "line_break": false, - "margin_left": 15.0, - "margin_top": 0.0, - "width": 67.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 6, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ".", - "tag": 106, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - } - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.es.json b/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.es.json deleted file mode 100644 index 993169bc6..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.es.json +++ /dev/null @@ -1,1589 +0,0 @@ -{ -"key_conversion": { -51: 17, // º -49: 28, // ' -50: 29, // ¡ -69: 49, // ` -29: 50, // + -17: 69, // ñ -87: 71, // ´ -28: 87, // ç -}, - "keys":[ - { - "visualName": "ESC", - "tag": 1, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F1", - "tag": 2, - "line_break": false, - "margin_left": 32.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F2", - "tag": 3, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F3", - "tag": 4, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F4", - "tag": 5, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F5", - "tag": 6, - "line_break": false, - "margin_left": 34.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F6", - "tag": 7, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F7", - "tag": 8, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F8", - "tag": 9, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F9", - "tag": 10, - "line_break": false, - "margin_left": 29.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F10", - "tag": 11, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F11", - "tag": 12, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F12", - "tag": 13, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PRINT", - "tag": 14, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SCRL\r\nLOCK", - "tag": 15, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAUSE", - "tag": 16, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "º", - "tag": 17, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "1", - "tag": 18, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "2", - "tag": 19, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "3", - "tag": 20, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "4", - "tag": 21, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "5", - "tag": 22, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "6", - "tag": 23, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "7", - "tag": 24, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "8", - "tag": 25, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "9", - "tag": 26, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "0", - "tag": 27, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "'", - "tag": 28, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "¡", - "tag": 29, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "BACKSPACE", - "tag": 30, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 67.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 6, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "INSERT", - "tag": 31, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "HOME", - "tag": 32, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAGE\r\nUP", - "tag": 33, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "BLOQ\r\nNUM", - "tag": 34, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "/", - "tag": 35, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "*", - "tag": 36, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "-", - "tag": 37, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "TAB", - "tag": 38, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 50.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Q", - "tag": 39, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "W", - "tag": 40, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "E", - "tag": 41, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "R", - "tag": 42, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "T", - "tag": 43, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Y", - "tag": 44, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "U", - "tag": 45, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "I", - "tag": 46, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "O", - "tag": 47, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "P", - "tag": 48, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "`", - "tag": 49, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "+", - "tag": 50, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 40.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "DEL", - "tag": 52, - "line_break": false, - "margin_left": 58.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 5, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "END", - "tag": 53, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAGE\r\nDOWN", - "tag": 54, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "7", - "tag": 55, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "8", - "tag": 56, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "9", - "tag": 57, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "+", - "tag": 58, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 67.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "BLOQ\r\nMAYÚS", - "tag": 59, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 60.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 5, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "A", - "tag": 60, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "S", - "tag": 61, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "D", - "tag": 62, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F", - "tag": 63, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "G", - "tag": 64, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "H", - "tag": 65, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "J", - "tag": 66, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "K", - "tag": 67, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "L", - "tag": 68, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Ñ", - "tag": 69, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "´", - "tag": 70, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Ç", - "tag": 71, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ENTER", - "tag": 72, - "line_break": false, - "margin_left": 7.0, - "margin_top": -37.0, - "width": 38.0, - "height": 67.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": -3, - "enabled": true - }, - { - "visualName": "4", - "tag": 73, - "line_break": false, - "margin_left": 131.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 11, - "margin_top_bits": 3, - "enabled": true - }, - { - "visualName": "5", - "tag": 74, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "6", - "tag": 75, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SHIFT", - "tag": 76, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 48.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "<", - "tag": 77, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Z", - "tag": 78, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "X", - "tag": 79, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "C", - "tag": 80, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "V", - "tag": 81, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "B", - "tag": 82, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "N", - "tag": 83, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "M", - "tag": 84, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ",", - "tag": 85, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ".", - "tag": 86, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "-", - "tag": 87, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SHIFT", - "tag": 88, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 87.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 8, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "↑", - "tag": 89, - "line_break": false, - "margin_left": 49.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "1", - "tag": 90, - "line_break": false, - "margin_left": 52.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "2", - "tag": 91, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "3", - "tag": 92, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ENTER", - "tag": 93, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 67.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CTRL", - "tag": 94, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 51.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "WIN", - "tag": 95, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 39.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ALT", - "tag": 96, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 42.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SPACE", - "tag": 97, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 208.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 17, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ALTGR", - "tag": 98, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 41.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "WIN", - "tag": 99, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 41.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "APP", - "tag": 100, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 40.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CTRL", - "tag": 101, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 50.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "←", - "tag": 102, - "line_break": false, - "margin_left": 12.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "↓", - "tag": 103, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "→", - "tag": 104, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "0", - "tag": 105, - "line_break": false, - "margin_left": 15.0, - "margin_top": 0.0, - "width": 67.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 6, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ".", - "tag": 106, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - } - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.fr.json b/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.fr.json deleted file mode 100644 index 5ed41c7c5..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.fr.json +++ /dev/null @@ -1,1597 +0,0 @@ -{ - "key_conversion":{ - 70:17, - 49:28, - 28:49, - 60:39, - 78:40, - 50:49, - 69:50, - 39:60, - 84:69, - 17:70, - 51:71, - 40:78, - 85:84, - 86:85, - 87:86, - 158:87 - }, - "keys":[ - { - "visualName": "ESC", - "tag": 1, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F1", - "tag": 2, - "line_break": false, - "margin_left": 32.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F2", - "tag": 3, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F3", - "tag": 4, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F4", - "tag": 5, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F5", - "tag": 6, - "line_break": false, - "margin_left": 34.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F6", - "tag": 7, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F7", - "tag": 8, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F8", - "tag": 9, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F9", - "tag": 10, - "line_break": false, - "margin_left": 29.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F10", - "tag": 11, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F11", - "tag": 12, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F12", - "tag": 13, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PRINT", - "tag": 14, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SCRL\r\nLOCK", - "tag": 15, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAUSE", - "tag": 16, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "²", - "tag": 17, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "1", - "tag": 18, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "2", - "tag": 19, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "3", - "tag": 20, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "4", - "tag": 21, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "5", - "tag": 22, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "6", - "tag": 23, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "7", - "tag": 24, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "8", - "tag": 25, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "9", - "tag": 26, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "0", - "tag": 27, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "]", - "tag": 28, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "}", - "tag": 29, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "BACKSPACE", - "tag": 30, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 67.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 6, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "INSERT", - "tag": 31, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "HOME", - "tag": 32, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAGE\r\nUP", - "tag": 33, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "NUM\r\nLOCK", - "tag": 34, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "/", - "tag": 35, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "*", - "tag": 36, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "-", - "tag": 37, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "TAB", - "tag": 38, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 50.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "A", - "tag": 39, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Z", - "tag": 40, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "E", - "tag": 41, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "R", - "tag": 42, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "T", - "tag": 43, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Y", - "tag": 44, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "U", - "tag": 45, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "I", - "tag": 46, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "O", - "tag": 47, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "P", - "tag": 48, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "..", - "tag": 49, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "$", - "tag": 50, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 40.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "DEL", - "tag": 52, - "line_break": false, - "margin_left": 58.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 5, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "END", - "tag": 53, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAGE\r\nDOWN", - "tag": 54, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "7", - "tag": 55, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "8", - "tag": 56, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "9", - "tag": 57, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "+", - "tag": 58, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 67.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CAPS\r\nLOCK", - "tag": 59, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 60.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 5, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Q", - "tag": 60, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "S", - "tag": 61, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "D", - "tag": 62, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F", - "tag": 63, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "G", - "tag": 64, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "H", - "tag": 65, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "J", - "tag": 66, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "K", - "tag": 67, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "L", - "tag": 68, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "M", - "tag": 69, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "u", - "tag": 70, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "*", - "tag": 71, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ENTER", - "tag": 72, - "line_break": false, - "margin_left": 7.0, - "margin_top": -37.0, - "width": 38.0, - "height": 67.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": -3, - "enabled": true - }, - { - "visualName": "4", - "tag": 73, - "line_break": false, - "margin_left": 131.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 11, - "margin_top_bits": 3, - "enabled": true - }, - { - "visualName": "5", - "tag": 74, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "6", - "tag": 75, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SHIFT", - "tag": 76, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 48.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "<", - "tag": 77, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "W", - "tag": 78, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "X", - "tag": 79, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "C", - "tag": 80, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "V", - "tag": 81, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "B", - "tag": 82, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "N", - "tag": 83, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "?", - "tag": 84, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ".", - "tag": 85, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "/", - "tag": 86, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "!", - "tag": 87, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SHIFT", - "tag": 88, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 87.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 8, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "↑", - "tag": 89, - "line_break": false, - "margin_left": 50.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "1", - "tag": 90, - "line_break": false, - "margin_left": 51.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "2", - "tag": 91, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "3", - "tag": 92, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ENTER", - "tag": 93, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 67.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CTRL", - "tag": 94, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 51.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "WIN", - "tag": 95, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 39.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ALT", - "tag": 96, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 42.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SPACE", - "tag": 97, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 208.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 17, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ALT Gr", - "tag": 98, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 41.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "WIN", - "tag": 99, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 41.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "APP", - "tag": 100, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 40.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CTRL", - "tag": 101, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 50.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "←", - "tag": 102, - "line_break": false, - "margin_left": 13.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "↓", - "tag": 103, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "→", - "tag": 104, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "0", - "tag": 105, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 67.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 6, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ".", - "tag": 106, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - } - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.hu.json b/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.hu.json deleted file mode 100644 index b5324a223..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.hu.json +++ /dev/null @@ -1,1588 +0,0 @@ -{ - "key_conversion":{ - "27": 17, - "44": 78, - "78": 44, - "28": 87, - "51": 71, - "87": 28, - "17": 27 - }, - "keys":[ - { - "visualName": "ESC", - "tag": 1, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F1", - "tag": 2, - "line_break": false, - "margin_left": 32.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F2", - "tag": 3, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F3", - "tag": 4, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F4", - "tag": 5, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F5", - "tag": 6, - "line_break": false, - "margin_left": 34.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F6", - "tag": 7, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F7", - "tag": 8, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F8", - "tag": 9, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F9", - "tag": 10, - "line_break": false, - "margin_left": 29.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F10", - "tag": 11, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F11", - "tag": 12, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F12", - "tag": 13, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PRINT", - "tag": 14, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SCRL\r\nLOCK", - "tag": 15, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAUSE", - "tag": 16, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "0", - "tag": 17, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "1", - "tag": 18, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "2", - "tag": 19, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "3", - "tag": 20, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "4", - "tag": 21, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "5", - "tag": 22, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "6", - "tag": 23, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "7", - "tag": 24, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "8", - "tag": 25, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "9", - "tag": 26, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Ö", - "tag": 27, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Ü", - "tag": 28, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Ó", - "tag": 29, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "BACKSPACE", - "tag": 30, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 67.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 6, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "INSERT", - "tag": 31, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "HOME", - "tag": 32, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAGE\r\nUP", - "tag": 33, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "NUM\r\nLOCK", - "tag": 34, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "/", - "tag": 35, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "*", - "tag": 36, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "-", - "tag": 37, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "TAB", - "tag": 38, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 50.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Q", - "tag": 39, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "W", - "tag": 40, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "E", - "tag": 41, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "R", - "tag": 42, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "T", - "tag": 43, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Z", - "tag": 44, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "U", - "tag": 45, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "I", - "tag": 46, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "O", - "tag": 47, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "P", - "tag": 48, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Ő", - "tag": 49, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Ú", - "tag": 50, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 40.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "DEL", - "tag": 52, - "line_break": false, - "margin_left": 58.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 5, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "END", - "tag": 53, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAGE\r\nDOWN", - "tag": 54, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "7", - "tag": 55, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "8", - "tag": 56, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "9", - "tag": 57, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "+", - "tag": 58, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 67.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CAPS\r\nLOCK", - "tag": 59, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 60.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 5, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "A", - "tag": 60, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "S", - "tag": 61, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "D", - "tag": 62, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F", - "tag": 63, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "G", - "tag": 64, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "H", - "tag": 65, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "J", - "tag": 66, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "K", - "tag": 67, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "L", - "tag": 68, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "É", - "tag": 69, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Á", - "tag": 70, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Ű", - "tag": 71, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ENTER", - "tag": 72, - "line_break": false, - "margin_left": 7.0, - "margin_top": -37.0, - "width": 38.0, - "height": 67.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": -3, - "enabled": true - }, - { - "visualName": "4", - "tag": 73, - "line_break": false, - "margin_left": 131.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 11, - "margin_top_bits": 3, - "enabled": true - }, - { - "visualName": "5", - "tag": 74, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "6", - "tag": 75, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SHIFT", - "tag": 76, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 48.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Í", - "tag": 77, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Y", - "tag": 78, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "X", - "tag": 79, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "C", - "tag": 80, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "V", - "tag": 81, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "B", - "tag": 82, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "N", - "tag": 83, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "M", - "tag": 84, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ",", - "tag": 85, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ".", - "tag": 86, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "-", - "tag": 87, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SHIFT", - "tag": 88, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 87.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 8, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "↑", - "tag": 89, - "line_break": false, - "margin_left": 49.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "1", - "tag": 90, - "line_break": false, - "margin_left": 52.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "2", - "tag": 91, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "3", - "tag": 92, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ENTER", - "tag": 93, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 67.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CTRL", - "tag": 94, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 51.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "WIN", - "tag": 95, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 39.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ALT", - "tag": 96, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 42.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SPACE", - "tag": 97, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 208.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 17, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ALT Gr", - "tag": 98, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 41.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "FN", - "tag": 99, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 41.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "APP", - "tag": 100, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 40.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CTRL", - "tag": 101, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 50.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "←", - "tag": 102, - "line_break": false, - "margin_left": 12.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "↓", - "tag": 103, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "→", - "tag": 104, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "0", - "tag": 105, - "line_break": false, - "margin_left": 15.0, - "margin_top": 0.0, - "width": 67.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 6, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ".", - "tag": 106, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - } - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.intl.json b/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.intl.json deleted file mode 100644 index 02554e1f7..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.intl.json +++ /dev/null @@ -1,1582 +0,0 @@ -{ - "key_conversion":{ - 51:71 - }, - "keys":[ - { - "visualName": "ESC", - "tag": 1, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F1", - "tag": 2, - "line_break": false, - "margin_left": 32.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F2", - "tag": 3, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F3", - "tag": 4, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F4", - "tag": 5, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F5", - "tag": 6, - "line_break": false, - "margin_left": 34.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F6", - "tag": 7, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F7", - "tag": 8, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F8", - "tag": 9, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F9", - "tag": 10, - "line_break": false, - "margin_left": 29.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F10", - "tag": 11, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F11", - "tag": 12, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F12", - "tag": 13, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PRINT", - "tag": 14, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SCRL\r\nLOCK", - "tag": 15, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAUSE", - "tag": 16, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "~", - "tag": 17, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "1", - "tag": 18, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "2", - "tag": 19, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "3", - "tag": 20, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "4", - "tag": 21, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "5", - "tag": 22, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "6", - "tag": 23, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "7", - "tag": 24, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "8", - "tag": 25, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "9", - "tag": 26, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "0", - "tag": 27, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "-", - "tag": 28, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "=", - "tag": 29, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "BACKSPACE", - "tag": 30, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 67.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 6, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "INSERT", - "tag": 31, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "HOME", - "tag": 32, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAGE\r\nUP", - "tag": 33, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "NUM\r\nLOCK", - "tag": 34, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "/", - "tag": 35, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "*", - "tag": 36, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "-", - "tag": 37, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "TAB", - "tag": 38, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 50.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Q", - "tag": 39, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "W", - "tag": 40, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "E", - "tag": 41, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "R", - "tag": 42, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "T", - "tag": 43, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Y", - "tag": 44, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "U", - "tag": 45, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "I", - "tag": 46, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "O", - "tag": 47, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "P", - "tag": 48, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "{", - "tag": 49, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "}", - "tag": 50, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 40.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "DEL", - "tag": 52, - "line_break": false, - "margin_left": 58.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 5, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "END", - "tag": 53, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAGE\r\nDOWN", - "tag": 54, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "7", - "tag": 55, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "8", - "tag": 56, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "9", - "tag": 57, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "+", - "tag": 58, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 67.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CAPS\r\nLOCK", - "tag": 59, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 60.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 5, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "A", - "tag": 60, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "S", - "tag": 61, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "D", - "tag": 62, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F", - "tag": 63, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "G", - "tag": 64, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "H", - "tag": 65, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "J", - "tag": 66, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "K", - "tag": 67, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "L", - "tag": 68, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ":", - "tag": 69, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "\"", - "tag": 70, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "\\", - "tag": 71, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ENTER", - "tag": 72, - "line_break": false, - "margin_left": 7.0, - "margin_top": -37.0, - "width": 38.0, - "height": 67.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": -3, - "enabled": true - }, - { - "visualName": "4", - "tag": 73, - "line_break": false, - "margin_left": 131.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 11, - "margin_top_bits": 3, - "enabled": true - }, - { - "visualName": "5", - "tag": 74, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "6", - "tag": 75, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SHIFT", - "tag": 76, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 48.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "\\", - "tag": 77, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Z", - "tag": 78, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "X", - "tag": 79, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "C", - "tag": 80, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "V", - "tag": 81, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "B", - "tag": 82, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "N", - "tag": 83, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "M", - "tag": 84, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "<", - "tag": 85, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ">", - "tag": 86, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "?", - "tag": 87, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SHIFT", - "tag": 88, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 87.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 8, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "↑", - "tag": 89, - "line_break": false, - "margin_left": 49.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "1", - "tag": 90, - "line_break": false, - "margin_left": 52.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "2", - "tag": 91, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "3", - "tag": 92, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ENTER", - "tag": 93, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 67.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CTRL", - "tag": 94, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 51.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "WIN", - "tag": 95, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 39.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ALT", - "tag": 96, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 42.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SPACE", - "tag": 97, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 208.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 17, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ALT", - "tag": 98, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 41.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "WIN", - "tag": 99, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 41.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "APP", - "tag": 100, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 40.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CTRL", - "tag": 101, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 50.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "←", - "tag": 102, - "line_break": false, - "margin_left": 12.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "↓", - "tag": 103, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "→", - "tag": 104, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "0", - "tag": 105, - "line_break": false, - "margin_left": 15.0, - "margin_top": 0.0, - "width": 67.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 6, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ".", - "tag": 106, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - } - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.iso.json b/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.iso.json deleted file mode 100755 index f596d37b8..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.iso.json +++ /dev/null @@ -1,1581 +0,0 @@ -{ - "key_conversion":{ - }, - "keys":[ - { - "visualName": "ESC", - "tag": 1, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F1", - "tag": 2, - "line_break": false, - "margin_left": 32.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F2", - "tag": 3, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F3", - "tag": 4, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F4", - "tag": 5, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F5", - "tag": 6, - "line_break": false, - "margin_left": 34.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F6", - "tag": 7, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F7", - "tag": 8, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F8", - "tag": 9, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F9", - "tag": 10, - "line_break": false, - "margin_left": 29.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F10", - "tag": 11, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F11", - "tag": 12, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F12", - "tag": 13, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PRINT", - "tag": 14, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SCRL\r\nLOCK", - "tag": 15, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAUSE", - "tag": 16, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "~", - "tag": 158, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "1", - "tag": 18, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "2", - "tag": 19, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "3", - "tag": 20, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "4", - "tag": 21, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "5", - "tag": 22, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "6", - "tag": 23, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "7", - "tag": 24, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "8", - "tag": 25, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "9", - "tag": 26, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "0", - "tag": 27, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "-", - "tag": 28, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "=", - "tag": 29, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "BACKSPACE", - "tag": 30, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 67.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 6, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "INSERT", - "tag": 31, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "HOME", - "tag": 32, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAGE\r\nUP", - "tag": 33, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "NUM\r\nLOCK", - "tag": 34, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "/", - "tag": 35, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "*", - "tag": 36, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "-", - "tag": 37, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "TAB", - "tag": 38, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 50.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Q", - "tag": 39, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "W", - "tag": 40, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "E", - "tag": 41, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "R", - "tag": 42, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "T", - "tag": 43, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Y", - "tag": 44, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "U", - "tag": 45, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "I", - "tag": 46, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "O", - "tag": 47, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "P", - "tag": 48, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "{", - "tag": 49, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "}", - "tag": 50, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 40.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "DEL", - "tag": 52, - "line_break": false, - "margin_left": 58.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 5, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "END", - "tag": 53, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAGE\r\nDOWN", - "tag": 54, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "7", - "tag": 55, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "8", - "tag": 56, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "9", - "tag": 57, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "+", - "tag": 58, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 67.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CAPS\r\nLOCK", - "tag": 59, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 60.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 5, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "A", - "tag": 60, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "S", - "tag": 61, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "D", - "tag": 62, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F", - "tag": 63, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "G", - "tag": 64, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "H", - "tag": 65, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "J", - "tag": 66, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "K", - "tag": 67, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "L", - "tag": 68, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ":", - "tag": 69, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "'", - "tag": 17, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "#", - "tag": 70, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ENTER", - "tag": 72, - "line_break": false, - "margin_left": 7.0, - "margin_top": -37.0, - "width": 38.0, - "height": 67.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": -3, - "enabled": true - }, - { - "visualName": "4", - "tag": 73, - "line_break": false, - "margin_left": 131.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 11, - "margin_top_bits": 3, - "enabled": true - }, - { - "visualName": "5", - "tag": 74, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "6", - "tag": 75, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SHIFT", - "tag": 76, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 48.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "\\", - "tag": 51, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Z", - "tag": 78, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "X", - "tag": 79, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "C", - "tag": 80, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "V", - "tag": 81, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "B", - "tag": 82, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "N", - "tag": 83, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "M", - "tag": 84, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "<", - "tag": 85, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ">", - "tag": 86, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "?", - "tag": 87, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SHIFT", - "tag": 88, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 87.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 8, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "↑", - "tag": 89, - "line_break": false, - "margin_left": 49.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "1", - "tag": 90, - "line_break": false, - "margin_left": 52.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "2", - "tag": 91, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "3", - "tag": 92, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ENTER", - "tag": 93, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 67.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CTRL", - "tag": 94, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 51.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "WIN", - "tag": 95, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 39.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ALT", - "tag": 96, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 42.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SPACE", - "tag": 97, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 208.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 17, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ALT Gr", - "tag": 98, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 41.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "WIN", - "tag": 99, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 41.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "APP", - "tag": 100, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 40.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CTRL", - "tag": 101, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 50.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "←", - "tag": 102, - "line_break": false, - "margin_left": 12.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "↓", - "tag": 103, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "→", - "tag": 104, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "0", - "tag": 105, - "line_break": false, - "margin_left": 15.0, - "margin_top": 0.0, - "width": 67.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 6, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ".", - "tag": 106, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - } - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.it.json b/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.it.json deleted file mode 100644 index 4c59a8eec..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.it.json +++ /dev/null @@ -1,1589 +0,0 @@ -{ - "key_conversion":{ - 51:17, - 69:49, - 17:69, - 29:50, - 28:87, - 87:71, - 49:28, - 50:29 - }, - "keys":[ - { - "visualName": "ESC", - "tag": 1, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F1", - "tag": 2, - "line_break": false, - "margin_left": 32.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F2", - "tag": 3, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F3", - "tag": 4, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F4", - "tag": 5, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F5", - "tag": 6, - "line_break": false, - "margin_left": 34.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F6", - "tag": 7, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F7", - "tag": 8, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F8", - "tag": 9, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F9", - "tag": 10, - "line_break": false, - "margin_left": 29.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F10", - "tag": 11, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F11", - "tag": 12, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F12", - "tag": 13, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PRINT", - "tag": 14, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SCRL\r\nLOCK", - "tag": 15, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAUSE", - "tag": 16, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "\\", - "tag": 17, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "1", - "tag": 18, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "2", - "tag": 19, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "3", - "tag": 20, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "4", - "tag": 21, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "5", - "tag": 22, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "6", - "tag": 23, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "7", - "tag": 24, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "8", - "tag": 25, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "9", - "tag": 26, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "0", - "tag": 27, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "'", - "tag": 28, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Ì", - "tag": 29, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "BACKSPACE", - "tag": 30, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 67.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 6, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "INSERT", - "tag": 31, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "HOME", - "tag": 32, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAGE\r\nUP", - "tag": 33, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "NUM\r\nLOCK", - "tag": 34, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "/", - "tag": 35, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "*", - "tag": 36, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "-", - "tag": 37, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "TAB", - "tag": 38, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 50.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Q", - "tag": 39, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "W", - "tag": 40, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "E", - "tag": 41, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "R", - "tag": 42, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "T", - "tag": 43, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Y", - "tag": 44, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "U", - "tag": 45, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "I", - "tag": 46, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "O", - "tag": 47, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "P", - "tag": 48, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "È", - "tag": 49, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "+", - "tag": 50, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 40.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "DEL", - "tag": 52, - "line_break": false, - "margin_left": 58.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 5, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "END", - "tag": 53, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAGE\r\nDOWN", - "tag": 54, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "7", - "tag": 55, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "8", - "tag": 56, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "9", - "tag": 57, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "+", - "tag": 58, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 67.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CAPS\r\nLOCK", - "tag": 59, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 60.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 5, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "A", - "tag": 60, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "S", - "tag": 61, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "D", - "tag": 62, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F", - "tag": 63, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "G", - "tag": 64, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "H", - "tag": 65, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "J", - "tag": 66, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "K", - "tag": 67, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "L", - "tag": 68, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Ò", - "tag": 69, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "À", - "tag": 70, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Ù", - "tag": 71, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ENTER", - "tag": 72, - "line_break": false, - "margin_left": 7.0, - "margin_top": -37.0, - "width": 38.0, - "height": 67.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": -3, - "enabled": true - }, - { - "visualName": "4", - "tag": 73, - "line_break": false, - "margin_left": 131.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 11, - "margin_top_bits": 3, - "enabled": true - }, - { - "visualName": "5", - "tag": 74, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "6", - "tag": 75, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SHIFT", - "tag": 76, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 48.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "<", - "tag": 77, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Z", - "tag": 78, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "X", - "tag": 79, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "C", - "tag": 80, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "V", - "tag": 81, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "B", - "tag": 82, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "N", - "tag": 83, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "M", - "tag": 84, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ",", - "tag": 85, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ".", - "tag": 86, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "-", - "tag": 87, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SHIFT", - "tag": 88, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 87.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 8, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "↑", - "tag": 89, - "line_break": false, - "margin_left": 50.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "1", - "tag": 90, - "line_break": false, - "margin_left": 51.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "2", - "tag": 91, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "3", - "tag": 92, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ENTER", - "tag": 93, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 67.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CTRL", - "tag": 94, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 51.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "WIN", - "tag": 95, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 39.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ALT", - "tag": 96, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 42.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SPACE", - "tag": 97, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 208.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 17, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ALT Gr", - "tag": 98, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 41.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "WIN", - "tag": 99, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 41.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "APP", - "tag": 100, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 40.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CTRL", - "tag": 101, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 50.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "←", - "tag": 102, - "line_break": false, - "margin_left": 13.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "↓", - "tag": 103, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "→", - "tag": 104, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "0", - "tag": 105, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 67.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 6, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ",", - "tag": 106, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - } - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.jpn.json b/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.jpn.json deleted file mode 100644 index 0f29b8b5b..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.jpn.json +++ /dev/null @@ -1,1630 +0,0 @@ -{ - "key_conversion":{ - 152:17, - 154:98, - 98:99, - 51:71 - }, - "keys":[ - { - "visualName": "ESC", - "tag": 1, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F1", - "tag": 2, - "line_break": false, - "margin_left": 32.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F2", - "tag": 3, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F3", - "tag": 4, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F4", - "tag": 5, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F5", - "tag": 6, - "line_break": false, - "margin_left": 34.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F6", - "tag": 7, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F7", - "tag": 8, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F8", - "tag": 9, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F9", - "tag": 10, - "line_break": false, - "margin_left": 29.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F10", - "tag": 11, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F11", - "tag": 12, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F12", - "tag": 13, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PRINT", - "tag": 14, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SCRL\r\nLOCK", - "tag": 15, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAUSE", - "tag": 16, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "半角/\r\n全角", - "tag": 17, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "1", - "tag": 18, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "2", - "tag": 19, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "3", - "tag": 20, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "4", - "tag": 21, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "5", - "tag": 22, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "6", - "tag": 23, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "7", - "tag": 24, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "8", - "tag": 25, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "9", - "tag": 26, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "0", - "tag": 27, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "-", - "tag": 28, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "^", - "tag": 29, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "¥", - "tag": 156, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "BACK", - "tag": 30, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "INSERT", - "tag": 31, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "HOME", - "tag": 32, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAGE\r\nUP", - "tag": 33, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "NUM\r\nLOCK", - "tag": 34, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "/", - "tag": 35, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "*", - "tag": 36, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "-", - "tag": 37, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "TAB", - "tag": 38, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 50.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Q", - "tag": 39, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "W", - "tag": 40, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "E", - "tag": 41, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "R", - "tag": 42, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "T", - "tag": 43, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Y", - "tag": 44, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "U", - "tag": 45, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "I", - "tag": 46, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "O", - "tag": 47, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "P", - "tag": 48, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "@", - "tag": 49, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "[", - "tag": 50, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 40.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "DEL", - "tag": 52, - "line_break": false, - "margin_left": 58.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 5, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "END", - "tag": 53, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAGE\r\nDOWN", - "tag": 54, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "7", - "tag": 55, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "8", - "tag": 56, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "9", - "tag": 57, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "+", - "tag": 58, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 67.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CAPS\r\nLOCK", - "tag": 59, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 60.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 5, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "A", - "tag": 60, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "S", - "tag": 61, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "D", - "tag": 62, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F", - "tag": 63, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "G", - "tag": 64, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "H", - "tag": 65, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "J", - "tag": 66, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "K", - "tag": 67, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "L", - "tag": 68, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ";", - "tag": 69, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ":", - "tag": 70, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "]", - "tag": 71, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ENTER", - "tag": 72, - "line_break": false, - "margin_left": 7.0, - "margin_top": -37.0, - "width": 38.0, - "height": 67.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": -3, - "enabled": true - }, - { - "visualName": "4", - "tag": 73, - "line_break": false, - "margin_left": 131.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 11, - "margin_top_bits": 3, - "enabled": true - }, - { - "visualName": "5", - "tag": 74, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "6", - "tag": 75, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SHIFT", - "tag": 76, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 85.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 7, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Z", - "tag": 78, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "X", - "tag": 79, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "C", - "tag": 80, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "V", - "tag": 81, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "B", - "tag": 82, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "N", - "tag": 83, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "M", - "tag": 84, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "<", - "tag": 85, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ">", - "tag": 86, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "/", - "tag": 87, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "\\", - "tag": 77, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SHIFT", - "tag": 88, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 50.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 5, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "↑", - "tag": 89, - "line_break": false, - "margin_left": 49.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "1", - "tag": 90, - "line_break": false, - "margin_left": 52.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "2", - "tag": 91, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "3", - "tag": 92, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ENTER", - "tag": 93, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 67.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CTRL", - "tag": 94, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 51.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "WIN", - "tag": 95, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 39.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ALT", - "tag": 96, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 42.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "無変換", - "tag": 153, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 42.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SPACE", - "tag": 97, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 133.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 11, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "変換", - "tag": 98, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "カタカナ/\r\nひらがな", - "tag": 155, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ALT", - "tag": 99, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 41.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "APP", - "tag": 100, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 40.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CTRL", - "tag": 101, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 50.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "←", - "tag": 102, - "line_break": false, - "margin_left": 12.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "↓", - "tag": 103, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "→", - "tag": 104, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "0", - "tag": 105, - "line_break": false, - "margin_left": 15.0, - "margin_top": 0.0, - "width": 67.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 6, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ".", - "tag": 106, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - } - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.la.json b/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.la.json deleted file mode 100644 index 2a5bb35a1..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.la.json +++ /dev/null @@ -1,1589 +0,0 @@ -{ -"key_conversion": { -51: 17, // | -49: 28, // ' -50: 29, // ¿ -69: 49, // ´ -29: 50, // + -17: 69, // ñ -87: 71, // } -28: 87, // - -}, - "keys":[ - { - "visualName": "ESC", - "tag": 1, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F1", - "tag": 2, - "line_break": false, - "margin_left": 32.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F2", - "tag": 3, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F3", - "tag": 4, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F4", - "tag": 5, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F5", - "tag": 6, - "line_break": false, - "margin_left": 34.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F6", - "tag": 7, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F7", - "tag": 8, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F8", - "tag": 9, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F9", - "tag": 10, - "line_break": false, - "margin_left": 29.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F10", - "tag": 11, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F11", - "tag": 12, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F12", - "tag": 13, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PRINT", - "tag": 14, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SCRL\r\nLOCK", - "tag": 15, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAUSE", - "tag": 16, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "|", - "tag": 17, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "1", - "tag": 18, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "2", - "tag": 19, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "3", - "tag": 20, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "4", - "tag": 21, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "5", - "tag": 22, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "6", - "tag": 23, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "7", - "tag": 24, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "8", - "tag": 25, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "9", - "tag": 26, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "0", - "tag": 27, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "'", - "tag": 28, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "¿", - "tag": 29, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "BACKSPACE", - "tag": 30, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 67.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 6, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "INSERT", - "tag": 31, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "HOME", - "tag": 32, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAGE\r\nUP", - "tag": 33, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "BLOQ\r\nNUM", - "tag": 34, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "/", - "tag": 35, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "*", - "tag": 36, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "-", - "tag": 37, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "TAB", - "tag": 38, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 50.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Q", - "tag": 39, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "W", - "tag": 40, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "E", - "tag": 41, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "R", - "tag": 42, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "T", - "tag": 43, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Y", - "tag": 44, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "U", - "tag": 45, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "I", - "tag": 46, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "O", - "tag": 47, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "P", - "tag": 48, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "´", - "tag": 49, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "+", - "tag": 50, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 40.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "DEL", - "tag": 52, - "line_break": false, - "margin_left": 58.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 5, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "END", - "tag": 53, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAGE\r\nDOWN", - "tag": 54, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "7", - "tag": 55, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "8", - "tag": 56, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "9", - "tag": 57, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "+", - "tag": 58, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 67.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "BLOQ\r\nMAYÚS", - "tag": 59, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 60.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 5, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "A", - "tag": 60, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "S", - "tag": 61, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "D", - "tag": 62, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F", - "tag": 63, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "G", - "tag": 64, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "H", - "tag": 65, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "J", - "tag": 66, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "K", - "tag": 67, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "L", - "tag": 68, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Ñ", - "tag": 69, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "{", - "tag": 70, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "}", - "tag": 71, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ENTER", - "tag": 72, - "line_break": false, - "margin_left": 7.0, - "margin_top": -37.0, - "width": 38.0, - "height": 67.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": -3, - "enabled": true - }, - { - "visualName": "4", - "tag": 73, - "line_break": false, - "margin_left": 131.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 11, - "margin_top_bits": 3, - "enabled": true - }, - { - "visualName": "5", - "tag": 74, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "6", - "tag": 75, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SHIFT", - "tag": 76, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 48.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "<", - "tag": 77, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Z", - "tag": 78, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "X", - "tag": 79, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "C", - "tag": 80, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "V", - "tag": 81, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "B", - "tag": 82, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "N", - "tag": 83, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "M", - "tag": 84, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ",", - "tag": 85, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ".", - "tag": 86, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "-", - "tag": 87, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SHIFT", - "tag": 88, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 87.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 8, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "↑", - "tag": 89, - "line_break": false, - "margin_left": 49.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "1", - "tag": 90, - "line_break": false, - "margin_left": 52.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "2", - "tag": 91, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "3", - "tag": 92, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ENTER", - "tag": 93, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 67.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CTRL", - "tag": 94, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 51.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "WIN", - "tag": 95, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 39.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ALT", - "tag": 96, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 42.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SPACE", - "tag": 97, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 208.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 17, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ALTGR", - "tag": 98, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 41.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "WIN", - "tag": 99, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 41.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "APP", - "tag": 100, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 40.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CTRL", - "tag": 101, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 50.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "←", - "tag": 102, - "line_break": false, - "margin_left": 12.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "↓", - "tag": 103, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "→", - "tag": 104, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "0", - "tag": 105, - "line_break": false, - "margin_left": 15.0, - "margin_top": 0.0, - "width": 67.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 6, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ".", - "tag": 106, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - } - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.nordic.json b/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.nordic.json deleted file mode 100644 index ea35eaac2..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.nordic.json +++ /dev/null @@ -1,1589 +0,0 @@ -{ - "key_conversion":{ - 69:50, - 29:28, - 28:87, - 87:71, - 17:69, - 49:29, - 51:17, - 50:49 - }, - "keys":[ - { - "visualName": "ESC", - "tag": 1, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F1", - "tag": 2, - "line_break": false, - "margin_left": 32.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F2", - "tag": 3, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F3", - "tag": 4, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F4", - "tag": 5, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F5", - "tag": 6, - "line_break": false, - "margin_left": 34.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F6", - "tag": 7, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F7", - "tag": 8, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F8", - "tag": 9, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F9", - "tag": 10, - "line_break": false, - "margin_left": 29.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F10", - "tag": 11, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F11", - "tag": 12, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F12", - "tag": 13, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PRINT", - "tag": 14, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SCRL\r\nLOCK", - "tag": 15, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAUSE", - "tag": 16, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "½", - "tag": 17, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "1", - "tag": 18, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "2", - "tag": 19, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "3", - "tag": 20, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "4", - "tag": 21, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "5", - "tag": 22, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "6", - "tag": 23, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "7", - "tag": 24, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "8", - "tag": 25, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "9", - "tag": 26, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "0", - "tag": 27, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "+", - "tag": 28, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "´", - "tag": 29, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "BACKSPACE", - "tag": 30, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 67.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 6, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "INSERT", - "tag": 31, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "HOME", - "tag": 32, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAGE\r\nUP", - "tag": 33, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "NUM\r\nLOCK", - "tag": 34, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "/", - "tag": 35, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "*", - "tag": 36, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "-", - "tag": 37, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "TAB", - "tag": 38, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 50.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Q", - "tag": 39, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "W", - "tag": 40, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "E", - "tag": 41, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "R", - "tag": 42, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "T", - "tag": 43, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Y", - "tag": 44, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "U", - "tag": 45, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "I", - "tag": 46, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "O", - "tag": 47, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "P", - "tag": 48, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Å", - "tag": 49, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "¨", - "tag": 50, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 40.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "DEL", - "tag": 52, - "line_break": false, - "margin_left": 58.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 5, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "END", - "tag": 53, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAGE\r\nDOWN", - "tag": 54, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "7", - "tag": 55, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "8", - "tag": 56, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "9", - "tag": 57, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "+", - "tag": 58, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 67.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CAPS\r\nLOCK", - "tag": 59, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 60.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 5, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "A", - "tag": 60, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "S", - "tag": 61, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "D", - "tag": 62, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F", - "tag": 63, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "G", - "tag": 64, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "H", - "tag": 65, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "J", - "tag": 66, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "K", - "tag": 67, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "L", - "tag": 68, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Ø Ö\rÆ", - "tag": 69, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Æ Ä\rØ", - "tag": 70, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "'", - "tag": 71, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ENTER", - "tag": 72, - "line_break": false, - "margin_left": 7.0, - "margin_top": -37.0, - "width": 38.0, - "height": 67.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": -3, - "enabled": true - }, - { - "visualName": "4", - "tag": 73, - "line_break": false, - "margin_left": 131.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 11, - "margin_top_bits": 3, - "enabled": true - }, - { - "visualName": "5", - "tag": 74, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "6", - "tag": 75, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SHIFT", - "tag": 76, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 48.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "<", - "tag": 77, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Z", - "tag": 78, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "X", - "tag": 79, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "C", - "tag": 80, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "V", - "tag": 81, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "B", - "tag": 82, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "N", - "tag": 83, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "M", - "tag": 84, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ",", - "tag": 85, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ".", - "tag": 86, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "-", - "tag": 87, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SHIFT", - "tag": 88, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 87.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 8, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "↑", - "tag": 89, - "line_break": false, - "margin_left": 49.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "1", - "tag": 90, - "line_break": false, - "margin_left": 52.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "2", - "tag": 91, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "3", - "tag": 92, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ENTER", - "tag": 93, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 67.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CTRL", - "tag": 94, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 51.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "WIN", - "tag": 95, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 39.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ALT", - "tag": 96, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 42.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SPACE", - "tag": 97, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 208.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 17, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ALT", - "tag": 98, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 41.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "WIN", - "tag": 99, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 41.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "APP", - "tag": 100, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 40.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CTRL", - "tag": 101, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 50.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "←", - "tag": 102, - "line_break": false, - "margin_left": 12.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "↓", - "tag": 103, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "→", - "tag": 104, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "0", - "tag": 105, - "line_break": false, - "margin_left": 15.0, - "margin_top": 0.0, - "width": 67.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 6, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ",", - "tag": 106, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - } - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.ru.json b/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.ru.json deleted file mode 100644 index d82bcc481..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.ru.json +++ /dev/null @@ -1,1567 +0,0 @@ -{ - "key_conversion":{ - 51:71 - }, - "keys":[ - { - "visualName": "ESC", - "tag": 1, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F1", - "tag": 2, - "line_break": false, - "margin_left": 32.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F2", - "tag": 3, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F3", - "tag": 4, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F4", - "tag": 5, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F5", - "tag": 6, - "line_break": false, - "margin_left": 34.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F6", - "tag": 7, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F7", - "tag": 8, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F8", - "tag": 9, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F9", - "tag": 10, - "line_break": false, - "margin_left": 29.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F10", - "tag": 11, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F11", - "tag": 12, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F12", - "tag": 13, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PRINT", - "tag": 14, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SCRL\r\nLOCK", - "tag": 15, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAUSE", - "tag": 16, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "~", - "tag": 17, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "1", - "tag": 18, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "2", - "tag": 19, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "3", - "tag": 20, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "4", - "tag": 21, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "5", - "tag": 22, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "6", - "tag": 23, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "7", - "tag": 24, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "8", - "tag": 25, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "9", - "tag": 26, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "0", - "tag": 27, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "-", - "tag": 28, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "=", - "tag": 29, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "BACKSPACE", - "tag": 30, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 67.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 6, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "INSERT", - "tag": 31, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "HOME", - "tag": 32, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAGE\r\nUP", - "tag": 33, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "NUM\r\nLOCK", - "tag": 34, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "/", - "tag": 35, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "*", - "tag": 36, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "-", - "tag": 37, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "TAB", - "tag": 38, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 50.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Q", - "tag": 39, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "W", - "tag": 40, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "E", - "tag": 41, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "R", - "tag": 42, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "T", - "tag": 43, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Y", - "tag": 44, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "U", - "tag": 45, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "I", - "tag": 46, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "O", - "tag": 47, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "P", - "tag": 48, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "{", - "tag": 49, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "}", - "tag": 50, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 40.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "DEL", - "tag": 52, - "line_break": false, - "margin_left": 58.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 5, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "END", - "tag": 53, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAGE\r\nDOWN", - "tag": 54, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "7", - "tag": 55, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "8", - "tag": 56, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "9", - "tag": 57, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "+", - "tag": 58, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 67.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CAPS\r\nLOCK", - "tag": 59, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 60.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 5, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "A", - "tag": 60, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "S", - "tag": 61, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "D", - "tag": 62, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F", - "tag": 63, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "G", - "tag": 64, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "H", - "tag": 65, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "J", - "tag": 66, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "K", - "tag": 67, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "L", - "tag": 68, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ":", - "tag": 69, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "\"", - "tag": 70, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "\\", - "tag": 71, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ENTER", - "tag": 72, - "line_break": false, - "margin_left": 7.0, - "margin_top": -37.0, - "width": 37.0, - "height": 67.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": -3, - "enabled": true - }, - { - "visualName": "4", - "tag": 73, - "line_break": false, - "margin_left": 132.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 11, - "margin_top_bits": 3, - "enabled": true - }, - { - "visualName": "5", - "tag": 74, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "6", - "tag": 75, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SHIFT", - "tag": 76, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 78.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 7, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Z", - "tag": 78, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "X", - "tag": 79, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "C", - "tag": 80, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "V", - "tag": 81, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "B", - "tag": 82, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "N", - "tag": 83, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "M", - "tag": 84, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "<", - "tag": 85, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ">", - "tag": 86, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "?", - "tag": 87, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SHIFT", - "tag": 88, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 93.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 8, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "↑", - "tag": 89, - "line_break": false, - "margin_left": 51.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "1", - "tag": 90, - "line_break": false, - "margin_left": 51.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "2", - "tag": 91, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "3", - "tag": 92, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ENTER", - "tag": 93, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 67.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CTRL", - "tag": 94, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 51.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "WIN", - "tag": 95, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 39.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ALT", - "tag": 96, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 42.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SPACE", - "tag": 97, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 208.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 17, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ALT Gr", - "tag": 98, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 41.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "WIN", - "tag": 99, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 41.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "APP", - "tag": 100, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 41.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CTRL", - "tag": 101, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 48.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "←", - "tag": 102, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "↓", - "tag": 103, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "→", - "tag": 104, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "0", - "tag": 105, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 67.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 6, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ".", - "tag": 106, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - } - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.swiss.json b/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.swiss.json deleted file mode 100644 index d939dc7a9..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.swiss.json +++ /dev/null @@ -1,1592 +0,0 @@ -{ - "key_conversion":{ - 87:17, - 49:28, - 50:29, - 78:44, - 69:49, - 17:50, - 70:69, - 51:70, - 158:71, - 44:78, - 28:87 - }, - "keys":[ - { - "visualName": "ESC", - "tag": 1, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F1", - "tag": 2, - "line_break": false, - "margin_left": 32.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F2", - "tag": 3, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F3", - "tag": 4, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F4", - "tag": 5, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F5", - "tag": 6, - "line_break": false, - "margin_left": 34.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F6", - "tag": 7, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F7", - "tag": 8, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F8", - "tag": 9, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F9", - "tag": 10, - "line_break": false, - "margin_left": 29.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F10", - "tag": 11, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F11", - "tag": 12, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F12", - "tag": 13, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PRINT", - "tag": 14, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SCRL\r\nLOCK", - "tag": 15, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAUSE", - "tag": 16, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "§", - "tag": 17, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "1", - "tag": 18, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "2", - "tag": 19, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "3", - "tag": 20, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "4", - "tag": 21, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "5", - "tag": 22, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "6", - "tag": 23, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "7", - "tag": 24, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "8", - "tag": 25, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "9", - "tag": 26, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "0", - "tag": 27, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "'", - "tag": 28, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "^", - "tag": 29, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "BACKSPACE", - "tag": 30, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 67.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 6, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "INSERT", - "tag": 31, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "HOME", - "tag": 32, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAGE\r\nUP", - "tag": 33, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "NUM\r\nLOCK", - "tag": 34, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "/", - "tag": 35, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "*", - "tag": 36, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "-", - "tag": 37, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "TAB", - "tag": 38, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 50.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Q", - "tag": 39, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "W", - "tag": 40, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "E", - "tag": 41, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "R", - "tag": 42, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "T", - "tag": 43, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Z", - "tag": 44, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "U", - "tag": 45, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "I", - "tag": 46, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "O", - "tag": 47, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "P", - "tag": 48, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Ü", - "tag": 49, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "¨", - "tag": 50, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 40.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "DEL", - "tag": 52, - "line_break": false, - "margin_left": 58.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 5, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "END", - "tag": 53, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAGE\r\nDOWN", - "tag": 54, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "7", - "tag": 55, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "8", - "tag": 56, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "9", - "tag": 57, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "+", - "tag": 58, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 67.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CAPS\r\nLOCK", - "tag": 59, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 60.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 5, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "A", - "tag": 60, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "S", - "tag": 61, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "D", - "tag": 62, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F", - "tag": 63, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "G", - "tag": 64, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "H", - "tag": 65, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "J", - "tag": 66, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "K", - "tag": 67, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "L", - "tag": 68, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Ö", - "tag": 69, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Ä", - "tag": 70, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "$", - "tag": 71, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ENTER", - "tag": 72, - "line_break": false, - "margin_left": 7.0, - "margin_top": -37.0, - "width": 38.0, - "height": 67.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": -3, - "enabled": true - }, - { - "visualName": "4", - "tag": 73, - "line_break": false, - "margin_left": 131.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 11, - "margin_top_bits": 3, - "enabled": true - }, - { - "visualName": "5", - "tag": 74, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "6", - "tag": 75, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SHIFT", - "tag": 76, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 48.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "<", - "tag": 77, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Y", - "tag": 78, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "X", - "tag": 79, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "C", - "tag": 80, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "V", - "tag": 81, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "B", - "tag": 82, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "N", - "tag": 83, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "M", - "tag": 84, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ";", - "tag": 85, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ":", - "tag": 86, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "-", - "tag": 87, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SHIFT", - "tag": 88, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 87.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 8, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "↑", - "tag": 89, - "line_break": false, - "margin_left": 50.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "1", - "tag": 90, - "line_break": false, - "margin_left": 51.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "2", - "tag": 91, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "3", - "tag": 92, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ENTER", - "tag": 93, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 67.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CTRL", - "tag": 94, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 51.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "WIN", - "tag": 95, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 39.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ALT", - "tag": 96, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 42.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SPACE", - "tag": 97, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 208.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 17, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ALT Gr", - "tag": 98, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 41.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "WIN", - "tag": 99, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 41.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "APP", - "tag": 100, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 40.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CTRL", - "tag": 101, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 50.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "←", - "tag": 102, - "line_break": false, - "margin_left": 13.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "↓", - "tag": 103, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "→", - "tag": 104, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "0", - "tag": 105, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 67.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 6, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ",", - "tag": 106, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - } - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.tr.json b/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.tr.json deleted file mode 100644 index 07ab4554d..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.tr.json +++ /dev/null @@ -1,1587 +0,0 @@ -{ - "key_conversion":{ - 158:28, - 28:29, - 85:71, - 87:85, - 51:86, - 86:87 - }, - "keys":[ - { - "visualName": "ESC", - "tag": 1, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F1", - "tag": 2, - "line_break": false, - "margin_left": 32.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F2", - "tag": 3, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F3", - "tag": 4, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F4", - "tag": 5, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F5", - "tag": 6, - "line_break": false, - "margin_left": 34.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F6", - "tag": 7, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F7", - "tag": 8, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F8", - "tag": 9, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F9", - "tag": 10, - "line_break": false, - "margin_left": 29.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F10", - "tag": 11, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F11", - "tag": 12, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F12", - "tag": 13, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PRINT", - "tag": 14, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SCRL\r\nLOCK", - "tag": 15, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAUSE", - "tag": 16, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "~", - "tag": 17, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "1", - "tag": 18, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "2", - "tag": 19, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "3", - "tag": 20, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "4", - "tag": 21, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "5", - "tag": 22, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "6", - "tag": 23, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "7", - "tag": 24, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "8", - "tag": 25, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "9", - "tag": 26, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "0", - "tag": 27, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "?", - "tag": 28, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "_", - "tag": 29, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "BACKSPACE", - "tag": 30, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 67.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 6, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "INSERT", - "tag": 31, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "HOME", - "tag": 32, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAGE\r\nUP", - "tag": 33, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "NUM\r\nLOCK", - "tag": 34, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "/", - "tag": 35, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "*", - "tag": 36, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "-", - "tag": 37, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "TAB", - "tag": 38, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 50.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Q", - "tag": 39, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "W", - "tag": 40, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "E", - "tag": 41, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "R", - "tag": 42, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "T", - "tag": 43, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Y", - "tag": 44, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "U", - "tag": 45, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "I", - "tag": 46, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "O", - "tag": 47, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "P", - "tag": 48, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Ğ", - "tag": 49, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Ü", - "tag": 50, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 40.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "DEL", - "tag": 52, - "line_break": false, - "margin_left": 58.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 5, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "END", - "tag": 53, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAGE\r\nDOWN", - "tag": 54, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "7", - "tag": 55, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "8", - "tag": 56, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "9", - "tag": 57, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "+", - "tag": 58, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 67.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CAPS\r\nLOCK", - "tag": 59, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 60.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 5, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "A", - "tag": 60, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "S", - "tag": 61, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "D", - "tag": 62, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F", - "tag": 63, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "G", - "tag": 64, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "H", - "tag": 65, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "J", - "tag": 66, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "K", - "tag": 67, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "L", - "tag": 68, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Ş", - "tag": 69, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "İ", - "tag": 70, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ";", - "tag": 71, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ENTER", - "tag": 72, - "line_break": false, - "margin_left": 7.0, - "margin_top": -37.0, - "width": 38.0, - "height": 67.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": -3, - "enabled": true - }, - { - "visualName": "4", - "tag": 73, - "line_break": false, - "margin_left": 131.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 11, - "margin_top_bits": 3, - "enabled": true - }, - { - "visualName": "5", - "tag": 74, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "6", - "tag": 75, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SHIFT", - "tag": 76, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 48.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ">", - "tag": 77, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Z", - "tag": 78, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "X", - "tag": 79, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "C", - "tag": 80, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "V", - "tag": 81, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "B", - "tag": 82, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "N", - "tag": 83, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "M", - "tag": 84, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Ö", - "tag": 85, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Ç", - "tag": 86, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ":", - "tag": 87, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SHIFT", - "tag": 88, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 87.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 8, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "↑", - "tag": 89, - "line_break": false, - "margin_left": 49.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "1", - "tag": 90, - "line_break": false, - "margin_left": 52.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "2", - "tag": 91, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "3", - "tag": 92, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ENTER", - "tag": 93, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 67.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CTRL", - "tag": 94, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 51.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "WIN", - "tag": 95, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 39.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ALT", - "tag": 96, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 42.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SPACE", - "tag": 97, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 208.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 17, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ALT", - "tag": 98, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 41.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "WIN", - "tag": 99, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 41.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "APP", - "tag": 100, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 40.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CTRL", - "tag": 101, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 50.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "←", - "tag": 102, - "line_break": false, - "margin_left": 12.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "↓", - "tag": 103, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "→", - "tag": 104, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "0", - "tag": 105, - "line_break": false, - "margin_left": 15.0, - "margin_top": 0.0, - "width": 67.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 6, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ".", - "tag": 106, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - } - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.uk.json b/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.uk.json deleted file mode 100644 index cfc841418..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.uk.json +++ /dev/null @@ -1,1585 +0,0 @@ -{ - "key_conversion":{ - 17:70, - 51:77, - 70:71, - 158:17 - }, - "keys":[ - { - "visualName": "ESC", - "tag": 1, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F1", - "tag": 2, - "line_break": false, - "margin_left": 32.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F2", - "tag": 3, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F3", - "tag": 4, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F4", - "tag": 5, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F5", - "tag": 6, - "line_break": false, - "margin_left": 34.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F6", - "tag": 7, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F7", - "tag": 8, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F8", - "tag": 9, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F9", - "tag": 10, - "line_break": false, - "margin_left": 29.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F10", - "tag": 11, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F11", - "tag": 12, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F12", - "tag": 13, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PRINT", - "tag": 14, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SCRL\r\nLOCK", - "tag": 15, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAUSE", - "tag": 16, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "~", - "tag": 17, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "1", - "tag": 18, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "2", - "tag": 19, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "3", - "tag": 20, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "4", - "tag": 21, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "5", - "tag": 22, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "6", - "tag": 23, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "7", - "tag": 24, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "8", - "tag": 25, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "9", - "tag": 26, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "0", - "tag": 27, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "-", - "tag": 28, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "=", - "tag": 29, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "BACKSPACE", - "tag": 30, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 67.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 6, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "INSERT", - "tag": 31, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "HOME", - "tag": 32, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAGE\r\nUP", - "tag": 33, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "NUM\r\nLOCK", - "tag": 34, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "/", - "tag": 35, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "*", - "tag": 36, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "-", - "tag": 37, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "TAB", - "tag": 38, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 50.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Q", - "tag": 39, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "W", - "tag": 40, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "E", - "tag": 41, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "R", - "tag": 42, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "T", - "tag": 43, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Y", - "tag": 44, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "U", - "tag": 45, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "I", - "tag": 46, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "O", - "tag": 47, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "P", - "tag": 48, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "{", - "tag": 49, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "}", - "tag": 50, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 40.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "DEL", - "tag": 52, - "line_break": false, - "margin_left": 58.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 5, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "END", - "tag": 53, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAGE\r\nDOWN", - "tag": 54, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "7", - "tag": 55, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "8", - "tag": 56, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "9", - "tag": 57, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "+", - "tag": 58, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 67.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CAPS\r\nLOCK", - "tag": 59, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 60.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 5, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "A", - "tag": 60, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "S", - "tag": 61, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "D", - "tag": 62, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F", - "tag": 63, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "G", - "tag": 64, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "H", - "tag": 65, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "J", - "tag": 66, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "K", - "tag": 67, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "L", - "tag": 68, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ":", - "tag": 69, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "'", - "tag": 70, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "#", - "tag": 71, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ENTER", - "tag": 72, - "line_break": false, - "margin_left": 7.0, - "margin_top": -37.0, - "width": 38.0, - "height": 67.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": -3, - "enabled": true - }, - { - "visualName": "4", - "tag": 73, - "line_break": false, - "margin_left": 131.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 11, - "margin_top_bits": 3, - "enabled": true - }, - { - "visualName": "5", - "tag": 74, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "6", - "tag": 75, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SHIFT", - "tag": 76, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 48.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "\\", - "tag": 77, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Z", - "tag": 78, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "X", - "tag": 79, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "C", - "tag": 80, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "V", - "tag": 81, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "B", - "tag": 82, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "N", - "tag": 83, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "M", - "tag": 84, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "<", - "tag": 85, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ">", - "tag": 86, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "?", - "tag": 87, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SHIFT", - "tag": 88, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 87.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 8, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "↑", - "tag": 89, - "line_break": false, - "margin_left": 49.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "1", - "tag": 90, - "line_break": false, - "margin_left": 52.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "2", - "tag": 91, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "3", - "tag": 92, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ENTER", - "tag": 93, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 67.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CTRL", - "tag": 94, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 51.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "WIN", - "tag": 95, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 39.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ALT", - "tag": 96, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 42.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SPACE", - "tag": 97, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 208.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 17, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ALT Gr", - "tag": 98, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 41.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "WIN", - "tag": 99, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 41.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "APP", - "tag": 100, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 40.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CTRL", - "tag": 101, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 50.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "←", - "tag": 102, - "line_break": false, - "margin_left": 12.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "↓", - "tag": 103, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "→", - "tag": 104, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "0", - "tag": 105, - "line_break": false, - "margin_left": 15.0, - "margin_top": 0.0, - "width": 67.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 6, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ".", - "tag": 106, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - } - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.us.json b/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.us.json deleted file mode 100644 index a6dab1dec..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Plain Keyboard/layout.us.json +++ /dev/null @@ -1,1564 +0,0 @@ -{ - "keys":[ - { - "visualName": "ESC", - "tag": 1, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F1", - "tag": 2, - "line_break": false, - "margin_left": 32.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F2", - "tag": 3, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F3", - "tag": 4, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F4", - "tag": 5, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F5", - "tag": 6, - "line_break": false, - "margin_left": 34.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F6", - "tag": 7, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F7", - "tag": 8, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F8", - "tag": 9, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F9", - "tag": 10, - "line_break": false, - "margin_left": 29.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 2, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F10", - "tag": 11, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F11", - "tag": 12, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F12", - "tag": 13, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PRINT", - "tag": 14, - "line_break": false, - "margin_left": 15.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SCRL\r\nLOCK", - "tag": 15, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAUSE", - "tag": 16, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "~", - "tag": 17, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "1", - "tag": 18, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "2", - "tag": 19, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "3", - "tag": 20, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "4", - "tag": 21, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "5", - "tag": 22, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "6", - "tag": 23, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "7", - "tag": 24, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "8", - "tag": 25, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "9", - "tag": 26, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "0", - "tag": 27, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "-", - "tag": 28, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "=", - "tag": 29, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "BACKSPACE", - "tag": 30, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 67.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 6, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "INSERT", - "tag": 31, - "line_break": false, - "margin_left": 15.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "HOME", - "tag": 32, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAGE\r\nUP", - "tag": 33, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "NUM\r\nLOCK", - "tag": 34, - "line_break": false, - "margin_left": 15.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "/", - "tag": 35, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "*", - "tag": 36, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "-", - "tag": 37, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "TAB", - "tag": 38, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 50.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Q", - "tag": 39, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "W", - "tag": 40, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "E", - "tag": 41, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "R", - "tag": 42, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "T", - "tag": 43, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Y", - "tag": 44, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "U", - "tag": 45, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "I", - "tag": 46, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "O", - "tag": 47, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "P", - "tag": 48, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "{", - "tag": 49, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "}", - "tag": 50, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "\\", - "tag": 51, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 47.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 5, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "DEL", - "tag": 52, - "line_break": false, - "margin_left": 15.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "END", - "tag": 53, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "PAGE\r\nDOWN", - "tag": 54, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "7", - "tag": 55, - "line_break": false, - "margin_left": 15.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "8", - "tag": 56, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "9", - "tag": 57, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "+", - "tag": 58, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 67.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CAPS\r\nLOCK", - "tag": 59, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 60.0, - "height": 30.0, - "font_size": 9.0, - "width_bits": 5, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "A", - "tag": 60, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "S", - "tag": 61, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "D", - "tag": 62, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "F", - "tag": 63, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "G", - "tag": 64, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "H", - "tag": 65, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "J", - "tag": 66, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "K", - "tag": 67, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "L", - "tag": 68, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ":", - "tag": 69, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "\"", - "tag": 70, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ENTER", - "tag": 72, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 74.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 7, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "4", - "tag": 73, - "line_break": false, - "margin_left": 133.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 11, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "5", - "tag": 74, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "6", - "tag": 75, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SHIFT", - "tag": 76, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 78.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 7, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "Z", - "tag": 78, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "X", - "tag": 79, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "C", - "tag": 80, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "V", - "tag": 81, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "B", - "tag": 82, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "N", - "tag": 83, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "M", - "tag": 84, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "<", - "tag": 85, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ">", - "tag": 86, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "?", - "tag": 87, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SHIFT", - "tag": 88, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 93.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 8, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "↑", - "tag": 89, - "line_break": false, - "margin_left": 52.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "1", - "tag": 90, - "line_break": false, - "margin_left": 51.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 4, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "2", - "tag": 91, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "3", - "tag": 92, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ENTER", - "tag": 93, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 67.0, - "font_size": 9.0, - "width_bits": 3, - "height_bits": 6, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CTRL", - "tag": 94, - "line_break": false, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 51.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "WIN", - "tag": 95, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 39.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ALT", - "tag": 96, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 42.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "SPACE", - "tag": 97, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 208.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 17, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "ALT", - "tag": 98, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 41.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "WIN", - "tag": 99, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 41.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "APP", - "tag": 100, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 41.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "CTRL", - "tag": 101, - "line_break": false, - "margin_left": 5.0, - "margin_top": 0.0, - "width": 48.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 4, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "←", - "tag": 102, - "line_break": false, - "margin_left": 15.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "↓", - "tag": 103, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "→", - "tag": 104, - "line_break": false, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": "0", - "tag": 105, - "line_break": false, - "margin_left": 14.0, - "margin_top": 0.0, - "width": 67.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 6, - "height_bits": 3, - "margin_left_bits": 1, - "margin_top_bits": 0, - "enabled": true - }, - { - "visualName": ".", - "tag": 106, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 30.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 3, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": true - } - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Uniwill2ND_35X_1.json b/Project-Aurora/Project-Aurora/kb_layouts/Uniwill2ND_35X_1.json deleted file mode 100644 index 27efbab2b..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Uniwill2ND_35X_1.json +++ /dev/null @@ -1,244 +0,0 @@ -{ - "keys_to_remove": [ - 14, - 15, - 16, - 31, - 32, - 33, - 51, - 52, - 53, - 54, - 71, - 77, - 99 - - - ], - "key_modifications": { - "2": { - "tag": 2, - "margin_left": 7.0 - }, - "3": { - "tag": 3, - "margin_left": 7.0 - }, - "4": { - "tag": 4, - "margin_left": 7.0 - }, - "5": { - "tag": 5, - "margin_left": 7.0 - }, - "6": { - "tag": 6, - "margin_left": 7.0 - }, - "7": { - "tag": 7, - "margin_left": 7.0 - }, - "8": { - "tag": 8, - "margin_left": 7.0 - }, - "9": { - "tag": 9, - "margin_left": 7.0 - }, - "10": { - "tag": 10, - "margin_left": 7.0 - }, - "11": { - "tag": 11, - "margin_left": 7.0 - }, - "12": { - "tag": 12, - "margin_left": 7.0 - }, - "13": { - "tag": 13, - "line_break": true, - "margin_left": 7.0 - }, - - - "30": { - "tag": 30, - - "margin_left": 7.0 - }, - //home - //"32": { - // "tag": 32, - - // "margin_left": 7.0 - //}, - - //Number lock - "34": { - "tag": 34, - "margin_left": 7 - }, - "35": { - "tag": 35, - "margin_left": 7 - }, - "36": { - "tag": 36, - "margin_left": 7 - }, - "37": { - "tag": 37, - "margin_left": 7, - "line_break": true - }, - - - - "50": { - "line_break": null, - "width": 30 - }, - "51": { - "margin_left": 7, - "width": 30 - }, - //number 7 - "55": { - "tag": 55, - "margin_left": 62 - }, - //number 8 - "56": { - "tag": 56, - "margin_left": 7 - }, - - //number 9 - "57": { - "tag": 57, - "margin_left": 7 - }, - - //+ - "58": { - "margin_left": 7, - "line_break": true - - - }, - - - "72": { - "tag": 72, - "line_break": null, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 74.0, - "height": 30.0, - "font_size": 12.0 - }, - "73": { - "margin_left": 7 - }, - //number 6 - "75": { - "line_break": true - }, - "76": { - "tag": 76, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 78.0, - "height": 30.0, - "font_size": 12.0 - }, - //right shift - "88": { - "tag": 88, - "line_break": null, - "width": 57 - }, - - //"↑" - "89": { - "tag": 89, - "margin_left": 7 - }, - "90": { - "margin_left": 7.0 - }, - //Number enter - "93": { - "line_break": true - }, - //LeftControl - "94": { - "tag": 94, - "width": 41 - }, - "95": { - "tag": 95, - "margin_left": 44, - "width": 30 - }, - "96": { - "tag": 96, - "margin_left": 7, - "width": 30 - }, - "97": { - "tag": 97, - "width": 178 - }, - "98": { - "tag": 98, - "margin_left": 7, - "width": 30 - }, - "100": { - "visualName": "App", - "tag": 100, - "margin_left": 7, - "width": 30 - }, - //Rith control - "101": { - "tag": 101, - "margin_left": 7, - "width": 58 - }, - "102": { - "tag": 102, - "margin_left": 7.0 - - }, - "104": { - "tag": 104, - "line_break": null - - }, - "105": { - "margin_left": 7.0, - "width": 30 - }, - "106": { - "line_break": true - } - - - }, - - "included_features": [ - "keyboard_numpad_left_bottom_features.json", - //"generic_laptop_numpad_right_bottom_features.json", - "keyboard101_numpad_right_features.json" - - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Uniwill2ND_35X_2.json b/Project-Aurora/Project-Aurora/kb_layouts/Uniwill2ND_35X_2.json deleted file mode 100644 index c9abbe256..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Uniwill2ND_35X_2.json +++ /dev/null @@ -1,258 +0,0 @@ -{ - "keys_to_remove": [ - 14, - 15, - 16, - 31, - 32, - 33, - 51, - 52, - 53, - 54, - - - 99 - - - ], - "key_modifications": { - "2": { - "tag": 2, - "margin_left": 7.0 - }, - "3": { - "tag": 3, - "margin_left": 7.0 - }, - "4": { - "tag": 4, - "margin_left": 7.0 - }, - "5": { - "tag": 5, - "margin_left": 7.0 - }, - "6": { - "tag": 6, - "margin_left": 7.0 - }, - "7": { - "tag": 7, - "margin_left": 7.0 - }, - "8": { - "tag": 8, - "margin_left": 7.0 - }, - "9": { - "tag": 9, - "margin_left": 7.0 - }, - "10": { - "tag": 10, - "margin_left": 7.0 - }, - "11": { - "tag": 11, - "margin_left": 7.0 - }, - "12": { - "tag": 12, - "margin_left": 7.0 - }, - "13": { - "tag": 13, - "line_break": true, - "margin_left": 7.0 - }, - - - "30": { - "tag": 30, - - "margin_left": 7.0 - }, - //home - //"32": { - // "tag": 32, - - // "margin_left": 7.0 - //}, - - //Number lock - "34": { - "tag": 34, - "margin_left": 7 - }, - "35": { - "tag": 35, - "margin_left": 7 - }, - "36": { - "tag": 36, - "margin_left": 7 - }, - "37": { - "tag": 37, - "margin_left": 7, - "line_break": true - }, - - - - "50": { - "line_break": null, - "width": 30 - }, - "51": { - "margin_left": 7, - "width": 30 - }, - //number 7 - "55": { - "tag": 55, - "margin_left": 62 - }, - //number 8 - "56": { - "tag": 56, - "margin_left": 7 - }, - - //number 9 - "57": { - "tag": 57, - "margin_left": 7 - }, - - //+ - "58": { - "margin_left": 7, - "line_break": true - - - }, - - //key ~ - "71": { - "visualName": "~", - "tag": 71 - - }, - //ENTER - "72": { - "tag": 72, - "line_break": null, - "margin_left": 7.0, - "margin_top": -40.0, - "width": 37.0, - "height": 70.0, - "font_size": 12.0 - }, - "73": { - "margin_left": 7 - }, - //number 6 - "75": { - "line_break": true - }, - //left shift - "76": { - "tag": 76, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 41.0, - "height": 30.0, - "font_size": 12.0 - }, - // \ - "77": { - "tag": 77, - "line_break": null - - }, - - //right shift - "88": { - "tag": 88, - "line_break": null, - "width": 57 - }, - - //"↑" - "89": { - "tag": 89, - "margin_left": 7 - }, - "90": { - "margin_left": 7.0 - }, - //Number enter - "93": { - "line_break": true - }, - //LeftControl - "94": { - "tag": 94, - "width": 41 - }, - "95": { - "tag": 95, - "margin_left": 44, - "width": 30 - }, - "96": { - "tag": 96, - "margin_left": 7, - "width": 30 - }, - "97": { - "tag": 97, - "width": 178 - }, - "98": { - "tag": 98, - "margin_left": 7, - "width": 30 - }, - "100": { - "visualName": "App", - "tag": 100, - "margin_left": 7, - "width": 30 - }, - //Rith control - "101": { - "tag": 101, - "margin_left": 7, - "width": 58 - }, - "102": { - "tag": 102, - "margin_left": 7.0 - - }, - "104": { - "tag": 104, - "line_break": null - - }, - "105": { - "margin_left": 7.0, - "width": 30 - }, - "106": { - "line_break": true - } - - - }, - - "included_features": [ - "keyboard_numpad_left_bottom_features.json" - - //"keyboard102_numpad_right_features.json" - - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Uniwill2P1_550_BR.json b/Project-Aurora/Project-Aurora/kb_layouts/Uniwill2P1_550_BR.json deleted file mode 100644 index 715890462..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Uniwill2P1_550_BR.json +++ /dev/null @@ -1,239 +0,0 @@ -{ - "keys_to_remove": [ - 14, - 15, - 16, - 31, - 32, - 33, - 34, - 35, - 36, - 37, - - 51, - 52, - 53, - 54, - 55, - 56, - 57, - 58, - 73,74,75, - 90,91,92,93, - 99, - 105,106 - - ], - "key_modifications": { - "2": { - "tag": 2, - "margin_left": 7.0 - }, - "3": { - "tag": 3, - "margin_left": 7.0 - }, - "4": { - "tag": 4, - "margin_left": 7.0 - }, - "5": { - "tag": 5, - "margin_left": 7.0 - }, - "6": { - "tag": 6, - "margin_left": 7.0 - }, - "7": { - "tag": 7, - "margin_left": 7.0 - }, - "8": { - "tag": 8, - "margin_left": 7.0 - }, - "9": { - "tag": 9, - "margin_left": 7.0 - }, - "10": { - "tag": 10, - "margin_left": 7.0 - }, - "11": { - "tag": 11, - "margin_left": 7.0 - }, - "12": { - "tag": 12, - "margin_left": 7.0 - }, - "13": { - "tag": 13, - "line_break": true, - "margin_left": 7.0 - }, - - "30": { - "visualName": "←", - "tag": 30, - "width": 30, - "line_break": true, - "margin_left": 44.0 - }, - - - - "50": { - "line_break": true, - "width": 30 - }, - "51": { - "margin_left": 7, - - "width": 30 - }, - - //key ~ - "71": { - "visualName": "]", - - "tag": 71 - - }, - //ENTER - "72": { - "tag": 72, - "line_break": true, - "margin_left": 7.0, - "margin_top": -40.0, - "width": 37.0, - "height": 70.0, - "font_size": 12.0 - }, - //"73": { - // "margin_left": 7 - //}, - ////number 6 - //"75": { - // "line_break": true - //}, - //left shift - "76": { - "tag": 76, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 41.0, - "height": 30.0, - "font_size": 12.0 - }, - // \ - "77": { - "tag": 77, - "line_break": null - - }, - - "85": { - "tag": 85, - - "width": 28 - }, - - "86": { - "tag": 86, - - "width": 28 - }, - "87": { - "tag": 87, - - "width": 28 - }, - - //right shift - "88": { - "font_size": 10.0, - "tag": 88, - "line_break": null, - "width": 28 - }, - - //"↑" - "89": { - "tag": 89, - "line_break": true, - "margin_left": 7 - }, - "90": { - "margin_left": 7.0 - }, - ////Number enter - //"93": { - // "line_break": true - //}, - //LeftControl - "94": { - "tag": 94, - "width": 41 - }, - "95": { - "tag": 95, - "margin_left": 44, - "width": 30 - }, - "96": { - "tag": 96, - "margin_left": 7, - "width": 30 - }, - "97": { - "tag": 97, - "width": 178 - }, - "98": { - "tag": 98, - "margin_left": 7, - "width": 30 - }, - "100": { - "visualName": "App", - "tag": 100, - "margin_left": 7, - "width": 30 - }, - //Rith control - "101": { - "tag": 101, - "margin_left": 7, - "width": 58 - }, - "102": { - "tag": 102, - "margin_left": 7.0 - - }, - "104": { - "tag": 104, - "line_break": true - - } - //"105": { - // "margin_left": 7.0, - // "width": 30 - //}, - //"106": { - // "line_break": true - //} - - - }, - - "included_features": [ - "keyboard21br_numpad_left_bottom_features.json" , - //"keyboard102_numpad_right_features.json" - - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Uniwill2P1_550_JP.json b/Project-Aurora/Project-Aurora/kb_layouts/Uniwill2P1_550_JP.json deleted file mode 100644 index b90998420..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Uniwill2P1_550_JP.json +++ /dev/null @@ -1,223 +0,0 @@ -{ - "keys_to_remove": [ - 14, - 15, - 16, - 31, - 32, - 33, - 34, - 35, - 36, - 37, - - 51, - 52, - 53, - 54, - 55, - 56, - 57, - 58, - 73,74,75, - 90,91,92,93, - 99, - 100, - 105, - 106, - 153 - - ], - "key_modifications": { - "2": { - "tag": 2, - "margin_left": 7.0 - }, - "3": { - "tag": 3, - "margin_left": 7.0 - }, - "4": { - "tag": 4, - "margin_left": 7.0 - }, - "5": { - "tag": 5, - "margin_left": 7.0 - }, - "6": { - "tag": 6, - "margin_left": 7.0 - }, - "7": { - "tag": 7, - "margin_left": 7.0 - }, - "8": { - "tag": 8, - "margin_left": 7.0 - }, - "9": { - "tag": 9, - "margin_left": 7.0 - }, - "10": { - "tag": 10, - "margin_left": 7.0 - }, - "11": { - "tag": 11, - "margin_left": 7.0 - }, - "12": { - "tag": 12, - "margin_left": 7.0 - }, - "13": { - "tag": 13, - "line_break": true, - "margin_left": 7.0 - }, - - "30": { - "tag": 30, - "width": 30, - "line_break": true, - "margin_left": 7.0 - }, - - - - "50": { - "line_break": true, - "width": 30 - }, - "51": { - "margin_left": 7, - - "width": 30 - }, - - //key ~ - "71": { - "visualName": "]", - - "tag": 71 - - }, - //ENTER - "72": { - "tag": 72, - "line_break": true, - "margin_left": 7.0, - "margin_top": -40.0, - "width": 37.0, - "height": 70.0, - "font_size": 12.0 - }, - //"73": { - // "margin_left": 7 - //}, - ////number 6 - //"75": { - // "line_break": true - //}, - //left shift - "76": { - "tag": 76, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 68.0, - "height": 30.0, - "font_size": 12.0 - }, - // \ - "77": { - "tag": 77, - "line_break": null - - }, - - //right shift - "88": { - "tag": 88, - "line_break": null, - "width": 30 - }, - - //"↑" - "89": { - "tag": 89, - "line_break": true, - "margin_left": 7 - }, - "90": { - "margin_left": 7.0 - }, - ////Number enter - //"93": { - // "line_break": true - //}, - //LeftControl - "94": { - "tag": 94, - "width": 41 - }, - "95": { - "tag": 95, - "margin_left": 44, - "width": 30 - }, - "96": { - "tag": 96, - "margin_left": 7, - "width": 30 - }, - "97": { - "tag": 97, - "width": 178 - }, - "98": { - "tag": 98, - "margin_left": 7, - "width": 30 - }, - "100": { - "visualName": "App", - "tag": 100, - "margin_left": 7, - "width": 30 - }, - //Rith control - "101": { - "tag": 101, - "margin_left": 7, - "width": 58 - }, - "102": { - "tag": 102, - "margin_left": 7.0 - - }, - "104": { - "tag": 104, - "line_break": true - - } - //"105": { - // "margin_left": 7.0, - // "width": 30 - //}, - //"106": { - // "line_break": true - //} - - - }, - - "included_features": [ - "keyboard21jp_numpad_left_bottom_features.json" , - //"keyboard102_numpad_right_features.json" - - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Uniwill2P1_550_UK.json b/Project-Aurora/Project-Aurora/kb_layouts/Uniwill2P1_550_UK.json deleted file mode 100644 index cefbb846e..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Uniwill2P1_550_UK.json +++ /dev/null @@ -1,219 +0,0 @@ -{ - "keys_to_remove": [ - 14, - 15, - 16, - 31, - 32, - 33, - 34, - 35, - 36, - 37, - - 51, - 52, - 53, - 54, - 55, - 56, - 57, - 58, - 73,74,75, - 90,91,92,93, - 99, - 105,106 - - ], - "key_modifications": { - "2": { - "tag": 2, - "margin_left": 7.0 - }, - "3": { - "tag": 3, - "margin_left": 7.0 - }, - "4": { - "tag": 4, - "margin_left": 7.0 - }, - "5": { - "tag": 5, - "margin_left": 7.0 - }, - "6": { - "tag": 6, - "margin_left": 7.0 - }, - "7": { - "tag": 7, - "margin_left": 7.0 - }, - "8": { - "tag": 8, - "margin_left": 7.0 - }, - "9": { - "tag": 9, - "margin_left": 7.0 - }, - "10": { - "tag": 10, - "margin_left": 7.0 - }, - "11": { - "tag": 11, - "margin_left": 7.0 - }, - "12": { - "tag": 12, - "margin_left": 7.0 - }, - "13": { - "tag": 13, - "line_break": true, - "margin_left": 7.0 - }, - - "30": { - "tag": 30, - "line_break": true, - "margin_left": 7.0 - }, - - - - "50": { - "line_break": true, - "width": 30 - }, - "51": { - "margin_left": 7, - - "width": 30 - }, - - //key ~ - "71": { - "visualName": "~", - - "tag": 71 - - }, - //ENTER - "72": { - "tag": 72, - "line_break": true, - "margin_left": 7.0, - "margin_top": -40.0, - "width": 37.0, - "height": 70.0, - "font_size": 12.0 - }, - //"73": { - // "margin_left": 7 - //}, - ////number 6 - //"75": { - // "line_break": true - //}, - //left shift - "76": { - "tag": 76, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 41.0, - "height": 30.0, - "font_size": 12.0 - }, - // \ - "77": { - "tag": 77, - "line_break": null - - }, - - //right shift - "88": { - "tag": 88, - "line_break": null, - "width": 57 - }, - - //"↑" - "89": { - "tag": 89, - "line_break": true, - "margin_left": 7 - }, - "90": { - "margin_left": 7.0 - }, - ////Number enter - //"93": { - // "line_break": true - //}, - //LeftControl - "94": { - "tag": 94, - "width": 41 - }, - "95": { - "tag": 95, - "margin_left": 44, - "width": 30 - }, - "96": { - "tag": 96, - "margin_left": 7, - "width": 30 - }, - "97": { - "tag": 97, - "width": 178 - }, - "98": { - "tag": 98, - "margin_left": 7, - "width": 30 - }, - "100": { - "visualName": "App", - "tag": 100, - "margin_left": 7, - "width": 30 - }, - //Rith control - "101": { - "tag": 101, - "margin_left": 7, - "width": 58 - }, - "102": { - "tag": 102, - "margin_left": 7.0 - - }, - "104": { - "tag": 104, - "line_break": true - - }, - //"105": { - // "margin_left": 7.0, - // "width": 30 - //}, - //"106": { - // "line_break": true - //} - - - }, - - "included_features": [ - "keyboard21_numpad_left_bottom_features.json" , - //"keyboard102_numpad_right_features.json" - - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Uniwill2P1_550_US.json b/Project-Aurora/Project-Aurora/kb_layouts/Uniwill2P1_550_US.json deleted file mode 100644 index ae6e72223..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Uniwill2P1_550_US.json +++ /dev/null @@ -1,227 +0,0 @@ -{ - "keys_to_remove": [ - 14, - 15, - 16, - 31, - 32, - 33, - 34, - 35, - 36, - 37, - - 51, - 52, - 53, - 54, - 55, - 56, - 57, - 58, - 71, - 73, - 74, - 75, - 77, - 90, - 91, - 92, - 93, - 99, - 105, - 106 - - ], - "key_modifications": { - "2": { - "tag": 2, - "margin_left": 7.0 - }, - "3": { - "tag": 3, - "margin_left": 7.0 - }, - "4": { - "tag": 4, - "margin_left": 7.0 - }, - "5": { - "tag": 5, - "margin_left": 7.0 - }, - "6": { - "tag": 6, - "margin_left": 7.0 - }, - "7": { - "tag": 7, - "margin_left": 7.0 - }, - "8": { - "tag": 8, - "margin_left": 7.0 - }, - "9": { - "tag": 9, - "margin_left": 7.0 - }, - "10": { - "tag": 10, - "margin_left": 7.0 - }, - "11": { - "tag": 11, - "margin_left": 7.0 - }, - "12": { - "tag": 12, - "margin_left": 7.0 - }, - "13": { - "tag": 13, - "line_break": true, - "margin_left": 7.0 - }, - - "30": { - "tag": 30, - "line_break": true, - "margin_left": 7.0 - }, - - - - "50": { - "line_break": true, - "width": 30 - }, - "51": { - "margin_left": 7, - - "width": 30 - }, - - //key ~ - "71": { - "visualName": "~", - - "tag": 71 - - }, - //ENTER - "72": { - "tag": 72, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0, - "width": 76.0, - "height": 30.0, - "font_size": 12.0 - }, - //"73": { - // "margin_left": 7 - //}, - ////number 6 - //"75": { - // "line_break": true - //}, - //left shift - "76": { - "tag": 76, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 77.0, - "height": 30.0, - "font_size": 12.0 - }, - // \ - "77": { - "tag": 77, - "line_break": null - - }, - - //right shift - "88": { - "tag": 88, - "line_break": null, - "width": 57 - }, - - //"↑" - "89": { - "tag": 89, - "line_break": true, - "margin_left": 7 - }, - "90": { - "margin_left": 7.0 - }, - ////Number enter - //"93": { - // "line_break": true - //}, - //LeftControl - "94": { - "tag": 94, - "width": 41 - }, - "95": { - "tag": 95, - "margin_left": 44, - "width": 30 - }, - "96": { - "tag": 96, - "margin_left": 7, - "width": 30 - }, - "97": { - "tag": 97, - "width": 178 - }, - "98": { - "tag": 98, - "margin_left": 7, - "width": 30 - }, - "100": { - "visualName": "App", - "tag": 100, - "margin_left": 7, - "width": 30 - }, - //Rith control - "101": { - "tag": 101, - "margin_left": 7, - "width": 58 - }, - "102": { - "tag": 102, - "margin_left": 7.0 - - }, - "104": { - "tag": 104, - "line_break": true - - } - //"105": { - // "margin_left": 7.0, - // "width": 30 - //}, - //"106": { - // "line_break": true - //} - - - }, - - "included_features": [ - "keyboard21_numpad_left_bottom_features.json", - "keyboard21us_numpad_right_features.json" - - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Uniwill2P2_650_BR.json b/Project-Aurora/Project-Aurora/kb_layouts/Uniwill2P2_650_BR.json deleted file mode 100644 index 7632afa66..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Uniwill2P2_650_BR.json +++ /dev/null @@ -1,270 +0,0 @@ -{ - "keys_to_remove": [ - 14, - 15, - 16, - 31, - 32, - 33, - 37, - 51, - 52, - 53, - - 54, - 58, - - - 93, - 99 - - - ], - "key_modifications": { - "2": { - "tag": 2, - "margin_left": 7.0 - }, - "3": { - "tag": 3, - "margin_left": 7.0 - }, - "4": { - "tag": 4, - "margin_left": 7.0 - }, - "5": { - "tag": 5, - "margin_left": 7.0 - }, - "6": { - "tag": 6, - "margin_left": 7.0 - }, - "7": { - "tag": 7, - "margin_left": 7.0 - }, - "8": { - "tag": 8, - "margin_left": 7.0 - }, - "9": { - "tag": 9, - "margin_left": 7.0 - }, - "10": { - "tag": 10, - "margin_left": 7.0 - }, - "11": { - "tag": 11, - "margin_left": 7.0 - }, - "12": { - "tag": 12, - "margin_left": 7.0 - }, - "13": { - "tag": 13, - "line_break": true, - "margin_left": 7.0 - }, - - //black space - "30": { - "visualName": "←", - "tag": 30, - "width": 30, - "margin_left": 44.0 - }, - - - //Number lock - "34": { - "tag": 34, - "margin_left": 7 - }, - "35": { - "tag": 35, - "margin_left": 7 - }, - "36": { - "tag": 36, - "line_break": true, - "margin_left": 7 - }, - // - - //"37": { - // "tag": 37, - // "margin_left": 7, - // "line_break": true - //}, - - - - "50": { - "line_break": null, - "width": 30 - }, - "51": { - "margin_left": 7, - "width": 30 - }, - //number 7 - "55": { - "tag": 55, - "margin_left": 62 - }, - //number 8 - "56": { - "tag": 56, - "margin_left": 7 - }, - - //number 9 - "57": { - "tag": 57, - "line_break": true, - "margin_left": 7 - }, - - ////+ - //"58": { - // "margin_left": 7, - // "line_break": true - - - //}, - - - //ENTER - "72": { - "tag": 72, - "line_break": null, - "margin_left": 7.0, - "margin_top": -40.0, - "width": 37.0, - "height": 70.0, - "font_size": 12.0 - }, - "73": { - "margin_left": 7 - }, - //number 6 - "75": { - "line_break": true - }, - "76": { - "tag": 76, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 41.0, - "height": 30.0, - "font_size": 12.0 - }, - - "85": { - "tag": 85, - - "width": 28 - }, - - "86": { - "tag": 86, - - "width": 28 - }, - - "87": { - "tag": 87, - - "width": 28 - }, - //right shift - "88": { - "tag": 88, - "line_break": null, - "width": 28, - "margin_left": 7 - }, - - //"↑" - "89": { - "tag": 89, - "margin_left": 5 - }, - "90": { - "margin_left": 7.0 - }, - "92": { - "line_break": true - }, - ////Number enter - //"93": { - // "line_break": true - //}, - //LeftControl - "94": { - "tag": 94, - "width": 41 - }, - "95": { - "tag": 95, - "margin_left": 44, - "width": 30 - }, - "96": { - "tag": 96, - "margin_left": 7, - "width": 30 - }, - "97": { - "tag": 97, - "width": 178 - }, - "98": { - "tag": 98, - "margin_left": 7, - "width": 30 - }, - "100": { - "visualName": "App", - "tag": 100, - "margin_left": 7, - "width": 30 - }, - //Rith control - "101": { - "tag": 101, - "margin_left": 7, - "width": 58 - }, - "102": { - "tag": 102, - "margin_left": 7.0 - - }, - "104": { - "tag": 104, - "line_break": null - - }, - "105": { - "margin_left": 7.0, - "width": 30 - }, - "106": { - "line_break": true - } - - - }, - - "included_features": [ - "keyboard22br_numpad_left_bottom_features.json" - //"generic_laptop_numpad_right_bottom_features.json", - //"keyboard101_numpad_right_features.json" - - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Uniwill2P2_650_JP.json b/Project-Aurora/Project-Aurora/kb_layouts/Uniwill2P2_650_JP.json deleted file mode 100644 index c2179def9..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Uniwill2P2_650_JP.json +++ /dev/null @@ -1,257 +0,0 @@ -{ - "keys_to_remove": [ - 14, - 15, - 16, - 31, - 32, - 33, - 37, - - 52, - 53, - 54, - - 58, - - - 93, - 99, - 100, - 153 - - - - ], - "key_modifications": { - "2": { - "tag": 2, - "margin_left": 7.0 - }, - "3": { - "tag": 3, - "margin_left": 7.0 - }, - "4": { - "tag": 4, - "margin_left": 7.0 - }, - "5": { - "tag": 5, - "margin_left": 7.0 - }, - "6": { - "tag": 6, - "margin_left": 7.0 - }, - "7": { - "tag": 7, - "margin_left": 7.0 - }, - "8": { - "tag": 8, - "margin_left": 7.0 - }, - "9": { - "tag": 9, - "margin_left": 7.0 - }, - "10": { - "tag": 10, - "margin_left": 7.0 - }, - "11": { - "tag": 11, - "margin_left": 7.0 - }, - "12": { - "tag": 12, - "margin_left": 7.0 - }, - "13": { - "tag": 13, - "line_break": true, - "margin_left": 7.0 - }, - - //black space - "30": { - "visualName": "←", - "tag": 30, - "width": 30, - "margin_left": 7.0 - }, - - - //Number lock - "34": { - "tag": 34, - "margin_left": 7 - }, - "35": { - "tag": 35, - "margin_left": 7 - }, - "36": { - "tag": 36, - "line_break": true, - "margin_left": 7 - }, - // - - //"37": { - // "tag": 37, - // "margin_left": 7, - // "line_break": true - //}, - - - - "50": { - "line_break": null, - "width": 30 - }, - "51": { - "margin_left": 7, - "width": 30 - }, - //number 7 - "55": { - "tag": 55, - "margin_left": 62 - }, - //number 8 - "56": { - "tag": 56, - "margin_left": 7 - }, - - //number 9 - "57": { - "tag": 57, - "line_break": true, - "margin_left": 7 - }, - - ////+ - //"58": { - // "margin_left": 7, - // "line_break": true - - - //}, - - - //ENTER - "72": { - "tag": 72, - "line_break": null, - "margin_left": 7.0, - "margin_top": -40.0, - "width": 37.0, - "height": 70.0, - "font_size": 12.0 - }, - "73": { - "margin_left": 7 - }, - //number 6 - "75": { - "line_break": true - }, - - "76": { - "tag": 76, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 70.0, - "height": 30.0, - "font_size": 12.0 - }, - //right shift - "88": { - "tag": 88, - "line_break": null, - "width": 30, - "margin_left": 7 - }, - - //"↑" - "89": { - "tag": 89, - "margin_left": 5 - }, - "90": { - "margin_left": 7.0 - }, - "92": { - "line_break": true - }, - ////Number enter - //"93": { - // "line_break": true - //}, - //LeftControl - "94": { - "tag": 94, - "width": 41 - }, - "95": { - "tag": 95, - "margin_left": 44, - "width": 30 - }, - "96": { - "tag": 96, - "margin_left": 7, - "width": 30 - }, - "97": { - "tag": 97, - "width": 178 - }, - "98": { - "tag": 98, - "margin_left": 7, - "width": 30 - }, - //"100": { - // "visualName": "App", - // "tag": 100, - // "margin_left": 7, - // "width": 30 - //}, - //Rith control - "101": { - "tag": 101, - "margin_left": 7, - "width": 58 - }, - "102": { - "tag": 102, - "margin_left": 7.0 - - }, - "104": { - "tag": 104, - "line_break": null - - }, - "105": { - "margin_left": 7.0, - "width": 30 - }, - "106": { - "line_break": true - } - - - }, - - "included_features": [ - "keyboard22jp_numpad_left_bottom_features.json", - - //"generic_laptop_numpad_right_bottom_features.json", - //"keyboard101_numpad_right_features.json" - - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Uniwill2P2_650_UK.json b/Project-Aurora/Project-Aurora/kb_layouts/Uniwill2P2_650_UK.json deleted file mode 100644 index 2ee7cbcf4..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Uniwill2P2_650_UK.json +++ /dev/null @@ -1,270 +0,0 @@ -{ - "keys_to_remove": [ - 14, - 15, - 16, - 31, - 32, - 33, - 37, - 51, - 52, - 53, - - 54, - 58, - - - 93, - 99 - - - ], - "key_modifications": { - "2": { - "tag": 2, - "margin_left": 7.0 - }, - "3": { - "tag": 3, - "margin_left": 7.0 - }, - "4": { - "tag": 4, - "margin_left": 7.0 - }, - "5": { - "tag": 5, - "margin_left": 7.0 - }, - "6": { - "tag": 6, - "margin_left": 7.0 - }, - "7": { - "tag": 7, - "margin_left": 7.0 - }, - "8": { - "tag": 8, - "margin_left": 7.0 - }, - "9": { - "tag": 9, - "margin_left": 7.0 - }, - "10": { - "tag": 10, - "margin_left": 7.0 - }, - "11": { - "tag": 11, - "margin_left": 7.0 - }, - "12": { - "tag": 12, - "margin_left": 7.0 - }, - "13": { - "tag": 13, - "line_break": true, - "margin_left": 7.0 - }, - - - "30": { - "tag": 30, - - "margin_left": 7.0 - }, - //home - //"32": { - // "tag": 32, - - // "margin_left": 7.0 - //}, - - //Number lock - "34": { - "tag": 34, - "margin_left": 7 - }, - "35": { - "tag": 35, - "margin_left": 7 - }, - "36": { - "tag": 36, - "line_break": true, - "margin_left": 7 - }, - "37": { - "tag": 37, - "margin_left": 7, - "line_break": true - }, - - - - "50": { - "line_break": null, - "width": 30 - }, - "51": { - "margin_left": 7, - "width": 30 - }, - //number 7 - "55": { - "tag": 55, - "margin_left": 62 - }, - //number 8 - "56": { - "tag": 56, - "margin_left": 7 - }, - - //number 9 - "57": { - "tag": 57, - "line_break": true, - "margin_left": 7 - }, - - //+ - "58": { - "margin_left": 7, - "line_break": true - - - }, - - //key ~ - "71": { - "visualName": "~", - "tag": 71 - - }, - //ENTER - "72": { - "tag": 72, - "line_break": null, - "margin_left": 7.0, - "margin_top": -40.0, - "width": 37.0, - "height": 70.0, - "font_size": 12.0 - }, - "73": { - "margin_left": 7 - }, - //number 6 - "75": { - "line_break": true - }, - //left shift - "76": { - "tag": 76, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 41.0, - "height": 30.0, - "font_size": 12.0 - }, - // \ - "77": { - "tag": 77, - "line_break": null - - }, - - //right shift - "88": { - "tag": 88, - "line_break": null, - "width": 57 - }, - - //"↑" - "89": { - "tag": 89, - "margin_left": 7 - }, - "90": { - "margin_left": 7.0 - }, - "92": { - "line_break": true, - "margin_left": 7.0 - }, - - - //Number enter - "93": { - "line_break": true - }, - //LeftControl - "94": { - "tag": 94, - "width": 41 - }, - "95": { - "tag": 95, - "margin_left": 44, - "width": 30 - }, - "96": { - "tag": 96, - "margin_left": 7, - "width": 30 - }, - "97": { - "tag": 97, - "width": 178 - }, - "98": { - "tag": 98, - "margin_left": 7, - "width": 30 - }, - "100": { - "visualName": "App", - "tag": 100, - "margin_left": 7, - "width": 30 - }, - //Rith control - "101": { - "tag": 101, - "margin_left": 7, - "width": 58 - }, - "102": { - "tag": 102, - "margin_left": 7.0 - - }, - "104": { - "tag": 104, - "line_break": null - - }, - "105": { - "margin_left": 7.0, - "width": 30 - }, - "106": { - "line_break": true - } - - - }, - - "included_features": [ - "keyboard22usuk_numpad_left_bottom_features.json", - - //"keyboard102_numpad_right_features.json" - - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/Uniwill2P2_650_US.json b/Project-Aurora/Project-Aurora/kb_layouts/Uniwill2P2_650_US.json deleted file mode 100644 index 4eaeff035..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/Uniwill2P2_650_US.json +++ /dev/null @@ -1,255 +0,0 @@ -{ - "keys_to_remove": [ - 14, - 15, - 16, - 31, - 32, - 33, - 37, - 51, - 52, - 53, - - 54, - 58, - 71, - 77, - 93, - 99 - - - ], - "key_modifications": { - "2": { - "tag": 2, - "margin_left": 7.0 - }, - "3": { - "tag": 3, - "margin_left": 7.0 - }, - "4": { - "tag": 4, - "margin_left": 7.0 - }, - "5": { - "tag": 5, - "margin_left": 7.0 - }, - "6": { - "tag": 6, - "margin_left": 7.0 - }, - "7": { - "tag": 7, - "margin_left": 7.0 - }, - "8": { - "tag": 8, - "margin_left": 7.0 - }, - "9": { - "tag": 9, - "margin_left": 7.0 - }, - "10": { - "tag": 10, - "margin_left": 7.0 - }, - "11": { - "tag": 11, - "margin_left": 7.0 - }, - "12": { - "tag": 12, - "margin_left": 7.0 - }, - "13": { - "tag": 13, - "line_break": true, - "margin_left": 7.0 - }, - - - "30": { - "tag": 30, - - "margin_left": 7.0 - }, - //home - //"32": { - // "tag": 32, - - // "margin_left": 7.0 - //}, - - //Number lock - "34": { - "tag": 34, - "margin_left": 7 - }, - "35": { - "tag": 35, - "margin_left": 7 - }, - "36": { - "tag": 36, - "line_break": true, - "margin_left": 7 - }, - // - - //"37": { - // "tag": 37, - // "margin_left": 7, - // "line_break": true - //}, - - - - "50": { - "line_break": null, - "width": 30 - }, - "51": { - "margin_left": 7, - "width": 30 - }, - //number 7 - "55": { - "tag": 55, - "margin_left": 62 - }, - //number 8 - "56": { - "tag": 56, - "margin_left": 7 - }, - - //number 9 - "57": { - "tag": 57, - "line_break": true, - "margin_left": 7 - }, - - ////+ - //"58": { - // "margin_left": 7, - // "line_break": true - - - //}, - - - "72": { - "tag": 72, - "line_break": null, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 74.0, - "height": 30.0, - "font_size": 12.0 - }, - "73": { - "margin_left": 7 - }, - //number 6 - "75": { - "line_break": true - }, - "76": { - "tag": 76, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 78.0, - "height": 30.0, - "font_size": 12.0 - }, - //right shift - "88": { - "tag": 88, - "line_break": null, - "width": 57 - }, - - //"↑" - "89": { - "tag": 89, - "margin_left": 7 - }, - "90": { - "margin_left": 7.0 - }, - "92": { - "line_break": true - }, - ////Number enter - //"93": { - // "line_break": true - //}, - //LeftControl - "94": { - "tag": 94, - "width": 41 - }, - "95": { - "tag": 95, - "margin_left": 44, - "width": 30 - }, - "96": { - "tag": 96, - "margin_left": 7, - "width": 30 - }, - "97": { - "tag": 97, - "width": 178 - }, - "98": { - "tag": 98, - "margin_left": 7, - "width": 30 - }, - "100": { - "visualName": "App", - "tag": 100, - "margin_left": 7, - "width": 30 - }, - //Rith control - "101": { - "tag": 101, - "margin_left": 7, - "width": 58 - }, - "102": { - "tag": 102, - "margin_left": 7.0 - - }, - "104": { - "tag": 104, - "line_break": null - - }, - "105": { - "margin_left": 7.0, - "width": 30 - }, - "106": { - "line_break": true - } - - - }, - - "included_features": [ - "keyboard22usuk_numpad_left_bottom_features.json", - "keyboard22us_numpad_right_features.json", - //"generic_laptop_numpad_right_bottom_features.json", - //"keyboard101_numpad_right_features.json" - - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/corsair_k95_platinum.json b/Project-Aurora/Project-Aurora/kb_layouts/corsair_k95_platinum.json deleted file mode 100644 index bdfdd48e7..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/corsair_k95_platinum.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "keys_to_remove": [], - "key_modifications": {}, - "included_features": [ - "corsair_k95_platinum_left_features.json", - "corsair_k95_platinum_right_features.json" - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/generic_laptop.json b/Project-Aurora/Project-Aurora/kb_layouts/generic_laptop.json deleted file mode 100644 index 25c770f8f..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/generic_laptop.json +++ /dev/null @@ -1,520 +0,0 @@ -{ - "keys_to_remove": [ - 14, - 15, - 16, - 32, - 33, - 53, - 54, - 34, - 35, - 36, - 37, - 51, - 55, - 56, - 57, - 58, - 71, - 73, - 74, - 75, - 77, - 90, - 91, - 92, - 93, - 100, - 103, - 105, - 106 - ], - "key_modifications": { - "2": { - "visualName": null, - "tag": 2, - "line_break": null, - "margin_left": 7.0, - "margin_top": null, - "width": null, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": 0, - "margin_top_bits": null, - "enabled": null - }, - "3": { - "visualName": null, - "tag": 3, - "line_break": null, - "margin_left": 7.0, - "margin_top": null, - "width": null, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": 0, - "margin_top_bits": null, - "enabled": null - }, - "4": { - "visualName": null, - "tag": 4, - "line_break": null, - "margin_left": 7.0, - "margin_top": null, - "width": null, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": 0, - "margin_top_bits": null, - "enabled": null - }, - "5": { - "visualName": null, - "tag": 5, - "line_break": null, - "margin_left": 7.0, - "margin_top": null, - "width": null, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": 0, - "margin_top_bits": null, - "enabled": null - }, - "6": { - "visualName": null, - "tag": 6, - "line_break": null, - "margin_left": 7.0, - "margin_top": null, - "width": null, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": 0, - "margin_top_bits": null, - "enabled": null - }, - "7": { - "visualName": null, - "tag": 7, - "line_break": null, - "margin_left": 7.0, - "margin_top": null, - "width": null, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": 0, - "margin_top_bits": null, - "enabled": null - }, - "8": { - "visualName": null, - "tag": 8, - "line_break": null, - "margin_left": 7.0, - "margin_top": null, - "width": null, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": 0, - "margin_top_bits": null, - "enabled": null - }, - "9": { - "visualName": null, - "tag": 9, - "line_break": null, - "margin_left": 7.0, - "margin_top": null, - "width": null, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": 0, - "margin_top_bits": null, - "enabled": null - }, - "10": { - "visualName": null, - "tag": 10, - "line_break": null, - "margin_left": 7.0, - "margin_top": null, - "width": null, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": 0, - "margin_top_bits": null, - "enabled": null - }, - "11": { - "visualName": null, - "tag": 11, - "line_break": null, - "margin_left": 7.0, - "margin_top": null, - "width": null, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": 0, - "margin_top_bits": null, - "enabled": null - }, - "12": { - "visualName": null, - "tag": 12, - "line_break": null, - "margin_left": 7.0, - "margin_top": null, - "width": null, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": 0, - "margin_top_bits": null, - "enabled": null - }, - "13": { - "visualName": null, - "tag": 13, - "line_break": null, - "margin_left": 7.0, - "margin_top": null, - "width": null, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": 0, - "margin_top_bits": null, - "enabled": null - }, - "31": { - "visualName": null, - "tag": 14, - "line_break": null, - "margin_left": 7.0, - "margin_top": null, - "width": null, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": 0, - "margin_top_bits": null, - "enabled": null - }, - "14": { - "visualName": "INSERT", - "tag": 31, - "line_break": null, - "margin_left": 7.0, - "margin_top": null, - "width": null, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": 0, - "margin_top_bits": null, - "enabled": null - }, - "52": { - "visualName": null, - "tag": 15, - "line_break": null, - "margin_left": 7.0, - "margin_top": null, - "width": null, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": 0, - "margin_top_bits": null, - "enabled": null - }, - "15": { - "visualName": "DEL", - "tag": 52, - "line_break": true, - "margin_left": 7.0, - "margin_top": null, - "width": null, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": 0, - "margin_top_bits": null, - "enabled": null - }, - "30": { - "visualName": null, - "tag": 30, - "line_break": true, - "margin_left": null, - "margin_top": null, - "width": null, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": null, - "margin_top_bits": null, - "enabled": null - }, - "50": { - "visualName": null, - "tag": 50, - "line_break": true, - "margin_left": null, - "margin_top": null, - "width": 30, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": null, - "margin_top_bits": null, - "enabled": null - }, - "72": { - "visualName": null, - "tag": 72, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 74.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 7, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": null - }, - "76": { - "visualName": null, - "tag": 76, - "line_break": null, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 78.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 7, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": null - }, - "88": { - "visualName": null, - "tag": 88, - "line_break": true, - "margin_left": null, - "margin_top": null, - "width": 93, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": null, - "margin_top_bits": null, - "enabled": null - }, - "94": { - "visualName": null, - "tag": 94, - "line_break": null, - "margin_left": null, - "margin_top": null, - "width": 41, - "height": null, - "font_size": null, - "width_bits": 4, - "height_bits": null, - "margin_left_bits": null, - "margin_top_bits": null, - "enabled": null - }, - "95": { - "visualName": null, - "tag": 95, - "line_break": null, - "margin_left": 44, - "margin_top": null, - "width": 30, - "height": null, - "font_size": null, - "width_bits": 3, - "height_bits": null, - "margin_left_bits": 3, - "margin_top_bits": null, - "enabled": null - }, - "96": { - "visualName": null, - "tag": 96, - "line_break": null, - "margin_left": 7, - "margin_top": null, - "width": 30, - "height": null, - "font_size": null, - "width_bits": 3, - "height_bits": null, - "margin_left_bits": null, - "margin_top_bits": null, - "enabled": null - }, - "97": { - "visualName": null, - "tag": 97, - "line_break": null, - "margin_left": null, - "margin_top": null, - "width": 178, - "height": null, - "font_size": null, - "width_bits": 15, - "height_bits": null, - "margin_left_bits": null, - "margin_top_bits": null, - "enabled": null - }, - "98": { - "visualName": null, - "tag": 98, - "line_break": null, - "margin_left": 7, - "margin_top": null, - "width": 30, - "height": null, - "font_size": null, - "width_bits": 3, - "height_bits": null, - "margin_left_bits": null, - "margin_top_bits": null, - "enabled": null - }, - "99": { - "visualName": "FN", - "tag": 107, - "line_break": null, - "margin_left": 7, - "margin_top": null, - "width": 30, - "height": null, - "font_size": null, - "width_bits": 3, - "height_bits": null, - "margin_left_bits": null, - "margin_top_bits": null, - "enabled": null - }, - "101": { - "visualName": null, - "tag": 101, - "line_break": null, - "margin_left": 7, - "margin_top": null, - "width": 30, - "height": null, - "font_size": null, - "width_bits": 3, - "height_bits": null, - "margin_left_bits": null, - "margin_top_bits": null, - "enabled": null - }, - "102": { - "visualName": null, - "tag": 102, - "line_break": null, - "margin_left": 7.0, - "margin_top": null, - "width": 24.5, - "height": null, - "font_size": null, - "width_bits": 2, - "height_bits": null, - "margin_left_bits": 0, - "margin_top_bits": null, - "enabled": null - }, - "89": { - "visualName": null, - "tag": 103, - "line_break": null, - "margin_left": null, - "margin_top": null, - "width": null, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": null, - "margin_top_bits": null, - "enabled": null - }, - "103": { - "visualName": "↑", - "tag": 89, - "line_break": null, - "margin_left": null, - "margin_top": null, - "width": null, - "height": 14, - "font_size": 9, - "width_bits": null, - "height_bits": 1, - "margin_left_bits": null, - "margin_top_bits": null, - "enabled": null - }, - "104": { - "visualName": null, - "tag": 104, - "line_break": true, - "margin_left": null, - "margin_top": null, - "width": 24.5, - "height": null, - "font_size": null, - "width_bits": 2, - "height_bits": null, - "margin_left_bits": null, - "margin_top_bits": null, - "enabled": null - } - }, - "included_features": [ - "generic_laptop_left_bottom_features.json", - "generic_laptop_right_bottom_features.json", - "generic_laptop_right_features.json" - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/generic_laptop_numpad.json b/Project-Aurora/Project-Aurora/kb_layouts/generic_laptop_numpad.json deleted file mode 100755 index 41cab9c50..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/generic_laptop_numpad.json +++ /dev/null @@ -1,199 +0,0 @@ -{ - "keys_to_remove": [ - 14, - 15, - 16, - 32, - 33, - 53, - 54, - 51, - 71, - 77, - 100, - 103 - ], - "key_modifications": { - "2": { - "tag": 2, - "margin_left": 7.0 - }, - "3": { - "tag": 3, - "margin_left": 7.0 - }, - "4": { - "tag": 4, - "margin_left": 7.0 - }, - "5": { - "tag": 5, - "margin_left": 7.0 - }, - "6": { - "tag": 6, - "margin_left": 7.0 - }, - "7": { - "tag": 7, - "margin_left": 7.0 - }, - "8": { - "tag": 8, - "margin_left": 7.0 - }, - "9": { - "tag": 9, - "margin_left": 7.0 - }, - "10": { - "tag": 10, - "margin_left": 7.0 - }, - "11": { - "tag": 11, - "margin_left": 7.0 - }, - "12": { - "tag": 12, - "margin_left": 7.0 - }, - "13": { - "tag": 13, - "margin_left": 7.0 - }, - "31": { - "tag": 14, - "margin_left": 7.0 - }, - "14": { - "visualName": "INSERT", - "tag": 31, - "margin_left": 7.0 - }, - "52": { - "tag": 15, - "margin_left": 7.0 - }, - "15": { - "visualName": "DEL", - "tag": 52, - "line_break": true, - "margin_left": 7.0 - }, - "34": { - "margin_left": 7.0 - }, - "37": { - "line_break": true - }, - "50": { - "line_break": null, - "width": 30 - }, - "55": { - "margin_left": 60 - }, - "58": { - "line_break": true - }, - "72": { - "tag": 72, - "line_break": null, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 74.0, - "height": 30.0, - "font_size": 12.0 - }, - "73": { - "margin_left": 7 - }, - "75": { - "line_break": true - }, - "76": { - "tag": 76, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 78.0, - "height": 30.0, - "font_size": 12.0 - }, - "88": { - "tag": 88, - "line_break": null, - "width": 93 - }, - "90": { - "margin_left": 7.0 - }, - "93": { - "line_break": true - }, - "94": { - "tag": 94, - "width": 41 - }, - "95": { - "tag": 95, - "margin_left": 44, - "width": 30 - }, - "96": { - "tag": 96, - "margin_left": 7, - "width": 30 - }, - "97": { - "tag": 97, - "width": 178 - }, - "98": { - "tag": 98, - "margin_left": 7, - "width": 30 - }, - "99": { - "visualName": "FN", - "tag": 107, - "margin_left": 7, - "width": 30 - }, - "101": { - "tag": 101, - "margin_left": 7, - "width": 30 - }, - "102": { - "tag": 102, - "margin_left": 7.0, - "width": 24.5 - }, - "89": { - "tag": 103 - }, - "103": { - "visualName": "↑", - "tag": 89, - "height": 14, - "font_size": 9 - }, - "104": { - "tag": 104, - "line_break": null, - "width": 24.5 - }, - "105": { - "margin_left": 7.0 - }, - "106": { - "line_break": true - } - }, - "included_features": [ - "generic_laptop_numpad_left_bottom_features.json", - "generic_laptop_numpad_right_bottom_features.json", - "generic_laptop_numpad_right_features.json" - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/masterkeys_pro_m.json b/Project-Aurora/Project-Aurora/kb_layouts/masterkeys_pro_m.json deleted file mode 100755 index 575469c7f..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/masterkeys_pro_m.json +++ /dev/null @@ -1,176 +0,0 @@ -{ - "keys_to_remove": [ - 14, - 15, - 16, - 31, - 32, - 33, - 52, - 53, - 54, - 89, - 102, - 103, - 104 - ], - "key_conversion": { - 14: 35, - 15: 36, - 16: 37, - - - 31: 55, - 32: 56, - 33: 57, - - 52: 73, - 53: 74, - 54: 75, - - 89: 91, - 102: 105, - 103: 169, - 104: 106 - }, - "key_modifications": { - "13": { - "visualName": null, - "tag": 13, - "line_break": true, - "margin_left": null, - "margin_top": null, - "width": null, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": null, - "margin_top_bits": null, - "enabled": null - }, - "37": { - "visualName": null, - "tag": 37, - "line_break": true, - "margin_left": null, - "margin_top": null, - "width": null, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": null, - "margin_top_bits": null, - "enabled": null - }, - "58": { - "visualName": null, - "tag": 58, - "line_break": true, - "margin_left": null, - "margin_top": null, - "width": null, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": null, - "margin_top_bits": null, - "enabled": null - }, - "73": { - "visualName": null, - "tag": 73, - "line_break": null, - "margin_left": 15, - "margin_top": null, - "width": null, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": 1, - "margin_top_bits": null, - "enabled": null - }, - "75": { - "visualName": null, - "tag": 75, - "line_break": true, - "margin_left": null, - "margin_top": null, - "width": null, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": null, - "margin_top_bits": null, - "enabled": null - }, - "90": { - "visualName": null, - "tag": 90, - "line_break": null, - "margin_left": 15, - "margin_top": null, - "width": null, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": 1, - "margin_top_bits": null, - "enabled": null - }, - "93": { - "visualName": null, - "tag": 93, - "line_break": true, - "margin_left": null, - "margin_top": null, - "width": null, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": null, - "margin_top_bits": null, - "enabled": null - }, - "105": { - "visualName": null, - "tag": 105, - "line_break": null, - "margin_left": null, - "margin_top": null, - "width": 30.0, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": null, - "margin_top_bits": null, - "enabled": null - }, - "106": { - "visualName": null, - "tag": 106, - "line_break": null, - "margin_left": 44.0, - "margin_top": null, - "width": null, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": null, - "margin_top_bits": null, - "enabled": null - } - }, - "included_features": [ - "masterkeys_pro_m_features.json" - ] -} \ No newline at end of file diff --git a/Project-Aurora/Project-Aurora/kb_layouts/razer_blade.json b/Project-Aurora/Project-Aurora/kb_layouts/razer_blade.json deleted file mode 100644 index 494a6900f..000000000 --- a/Project-Aurora/Project-Aurora/kb_layouts/razer_blade.json +++ /dev/null @@ -1,519 +0,0 @@ -{ - "keys_to_remove": [ - 14, - 15, - 16, - 32, - 33, - 53, - 54, - 34, - 35, - 36, - 37, - 55, - 56, - 57, - 58, - 71, - 73, - 74, - 75, - 77, - 90, - 91, - 92, - 93, - 100, - 103, - 105, - 106 - ], - "key_modifications": { - "2": { - "visualName": null, - "tag": 2, - "line_break": null, - "margin_left": 7.0, - "margin_top": null, - "width": null, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": 0, - "margin_top_bits": null, - "enabled": null - }, - "3": { - "visualName": null, - "tag": 3, - "line_break": null, - "margin_left": 7.0, - "margin_top": null, - "width": null, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": 0, - "margin_top_bits": null, - "enabled": null - }, - "4": { - "visualName": null, - "tag": 4, - "line_break": null, - "margin_left": 7.0, - "margin_top": null, - "width": null, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": 0, - "margin_top_bits": null, - "enabled": null - }, - "5": { - "visualName": null, - "tag": 5, - "line_break": null, - "margin_left": 7.0, - "margin_top": null, - "width": null, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": 0, - "margin_top_bits": null, - "enabled": null - }, - "6": { - "visualName": null, - "tag": 6, - "line_break": null, - "margin_left": 7.0, - "margin_top": null, - "width": null, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": 0, - "margin_top_bits": null, - "enabled": null - }, - "7": { - "visualName": null, - "tag": 7, - "line_break": null, - "margin_left": 7.0, - "margin_top": null, - "width": null, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": 0, - "margin_top_bits": null, - "enabled": null - }, - "8": { - "visualName": null, - "tag": 8, - "line_break": null, - "margin_left": 7.0, - "margin_top": null, - "width": null, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": 0, - "margin_top_bits": null, - "enabled": null - }, - "9": { - "visualName": null, - "tag": 9, - "line_break": null, - "margin_left": 7.0, - "margin_top": null, - "width": null, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": 0, - "margin_top_bits": null, - "enabled": null - }, - "10": { - "visualName": null, - "tag": 10, - "line_break": null, - "margin_left": 7.0, - "margin_top": null, - "width": null, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": 0, - "margin_top_bits": null, - "enabled": null - }, - "11": { - "visualName": null, - "tag": 11, - "line_break": null, - "margin_left": 7.0, - "margin_top": null, - "width": null, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": 0, - "margin_top_bits": null, - "enabled": null - }, - "12": { - "visualName": null, - "tag": 12, - "line_break": null, - "margin_left": 7.0, - "margin_top": null, - "width": null, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": 0, - "margin_top_bits": null, - "enabled": null - }, - "13": { - "visualName": null, - "tag": 13, - "line_break": null, - "margin_left": 7.0, - "margin_top": null, - "width": null, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": 0, - "margin_top_bits": null, - "enabled": null - }, - "31": { - "visualName": null, - "tag": 14, - "line_break": null, - "margin_left": 7.0, - "margin_top": null, - "width": null, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": 0, - "margin_top_bits": null, - "enabled": null - }, - "14": { - "visualName": "INSERT", - "tag": 31, - "line_break": null, - "margin_left": 7.0, - "margin_top": null, - "width": null, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": 0, - "margin_top_bits": null, - "enabled": null - }, - "52": { - "visualName": null, - "tag": 15, - "line_break": null, - "margin_left": 7.0, - "margin_top": null, - "width": null, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": 0, - "margin_top_bits": null, - "enabled": null - }, - "15": { - "visualName": "DEL", - "tag": 52, - "line_break": true, - "margin_left": 7.0, - "margin_top": null, - "width": null, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": 0, - "margin_top_bits": null, - "enabled": null - }, - "30": { - "visualName": null, - "tag": 30, - "line_break": true, - "margin_left": null, - "margin_top": null, - "width": null, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": null, - "margin_top_bits": null, - "enabled": null - }, - "50": { - "visualName": null, - "tag": 50, - "line_break": true, - "margin_left": null, - "margin_top": null, - "width": 30, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": null, - "margin_top_bits": null, - "enabled": null - }, - "72": { - "visualName": null, - "tag": 72, - "line_break": true, - "margin_left": 7.0, - "margin_top": 0.0, - "width": 74.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 7, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": null - }, - "76": { - "visualName": null, - "tag": 76, - "line_break": null, - "margin_left": 0.0, - "margin_top": 0.0, - "width": 78.0, - "height": 30.0, - "font_size": 12.0, - "width_bits": 7, - "height_bits": 3, - "margin_left_bits": 0, - "margin_top_bits": 0, - "enabled": null - }, - "88": { - "visualName": null, - "tag": 88, - "line_break": true, - "margin_left": null, - "margin_top": null, - "width": 93, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": null, - "margin_top_bits": null, - "enabled": null - }, - "94": { - "visualName": null, - "tag": 94, - "line_break": null, - "margin_left": null, - "margin_top": null, - "width": 41, - "height": null, - "font_size": null, - "width_bits": 4, - "height_bits": null, - "margin_left_bits": null, - "margin_top_bits": null, - "enabled": null - }, - "95": { - "visualName": null, - "tag": 95, - "line_break": null, - "margin_left": 44, - "margin_top": null, - "width": 30, - "height": null, - "font_size": null, - "width_bits": 3, - "height_bits": null, - "margin_left_bits": 3, - "margin_top_bits": null, - "enabled": null - }, - "96": { - "visualName": null, - "tag": 96, - "line_break": null, - "margin_left": 7, - "margin_top": null, - "width": 30, - "height": null, - "font_size": null, - "width_bits": 3, - "height_bits": null, - "margin_left_bits": null, - "margin_top_bits": null, - "enabled": null - }, - "97": { - "visualName": null, - "tag": 97, - "line_break": null, - "margin_left": null, - "margin_top": null, - "width": 178, - "height": null, - "font_size": null, - "width_bits": 15, - "height_bits": null, - "margin_left_bits": null, - "margin_top_bits": null, - "enabled": null - }, - "98": { - "visualName": null, - "tag": 98, - "line_break": null, - "margin_left": 7, - "margin_top": null, - "width": 30, - "height": null, - "font_size": null, - "width_bits": 3, - "height_bits": null, - "margin_left_bits": null, - "margin_top_bits": null, - "enabled": null - }, - "99": { - "visualName": "FN", - "tag": 107, - "line_break": null, - "margin_left": 7, - "margin_top": null, - "width": 30, - "height": null, - "font_size": null, - "width_bits": 3, - "height_bits": null, - "margin_left_bits": null, - "margin_top_bits": null, - "enabled": null - }, - "101": { - "visualName": null, - "tag": 101, - "line_break": null, - "margin_left": 7, - "margin_top": null, - "width": 30, - "height": null, - "font_size": null, - "width_bits": 3, - "height_bits": null, - "margin_left_bits": null, - "margin_top_bits": null, - "enabled": null - }, - "102": { - "visualName": null, - "tag": 102, - "line_break": null, - "margin_left": 7.0, - "margin_top": null, - "width": 24.5, - "height": null, - "font_size": null, - "width_bits": 2, - "height_bits": null, - "margin_left_bits": 0, - "margin_top_bits": null, - "enabled": null - }, - "89": { - "visualName": null, - "tag": 103, - "line_break": null, - "margin_left": null, - "margin_top": null, - "width": null, - "height": null, - "font_size": null, - "width_bits": null, - "height_bits": null, - "margin_left_bits": null, - "margin_top_bits": null, - "enabled": null - }, - "103": { - "visualName": "↑", - "tag": 89, - "line_break": null, - "margin_left": null, - "margin_top": null, - "width": null, - "height": 14, - "font_size": 9, - "width_bits": null, - "height_bits": 1, - "margin_left_bits": null, - "margin_top_bits": null, - "enabled": null - }, - "104": { - "visualName": null, - "tag": 104, - "line_break": true, - "margin_left": null, - "margin_top": null, - "width": 24.5, - "height": null, - "font_size": null, - "width_bits": 2, - "height_bits": null, - "margin_left_bits": null, - "margin_top_bits": null, - "enabled": null - } - }, - "included_features": [ - "razer_blade_left_bottom_features.json", - "razer_blade_right_bottom_features.json", - "razer_blade_right_features.json" - ] -}