diff --git a/data/locale/ru-RU.ini b/data/locale/ru-RU.ini index a370c05e..9ed58c4f 100644 --- a/data/locale/ru-RU.ini +++ b/data/locale/ru-RU.ini @@ -1,54 +1,55 @@ -InputOverlay="Входной оверлей" +InputOverlay="Оверлей ввода" InputHistory="История ввода" -Filter.ImageFiles="Файлы изображении" +Filter.ImageFiles="Файлы изображений" Filter.TextFiles="Текстовые файлы" Filter.AllFiles="Все файлы" -Overlay.Path.Texture="Наложение файла изображения" -Overlay.Path.Layout="Файл конфигурации .ini" -Overlay.LinearAlpha="Применить альфа канал в линейном пространстве" +Overlay.Path.Texture="Файл изображения оверлея" +Overlay.Path.Layout="Файл настроек оверлея" +Overlay.FontSettings="Показать настройки шрифта" +Overlay.LinearAlpha="Примените альфа-канал в линейном пространстве" Mouse.Sensitivity="Чувствительность мыши" -Mouse.Deadzone="Мышь мертвая зона" -Mouse.UseCenter="Используйте центр мониторинга (для игр, которые блокируют мышь)" -Monitor.CenterX="Мониторинг горизонтального центра" -Monitor.CenterY="Монитор вертикального центра" - -Gamepad.Id="Идентификатор панели управления, id" -Gamepad.LeftDeadZone="Левая мертвая зона" -Gamepad.RightDeadZone="Правая ручка мертвой зоны" - -History.Mode="Режим наложения" -History.Mode.Text="Простой текст" -History.Mode.Icons="Значки клавиш" - -History.Direction="Направление" -History.Direction.Up="Вверх" -History.Direction.Down="Вниз" -History.Direction.Left="Влево" -History.Direction.Right="Вправо" - -History.Path.Icons.Texture="Текстура ключевых значков" -History.Path.Icons.Config="Конфигурация значка ключа" -History.Icons.Space.Vertical="Вертикальное пространство" -History.Icons.Space.Horizontal="Горизонтальное пространство" - -History.Font="Оверлейный шрифт" -History.Font.Color="Цвет" -History.Font.Outline="Контур" -History.Font.Outline.Size="Размер контура" -History.Font.Outline.Color="Цвет контура" -History.Font.Outline.Opacity="Прозрачность контура" - -History.Size="Размер истории" -History.Path.KeyNames="Конфигурация имени ключа" -History.UseFallbackNames="Использовать встроенные имена, если они не определены в файле" -History.IncludeMouse="Включить мышь" -History.FixCutting="Исправить отрезанные буквы" -History.Update.Interval="Интервал обновления (каждый х кадров)" -History.ClearHistory="Чистая история" -History.Opacity="Помутнение" -History.Enable.RepeatKeys="Включение повторных ключей" -History.Enable.AutoClear="Включить автоматическую очистку" -History.AutoClear.Interval="Интервал автоматической очистки (в секундах)" +Mouse.Deadzone="Мёртвая зона мыши" +Mouse.UseCenter="Использовать центр монитора (для игр, которые блокируют мышь)" +Monitor.CenterX="Горизонтальный центр монитора" +Monitor.CenterY="Вертикальный центр монитора" + +Gamepad.Reload="Перезагрузить геймпады" +Gamepad.Id="ID геймпада" +Gamepad.Path="Путь к устройству" +Gamepad.LeftDeadZone="Мёртвая зона левого стика" +Gamepad.RightDeadZone="Мёртвая зона правого стика" + +Source.InputSource="Источник ввода" +Source.InputSource.Reload="Обновить" +Source.InputSource.Local="Этот компьютер" + +Dialog.Title="Настройки input-overlay" +Dialog.LocalFeatures="Местные особенности" +Dialog.LocalFeatures.Info="Для большинства этих настроек потребуется перезагрузка!" +Dialog.Uiohook.Enable="Включить перехват мыши и клавиатуры" +Dialog.Wss="Пересылать и получать события через websocket-сервер с адресом" +Dialog.GamepadHook.Enable="Включить перехват геймпада" +Dialog.InputOverlay.Enable="Включить источник Оверлея ввода" +Dialog.InputHistory.Enable="Включить источник Истории ввода" +Dialog.InputControl.Enable="Включить контроль ввода" +Dialog.InputControl.Regex.Enable="Включить регулярное выражение для заголовков окон" +Dialog.InputControl.Mode="Режим фильтра:" +Dialog.InputControl.Mode.Whitelist="Белый список" +Dialog.InputControl.Mode.Blacklist="Чёрный список" +Dialog.InputControl.NewEntry="Заголовок окна для фильтрации:" +Dialog.InputControl.Add="Добавить новый фильтр" +Dialog.InputControl.List="Текущие фильтры:" +Dialog.InputControl.Remove="Удалить выбранный фильтр" + +Dialog.About="О программе" +Dialog.About.Button.Github="Открыть GitHub" +Dialog.About.Button.Forums="Открыть Форум OBS" + +Dialog.RemoteConnection="WebSocket-сервер" +Dialog.Remote.Logging="Включить запись логов" +Dialog.Remote.Status="Локальный IP этого компьютера: " + +Menu.InputOverlay.OpenSettings="Настройки input-overlay" diff --git a/presets/g502x/g502x.json b/presets/g502x/g502x.json index 433073b9..0e619343 100644 --- a/presets/g502x/g502x.json +++ b/presets/g502x/g502x.json @@ -132,6 +132,38 @@ 28 ], "code": 75 + }, + { + "type": 1, + "pos": [ + 80, + 57 + ], + "id": "G8", + "z_level": 0, + "mapping": [ + 1204, + 752, + 90, + 208 + ], + "code": 2 + }, + { + "type": 1, + "pos": [ + 57, + 245 + ], + "id": "G7", + "z_level": 0, + "mapping": [ + 1319, + 757, + 95, + 271 + ], + "code": 3 } ] -} \ No newline at end of file +} diff --git a/presets/g502x/g502x.png b/presets/g502x/g502x.png index fe8bba57..5b53d7a7 100644 Binary files a/presets/g502x/g502x.png and b/presets/g502x/g502x.png differ diff --git a/presets/qwerty_arrow_keys/qwerty_arrow_keys.json b/presets/qwerty_arrow_keys/qwerty_arrow_keys.json new file mode 100644 index 00000000..a60fc9b5 --- /dev/null +++ b/presets/qwerty_arrow_keys/qwerty_arrow_keys.json @@ -0,0 +1,1179 @@ +{ + "default_width": 128, + "default_height": 128, + "space_h": 3, + "space_v": 3, + "flags": 0, + "overlay_width": 1832, + "overlay_height": 783, + "elements": [ + { + "type": 1, + "pos": [ + 0, + 0 + ], + "id": "esc", + "z_level": 0, + "mapping": [ + 1, + 1, + 128, + 128 + ], + "code": 1 + }, + { + "type": 1, + "pos": [ + 131, + 0 + ], + "id": "f1", + "z_level": 0, + "mapping": [ + 132, + 1, + 128, + 128 + ], + "code": 59 + }, + { + "type": 1, + "pos": [ + 262, + 0 + ], + "id": "f2", + "z_level": 0, + "mapping": [ + 263, + 1, + 128, + 128 + ], + "code": 60 + }, + { + "type": 1, + "pos": [ + 393, + 0 + ], + "id": "f3", + "z_level": 0, + "mapping": [ + 394, + 1, + 128, + 128 + ], + "code": 61 + }, + { + "type": 1, + "pos": [ + 524, + 0 + ], + "id": "f4", + "z_level": 0, + "mapping": [ + 525, + 1, + 128, + 128 + ], + "code": 62 + }, + { + "type": 1, + "pos": [ + 655, + 0 + ], + "id": "f5", + "z_level": 0, + "mapping": [ + 656, + 1, + 128, + 128 + ], + "code": 63 + }, + { + "type": 1, + "pos": [ + 786, + 0 + ], + "id": "f6", + "z_level": 0, + "mapping": [ + 787, + 1, + 128, + 128 + ], + "code": 64 + }, + { + "type": 1, + "pos": [ + 917, + 0 + ], + "id": "f7", + "z_level": 0, + "mapping": [ + 918, + 1, + 128, + 128 + ], + "code": 65 + }, + { + "type": 1, + "pos": [ + 1048, + 0 + ], + "id": "f8", + "z_level": 0, + "mapping": [ + 1049, + 1, + 128, + 128 + ], + "code": 66 + }, + { + "type": 1, + "pos": [ + 1179, + 0 + ], + "id": "f9", + "z_level": 0, + "mapping": [ + 1180, + 1, + 128, + 128 + ], + "code": 67 + }, + { + "type": 1, + "pos": [ + 1310, + 0 + ], + "id": "f10", + "z_level": 0, + "mapping": [ + 1311, + 1, + 128, + 128 + ], + "code": 68 + }, + { + "type": 1, + "pos": [ + 1441, + 0 + ], + "id": "f11", + "z_level": 0, + "mapping": [ + 1442, + 1, + 128, + 128 + ], + "code": 87 + }, + { + "type": 1, + "pos": [ + 1572, + 0 + ], + "id": "f12", + "z_level": 0, + "mapping": [ + 1573, + 1, + 128, + 128 + ], + "code": 88 + }, + { + "type": 1, + "pos": [ + 0, + 131 + ], + "id": "~", + "z_level": 0, + "mapping": [ + 1, + 263, + 128, + 128 + ], + "code": 41 + }, + { + "type": 1, + "pos": [ + 131, + 131 + ], + "id": "1", + "z_level": 0, + "mapping": [ + 132, + 263, + 128, + 128 + ], + "code": 2 + }, + { + "type": 1, + "pos": [ + 262, + 131 + ], + "id": "2", + "z_level": 0, + "mapping": [ + 263, + 263, + 128, + 128 + ], + "code": 3 + }, + { + "type": 1, + "pos": [ + 393, + 131 + ], + "id": "3", + "z_level": 0, + "mapping": [ + 394, + 263, + 128, + 128 + ], + "code": 4 + }, + { + "type": 1, + "pos": [ + 524, + 131 + ], + "id": "4", + "z_level": 0, + "mapping": [ + 525, + 263, + 128, + 128 + ], + "code": 5 + }, + { + "type": 1, + "pos": [ + 655, + 131 + ], + "id": "5", + "z_level": 0, + "mapping": [ + 656, + 263, + 128, + 128 + ], + "code": 6 + }, + { + "type": 1, + "pos": [ + 786, + 131 + ], + "id": "6", + "z_level": 0, + "mapping": [ + 787, + 263, + 128, + 128 + ], + "code": 7 + }, + { + "type": 1, + "pos": [ + 917, + 131 + ], + "id": "7", + "z_level": 0, + "mapping": [ + 918, + 263, + 128, + 128 + ], + "code": 8 + }, + { + "type": 1, + "pos": [ + 1048, + 131 + ], + "id": "8", + "z_level": 0, + "mapping": [ + 1049, + 263, + 128, + 128 + ], + "code": 9 + }, + { + "type": 1, + "pos": [ + 1179, + 131 + ], + "id": "9", + "z_level": 0, + "mapping": [ + 1180, + 263, + 128, + 128 + ], + "code": 10 + }, + { + "type": 1, + "pos": [ + 1310, + 131 + ], + "id": "0", + "z_level": 0, + "mapping": [ + 1311, + 263, + 128, + 128 + ], + "code": 11 + }, + { + "type": 1, + "pos": [ + 1441, + 131 + ], + "id": "-", + "z_level": 0, + "mapping": [ + 1442, + 263, + 128, + 128 + ], + "code": 12 + }, + { + "type": 1, + "pos": [ + 1572, + 131 + ], + "id": "=", + "z_level": 0, + "mapping": [ + 1573, + 263, + 128, + 128 + ], + "code": 13 + }, + { + "type": 1, + "pos": [ + 1703, + 131 + ], + "id": "backspace", + "z_level": 0, + "mapping": [ + 1, + 525, + 128, + 128 + ], + "code": 14 + }, + { + "type": 1, + "pos": [ + 0, + 262 + ], + "id": "tab", + "z_level": 0, + "mapping": [ + 132, + 525, + 128, + 128 + ], + "code": 15 + }, + { + "type": 1, + "pos": [ + 131, + 262 + ], + "id": "q", + "z_level": 0, + "mapping": [ + 263, + 525, + 128, + 128 + ], + "code": 16 + }, + { + "type": 1, + "pos": [ + 262, + 262 + ], + "id": "w", + "z_level": 0, + "mapping": [ + 394, + 525, + 128, + 128 + ], + "code": 17 + }, + { + "type": 1, + "pos": [ + 393, + 262 + ], + "id": "e", + "z_level": 0, + "mapping": [ + 525, + 525, + 128, + 128 + ], + "code": 18 + }, + { + "type": 1, + "pos": [ + 524, + 262 + ], + "id": "r", + "z_level": 0, + "mapping": [ + 656, + 525, + 128, + 128 + ], + "code": 19 + }, + { + "type": 1, + "pos": [ + 655, + 262 + ], + "id": "t", + "z_level": 0, + "mapping": [ + 787, + 525, + 128, + 128 + ], + "code": 20 + }, + { + "type": 1, + "pos": [ + 786, + 262 + ], + "id": "y", + "z_level": 0, + "mapping": [ + 918, + 525, + 128, + 128 + ], + "code": 21 + }, + { + "type": 1, + "pos": [ + 917, + 262 + ], + "id": "u", + "z_level": 0, + "mapping": [ + 1049, + 525, + 128, + 128 + ], + "code": 22 + }, + { + "type": 1, + "pos": [ + 1048, + 262 + ], + "id": "i", + "z_level": 0, + "mapping": [ + 1180, + 525, + 128, + 128 + ], + "code": 23 + }, + { + "type": 1, + "pos": [ + 1179, + 262 + ], + "id": "o", + "z_level": 0, + "mapping": [ + 1311, + 525, + 128, + 128 + ], + "code": 24 + }, + { + "type": 1, + "pos": [ + 1310, + 262 + ], + "id": "p", + "z_level": 0, + "mapping": [ + 1442, + 525, + 128, + 128 + ], + "code": 25 + }, + { + "type": 1, + "pos": [ + 1441, + 262 + ], + "id": "[", + "z_level": 0, + "mapping": [ + 1573, + 525, + 128, + 128 + ], + "code": 26 + }, + { + "type": 1, + "pos": [ + 1572, + 262 + ], + "id": "]", + "z_level": 0, + "mapping": [ + 1, + 787, + 128, + 128 + ], + "code": 27 + }, + { + "type": 1, + "pos": [ + 1703, + 262 + ], + "id": "\\", + "z_level": 0, + "mapping": [ + 132, + 787, + 128, + 128 + ], + "code": 43 + }, + { + "type": 1, + "pos": [ + 0, + 393 + ], + "id": "caps", + "z_level": 0, + "mapping": [ + 263, + 787, + 128, + 128 + ], + "code": 58 + }, + { + "type": 1, + "pos": [ + 131, + 393 + ], + "id": "a", + "z_level": 0, + "mapping": [ + 394, + 787, + 128, + 128 + ], + "code": 30 + }, + { + "type": 1, + "pos": [ + 262, + 393 + ], + "id": "s", + "z_level": 0, + "mapping": [ + 525, + 787, + 128, + 128 + ], + "code": 31 + }, + { + "type": 1, + "pos": [ + 393, + 393 + ], + "id": "d", + "z_level": 0, + "mapping": [ + 656, + 787, + 128, + 128 + ], + "code": 32 + }, + { + "type": 1, + "pos": [ + 524, + 393 + ], + "id": "f", + "z_level": 0, + "mapping": [ + 787, + 787, + 128, + 128 + ], + "code": 33 + }, + { + "type": 1, + "pos": [ + 655, + 393 + ], + "id": "g", + "z_level": 0, + "mapping": [ + 918, + 787, + 128, + 128 + ], + "code": 34 + }, + { + "type": 1, + "pos": [ + 786, + 393 + ], + "id": "h", + "z_level": 0, + "mapping": [ + 1049, + 787, + 128, + 128 + ], + "code": 35 + }, + { + "type": 1, + "pos": [ + 917, + 393 + ], + "id": "j", + "z_level": 0, + "mapping": [ + 1180, + 787, + 128, + 128 + ], + "code": 36 + }, + { + "type": 1, + "pos": [ + 1048, + 393 + ], + "id": "k", + "z_level": 0, + "mapping": [ + 1311, + 787, + 128, + 128 + ], + "code": 37 + }, + { + "type": 1, + "pos": [ + 1179, + 393 + ], + "id": "l", + "z_level": 0, + "mapping": [ + 1442, + 787, + 128, + 128 + ], + "code": 38 + }, + { + "type": 1, + "pos": [ + 1310, + 393 + ], + "id": ";", + "z_level": 0, + "mapping": [ + 1573, + 787, + 128, + 128 + ], + "code": 39 + }, + { + "type": 1, + "pos": [ + 1441, + 393 + ], + "id": "'", + "z_level": 0, + "mapping": [ + 1, + 1049, + 128, + 128 + ], + "code": 40 + }, + { + "type": 1, + "pos": [ + 1703, + 393 + ], + "id": "enter", + "z_level": 0, + "mapping": [ + 132, + 1049, + 128, + 128 + ], + "code": 28 + }, + { + "type": 1, + "pos": [ + 0, + 524 + ], + "id": "lshift", + "z_level": 0, + "mapping": [ + 263, + 1049, + 128, + 128 + ], + "code": 42 + }, + { + "type": 1, + "pos": [ + 131, + 524 + ], + "id": "z", + "z_level": 0, + "mapping": [ + 394, + 1049, + 128, + 128 + ], + "code": 44 + }, + { + "type": 1, + "pos": [ + 262, + 524 + ], + "id": "x", + "z_level": 0, + "mapping": [ + 525, + 1049, + 128, + 128 + ], + "code": 45 + }, + { + "type": 1, + "pos": [ + 393, + 524 + ], + "id": "c", + "z_level": 0, + "mapping": [ + 656, + 1049, + 128, + 128 + ], + "code": 46 + }, + { + "type": 1, + "pos": [ + 524, + 524 + ], + "id": "v", + "z_level": 0, + "mapping": [ + 787, + 1049, + 128, + 128 + ], + "code": 47 + }, + { + "type": 1, + "pos": [ + 655, + 524 + ], + "id": "b", + "z_level": 0, + "mapping": [ + 918, + 1049, + 128, + 128 + ], + "code": 48 + }, + { + "type": 1, + "pos": [ + 786, + 524 + ], + "id": "n", + "z_level": 0, + "mapping": [ + 1049, + 1049, + 128, + 128 + ], + "code": 49 + }, + { + "type": 1, + "pos": [ + 917, + 524 + ], + "id": "m", + "z_level": 0, + "mapping": [ + 1180, + 1049, + 128, + 128 + ], + "code": 50 + }, + { + "type": 1, + "pos": [ + 1048, + 524 + ], + "id": ",", + "z_level": 0, + "mapping": [ + 1311, + 1049, + 128, + 128 + ], + "code": 51 + }, + { + "type": 1, + "pos": [ + 1179, + 524 + ], + "id": ".", + "z_level": 0, + "mapping": [ + 1442, + 1049, + 128, + 128 + ], + "code": 52 + }, + { + "type": 1, + "pos": [ + 1310, + 524 + ], + "id": "/", + "z_level": 0, + "mapping": [ + 1573, + 1049, + 128, + 128 + ], + "code": 53 + }, + { + "type": 1, + "pos": [ + 0, + 655 + ], + "id": "lctrl", + "z_level": 0, + "mapping": [ + 132, + 1311, + 128, + 128 + ], + "code": 29 + }, + { + "type": 1, + "pos": [ + 131, + 655 + ], + "id": "lwin", + "z_level": 0, + "mapping": [ + 263, + 1311, + 128, + 128 + ], + "code": 3675 + }, + { + "type": 1, + "pos": [ + 262, + 655 + ], + "id": "lalt", + "z_level": 0, + "mapping": [ + 394, + 1311, + 128, + 128 + ], + "code": 56 + }, + { + "type": 1, + "pos": [ + 404, + 655 + ], + "id": "space", + "z_level": 0, + "mapping": [ + 525, + 1311, + 1023, + 128 + ], + "code": 57 + }, + { + "type": 1, + "pos": [ + 1441, + 655 + ], + "id": "larrow", + "z_level": 0, + "mapping": [ + 1573, + 1311, + 128, + 128 + ], + "code": 57419 + }, + { + "type": 1, + "pos": [ + 1572, + 655 + ], + "id": "darrow", + "z_level": 0, + "mapping": [ + 132, + 1573, + 128, + 128 + ], + "code": 57424 + }, + { + "type": 1, + "pos": [ + 1572, + 524 + ], + "id": "uarrow", + "z_level": 0, + "mapping": [ + 1, + 1311, + 128, + 128 + ], + "code": 57416 + }, + { + "type": 1, + "pos": [ + 1704, + 655 + ], + "id": "rarrow", + "z_level": 0, + "mapping": [ + 1, + 1573, + 128, + 128 + ], + "code": 57421 + } + ] +} \ No newline at end of file diff --git a/presets/qwerty_arrow_keys/qwerty_arrow_keys.png b/presets/qwerty_arrow_keys/qwerty_arrow_keys.png new file mode 100644 index 00000000..f177874d Binary files /dev/null and b/presets/qwerty_arrow_keys/qwerty_arrow_keys.png differ