2020-10-31 13:43:09 +00:00
<?xml version="1.0" encoding="UTF-8"?>
2021-01-05 18:33:47 +00:00
<!-- Generated with glade 3.38.2 -->
2020-10-31 13:43:09 +00:00
<interface>
<requires lib="gtk+" version="3.22"/>
2021-03-21 13:17:34 +00:00
<object class="GtkImage" id="about-icon">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="icon-name">help-about</property>
</object>
2020-11-29 16:47:23 +00:00
<object class="GtkImage" id="check-icon">
<property name="visible">True</property>
2020-12-06 14:50:05 +00:00
<property name="can-focus">False</property>
<property name="icon-name">dialog-ok</property>
2020-11-29 16:47:23 +00:00
</object>
2021-03-21 13:17:34 +00:00
<object class="GtkImage" id="copy-icon">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="icon-name">edit-copy</property>
</object>
2020-11-29 16:47:23 +00:00
<object class="GtkImage" id="delete-icon">
<property name="visible">True</property>
2020-12-06 14:50:05 +00:00
<property name="can-focus">False</property>
<property name="icon-name">edit-delete</property>
2020-11-29 16:47:23 +00:00
</object>
2021-03-21 13:17:34 +00:00
<object class="GtkImage" id="gtk-delete-icon1">
2020-11-12 20:36:40 +00:00
<property name="visible">True</property>
2020-12-06 14:50:05 +00:00
<property name="can-focus">False</property>
<property name="icon-name">gtk-delete</property>
2020-11-12 20:36:40 +00:00
</object>
2020-12-26 15:41:58 +00:00
<object class="GtkImage" id="gtk-redo-icon">
2020-11-14 19:35:57 +00:00
<property name="visible">True</property>
2020-12-06 14:50:05 +00:00
<property name="can-focus">False</property>
2020-11-14 19:35:57 +00:00
<property name="stock">gtk-redo</property>
</object>
2020-12-19 23:34:37 +00:00
<object class="GtkAdjustment" id="mouse_speed_adjustment">
<property name="lower">2</property>
<property name="upper">9</property>
<property name="step-increment">1</property>
2021-03-21 19:47:36 +00:00
<property name="page-increment">6</property>
2020-12-19 23:34:37 +00:00
</object>
2020-11-21 15:01:39 +00:00
<object class="GtkImage" id="new-icon">
<property name="visible">True</property>
2020-12-06 14:50:05 +00:00
<property name="can-focus">False</property>
<property name="icon-name">document-new</property>
2020-11-21 15:01:39 +00:00
</object>
<object class="GtkImage" id="save-icon">
<property name="visible">True</property>
2020-12-06 14:50:05 +00:00
<property name="can-focus">False</property>
<property name="icon-name">document-save</property>
2020-11-21 15:01:39 +00:00
</object>
2020-10-31 14:03:31 +00:00
<object class="GtkWindow" id="window">
2020-12-24 00:26:34 +00:00
<property name="width-request">750</property>
2020-12-06 14:50:05 +00:00
<property name="can-focus">False</property>
2020-10-31 16:43:21 +00:00
<property name="title" translatable="yes">Key Mapper</property>
2020-12-20 16:33:59 +00:00
<property name="icon">key-mapper.svg</property>
2020-10-31 14:03:31 +00:00
<signal name="delete-event" handler="on_close" swapped="no"/>
2020-12-26 15:41:58 +00:00
<signal name="key-press-event" handler="key_press" swapped="no"/>
<signal name="key-release-event" handler="key_release" swapped="no"/>
2020-10-31 13:43:09 +00:00
<child>
2020-11-25 23:07:28 +00:00
<object class="GtkBox" id="vertical-wrapper">
2020-10-31 13:43:09 +00:00
<property name="visible">True</property>
2020-12-06 14:50:05 +00:00
<property name="can-focus">False</property>
2020-11-25 23:07:28 +00:00
<property name="orientation">vertical</property>
2020-10-31 13:43:09 +00:00
<child>
2020-12-26 15:41:58 +00:00
<object class="GtkBox">
2020-10-31 13:43:09 +00:00
<property name="visible">True</property>
2020-12-06 14:50:05 +00:00
<property name="can-focus">False</property>
2020-12-26 15:41:58 +00:00
<property name="orientation">vertical</property>
2020-10-31 13:43:09 +00:00
<child>
2020-12-26 15:41:58 +00:00
<object class="GtkMenuBar">
2021-03-21 19:47:36 +00:00
<property name="height-request">18</property>
2020-10-31 13:43:09 +00:00
<property name="visible">True</property>
2020-12-06 14:50:05 +00:00
<property name="can-focus">False</property>
2020-12-26 16:21:10 +00:00
<property name="opacity">0</property>
2020-10-31 13:43:09 +00:00
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
2020-10-31 16:00:02 +00:00
<child>
2020-12-26 15:41:58 +00:00
<object class="GtkBox" id="devices">
2020-10-31 16:00:02 +00:00
<property name="visible">True</property>
2020-12-06 14:50:05 +00:00
<property name="can-focus">False</property>
2021-03-21 19:47:36 +00:00
<property name="margin-start">18</property>
<property name="margin-end">18</property>
<property name="margin-bottom">18</property>
2020-12-26 15:41:58 +00:00
<property name="border-width">0</property>
2021-03-21 19:47:36 +00:00
<property name="spacing">6</property>
2020-12-26 15:41:58 +00:00
<child>
<object class="GtkLabel">
<property name="width-request">50</property>
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">Device</property>
<property name="width-chars">13</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
2021-03-27 12:21:35 +00:00
<object class="GtkComboBox" id="device_selection">
2020-12-26 15:41:58 +00:00
<property name="visible">True</property>
<property name="can-focus">False</property>
<signal name="changed" handler="on_select_device" swapped="no"/>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkButton" id="apply_system_layout">
<property name="label" translatable="yes">Restore Defaults</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
2021-04-02 13:08:36 +00:00
<property name="tooltip-text" translatable="yes">Shortcut: ctrl + del
2021-01-05 18:33:47 +00:00
To give your keys back their original mapping.</property>
2020-12-26 15:41:58 +00:00
<property name="halign">end</property>
<property name="image">gtk-redo-icon</property>
<property name="always-show-image">True</property>
2021-04-02 13:08:36 +00:00
<signal name="clicked" handler="on_restore_defaults_clicked" swapped="no"/>
2020-12-26 15:41:58 +00:00
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">2</property>
</packing>
</child>
2021-03-21 13:17:34 +00:00
<child>
<object class="GtkButton" id="about">
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="halign">end</property>
<property name="image">about-icon</property>
<property name="always-show-image">True</property>
<signal name="clicked" handler="on_about_clicked" swapped="no"/>
<accelerator key="Delete" signal="activate" modifiers="GDK_SHIFT_MASK"/>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">3</property>
</packing>
</child>
2020-10-31 16:00:02 +00:00
</object>
<packing>
2020-12-26 15:41:58 +00:00
<property name="expand">False</property>
2020-10-31 16:00:02 +00:00
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
2020-12-27 12:43:02 +00:00
<child>
<object class="GtkSeparator">
<property name="visible">True</property>
<property name="can-focus">False</property>
<style>
<class name="top_separator"/>
</style>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
2020-12-26 15:41:58 +00:00
<style>
<class name="primary-toolbar"/>
</style>
2020-11-25 23:07:28 +00:00
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkBox" id="horizontal-wrapper">
<property name="visible">True</property>
2020-12-06 14:50:05 +00:00
<property name="can-focus">False</property>
2020-11-25 23:07:28 +00:00
<child>
<object class="GtkBox">
2020-10-31 13:43:09 +00:00
<property name="visible">True</property>
2020-12-06 14:50:05 +00:00
<property name="can-focus">False</property>
2020-11-02 19:55:17 +00:00
<property name="orientation">vertical</property>
2020-10-31 13:43:09 +00:00
<child>
2020-11-25 23:07:28 +00:00
<object class="GtkBox" id="preset_settings">
2020-10-31 13:43:09 +00:00
<property name="visible">True</property>
2020-12-06 14:50:05 +00:00
<property name="can-focus">False</property>
2021-03-21 19:47:36 +00:00
<property name="border-width">18</property>
2020-11-25 23:07:28 +00:00
<property name="orientation">vertical</property>
2021-03-21 19:47:36 +00:00
<property name="spacing">6</property>
2020-11-02 19:55:17 +00:00
<child>
2020-11-25 23:07:28 +00:00
<object class="GtkBox" id="button_container">
2020-11-02 19:55:17 +00:00
<property name="visible">True</property>
2020-12-06 14:50:05 +00:00
<property name="can-focus">False</property>
2021-03-27 07:10:28 +00:00
<property name="margin-bottom">12</property>
2021-03-21 19:47:36 +00:00
<property name="spacing">6</property>
2020-12-26 22:19:33 +00:00
<property name="homogeneous">True</property>
2020-11-25 23:07:28 +00:00
<child>
<object class="GtkButton" id="apply_preset">
2020-11-29 16:47:23 +00:00
<property name="label">Apply</property>
2020-12-06 14:50:05 +00:00
<property name="width-request">80</property>
2020-11-25 23:07:28 +00:00
<property name="visible">True</property>
2020-12-06 14:50:05 +00:00
<property name="can-focus">True</property>
<property name="receives-default">True</property>
2021-03-27 12:21:35 +00:00
<property name="tooltip-text" translatable="yes">Don't hold down any keys while the injection starts.</property>
2020-11-29 16:47:23 +00:00
<property name="image">check-icon</property>
2021-03-22 21:50:08 +00:00
<property name="relief">none</property>
2020-12-06 14:50:05 +00:00
<property name="always-show-image">True</property>
2020-11-25 23:07:28 +00:00
<signal name="clicked" handler="on_apply_preset_clicked" swapped="no"/>
</object>
<packing>
2020-12-26 22:19:33 +00:00
<property name="expand">True</property>
2020-11-25 23:07:28 +00:00
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
2021-03-21 13:17:34 +00:00
<object class="GtkButton" id="copy_preset">
<property name="label">Copy</property>
2020-12-06 14:50:05 +00:00
<property name="width-request">80</property>
2020-11-25 23:07:28 +00:00
<property name="visible">True</property>
2020-12-06 14:50:05 +00:00
<property name="can-focus">True</property>
<property name="receives-default">True</property>
2021-03-21 13:17:34 +00:00
<property name="image">copy-icon</property>
2021-03-22 21:50:08 +00:00
<property name="relief">none</property>
2020-12-06 14:50:05 +00:00
<property name="always-show-image">True</property>
2021-03-21 13:17:34 +00:00
<signal name="clicked" handler="on_copy_preset_clicked" swapped="no"/>
2020-11-25 23:07:28 +00:00
</object>
<packing>
2020-12-26 22:19:33 +00:00
<property name="expand">True</property>
2020-11-25 23:07:28 +00:00
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkButton" id="create_preset">
<property name="label">New</property>
2020-12-06 14:50:05 +00:00
<property name="width-request">80</property>
2020-11-25 23:07:28 +00:00
<property name="visible">True</property>
2020-12-06 14:50:05 +00:00
<property name="can-focus">True</property>
<property name="receives-default">True</property>
2020-11-25 23:07:28 +00:00
<property name="image">new-icon</property>
2021-03-22 21:50:08 +00:00
<property name="relief">none</property>
2020-12-06 14:50:05 +00:00
<property name="always-show-image">True</property>
2020-11-25 23:07:28 +00:00
<signal name="clicked" handler="on_create_preset_clicked" swapped="no"/>
2021-03-27 12:21:35 +00:00
<accelerator key="n" signal="activate" modifiers="GDK_CONTROL_MASK"/>
2020-11-25 23:07:28 +00:00
</object>
<packing>
2020-12-26 22:19:33 +00:00
<property name="expand">True</property>
2020-11-25 23:07:28 +00:00
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
<child>
<object class="GtkButton" id="delete_preset">
2020-11-29 16:47:23 +00:00
<property name="label">Delete</property>
2020-12-06 14:50:05 +00:00
<property name="width-request">80</property>
2020-11-25 23:07:28 +00:00
<property name="visible">True</property>
2020-12-06 14:50:05 +00:00
<property name="can-focus">True</property>
<property name="receives-default">True</property>
2020-11-29 16:47:23 +00:00
<property name="image">delete-icon</property>
2021-03-22 21:50:08 +00:00
<property name="relief">none</property>
2020-12-06 14:50:05 +00:00
<property name="always-show-image">True</property>
2020-11-25 23:07:28 +00:00
<signal name="clicked" handler="on_delete_preset_clicked" swapped="no"/>
</object>
<packing>
2020-12-26 22:19:33 +00:00
<property name="expand">True</property>
2020-11-25 23:07:28 +00:00
<property name="fill">True</property>
<property name="position">4</property>
</packing>
</child>
2020-11-02 19:55:17 +00:00
</object>
<packing>
2020-12-26 22:19:33 +00:00
<property name="expand">True</property>
2020-11-02 19:55:17 +00:00
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
2020-11-25 23:07:28 +00:00
<object class="GtkBox" id="preset_dropdown_container">
2020-11-02 19:55:17 +00:00
<property name="visible">True</property>
2020-12-06 14:50:05 +00:00
<property name="can-focus">False</property>
2021-03-21 19:47:36 +00:00
<property name="spacing">6</property>
2020-11-25 23:07:28 +00:00
<child>
<object class="GtkLabel">
2020-12-06 14:50:05 +00:00
<property name="width-request">50</property>
2020-11-25 23:07:28 +00:00
<property name="visible">True</property>
2020-12-06 14:50:05 +00:00
<property name="can-focus">False</property>
2020-11-25 23:07:28 +00:00
<property name="label" translatable="yes">Preset</property>
2020-12-06 14:50:05 +00:00
<property name="width-chars">13</property>
2020-11-25 23:07:28 +00:00
<property name="xalign">0</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkComboBoxText" id="preset_selection">
2020-12-06 14:50:05 +00:00
<property name="width-request">200</property>
2020-11-25 23:07:28 +00:00
<property name="visible">True</property>
2020-12-06 14:50:05 +00:00
<property name="can-focus">False</property>
2020-11-25 23:07:28 +00:00
<signal name="changed" handler="on_select_preset" swapped="no"/>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
2020-11-02 19:55:17 +00:00
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<child>
2020-11-25 23:07:28 +00:00
<object class="GtkBox" id="rename_container">
2020-11-02 19:55:17 +00:00
<property name="visible">True</property>
2020-12-06 14:50:05 +00:00
<property name="can-focus">False</property>
2021-03-21 19:47:36 +00:00
<property name="spacing">6</property>
2020-11-25 23:07:28 +00:00
<child>
<object class="GtkLabel">
<property name="visible">True</property>
2020-12-06 14:50:05 +00:00
<property name="can-focus">False</property>
2020-11-25 23:07:28 +00:00
<property name="label" translatable="yes">Rename</property>
2020-12-06 14:50:05 +00:00
<property name="width-chars">13</property>
2020-11-25 23:07:28 +00:00
<property name="xalign">0</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
2021-03-21 13:17:34 +00:00
<object class="GtkBox">
2020-11-25 23:07:28 +00:00
<property name="visible">True</property>
2021-03-21 13:17:34 +00:00
<property name="can-focus">False</property>
<child>
<object class="GtkEntry" id="preset_name_input">
<property name="visible">True</property>
<property name="can-focus">True</property>
2021-03-21 19:47:36 +00:00
<signal name="activate" handler="on_rename_button_clicked" swapped="no"/>
2021-03-21 13:17:34 +00:00
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkButton" id="rename-button">
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="tooltip-text" translatable="yes">Save the entered name</property>
2021-03-21 19:47:36 +00:00
<property name="margin-start">6</property>
2021-03-21 13:17:34 +00:00
<property name="image">save-icon</property>
2021-03-22 21:50:08 +00:00
<property name="relief">none</property>
2021-03-21 13:17:34 +00:00
<signal name="clicked" handler="on_rename_button_clicked" swapped="no"/>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
2020-11-25 23:07:28 +00:00
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
2020-11-02 19:55:17 +00:00
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
<child>
2020-11-25 23:07:28 +00:00
<object class="GtkBox">
2020-11-02 19:55:17 +00:00
<property name="visible">True</property>
2020-12-06 14:50:05 +00:00
<property name="can-focus">False</property>
2020-11-25 23:07:28 +00:00
<child>
<object class="GtkLabel">
<property name="visible">True</property>
2020-12-06 14:50:05 +00:00
<property name="can-focus">False</property>
<property name="tooltip-text" translatable="yes">To automatically apply the preset after your login if the device is alread connected.</property>
2020-12-19 23:34:37 +00:00
<property name="label" translatable="yes">Autoload</property>
2020-11-25 23:07:28 +00:00
<property name="xalign">0</property>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkSwitch" id="preset_autoload_switch">
<property name="visible">True</property>
2020-12-06 14:50:05 +00:00
<property name="can-focus">True</property>
2020-12-19 21:58:36 +00:00
<signal name="state-set" handler="on_autoload_switch" swapped="no"/>
2020-11-25 23:07:28 +00:00
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
2020-11-02 19:55:17 +00:00
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
2020-11-25 23:07:28 +00:00
<property name="position">3</property>
2020-11-02 19:55:17 +00:00
</packing>
</child>
2020-12-19 23:47:01 +00:00
</object>
<packing>
2020-12-26 22:19:33 +00:00
<property name="expand">False</property>
2020-12-19 23:47:01 +00:00
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkSeparator" id="gamepad_separator">
<property name="visible">True</property>
<property name="can-focus">False</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkBox" id="gamepad_config">
<property name="visible">True</property>
<property name="can-focus">False</property>
2021-03-21 19:47:36 +00:00
<property name="border-width">18</property>
2020-12-19 23:47:01 +00:00
<property name="orientation">vertical</property>
2021-03-21 19:47:36 +00:00
<property name="spacing">6</property>
2020-12-19 23:34:37 +00:00
<child>
2020-12-19 23:47:01 +00:00
<object class="GtkBox">
2020-12-19 23:34:37 +00:00
<property name="visible">True</property>
<property name="can-focus">False</property>
2021-03-21 19:47:36 +00:00
<property name="spacing">6</property>
2020-12-19 23:34:37 +00:00
<child>
2020-12-19 23:47:01 +00:00
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">Left joystick</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkComboBoxText" id="left_joystick_purpose">
<property name="width-request">100</property>
2020-12-19 23:34:37 +00:00
<property name="visible">True</property>
<property name="can-focus">False</property>
2020-12-19 23:47:01 +00:00
<items>
<item id="mouse" translatable="yes">Mouse</item>
<item id="wheel" translatable="yes">Wheel</item>
2021-01-01 21:20:33 +00:00
<item id="buttons" translatable="yes">Buttons</item>
2021-02-18 19:38:14 +00:00
<item id="none" translatable="yes">Joystick</item>
2020-12-19 23:47:01 +00:00
</items>
2021-01-07 16:15:12 +00:00
<signal name="changed" handler="on_left_joystick_changed" swapped="no"/>
2020-12-19 23:34:37 +00:00
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
2020-12-19 23:47:01 +00:00
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
2021-03-21 19:47:36 +00:00
<property name="spacing">6</property>
2020-12-19 23:47:01 +00:00
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">Right joystick</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
2020-12-19 23:34:37 +00:00
<property name="position">0</property>
</packing>
</child>
<child>
2020-12-19 23:47:01 +00:00
<object class="GtkComboBoxText" id="right_joystick_purpose">
<property name="width-request">100</property>
2020-12-19 23:34:37 +00:00
<property name="visible">True</property>
<property name="can-focus">False</property>
2020-12-19 23:47:01 +00:00
<items>
<item id="mouse" translatable="yes">Mouse</item>
<item id="wheel" translatable="yes">Wheel</item>
2021-01-01 21:20:33 +00:00
<item id="buttons" translatable="yes">Buttons</item>
2021-02-18 19:38:14 +00:00
<item id="none" translatable="yes">Joystick</item>
2020-12-19 23:47:01 +00:00
</items>
2021-01-07 16:15:12 +00:00
<signal name="changed" handler="on_right_joystick_changed" swapped="no"/>
2020-12-19 23:34:37 +00:00
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
2020-12-19 23:47:01 +00:00
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
2021-03-21 19:47:36 +00:00
<property name="spacing">6</property>
2020-12-19 23:34:37 +00:00
<child>
2020-12-19 23:47:01 +00:00
<object class="GtkLabel">
2020-12-19 23:34:37 +00:00
<property name="visible">True</property>
<property name="can-focus">False</property>
2020-12-19 23:47:01 +00:00
<property name="label" translatable="yes">Mouse speed</property>
<property name="width-chars">13</property>
<property name="xalign">0</property>
2020-12-19 23:34:37 +00:00
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
2020-12-19 23:47:01 +00:00
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkScale" id="joystick_mouse_speed">
<property name="width-request">0</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="adjustment">mouse_speed_adjustment</property>
<property name="round-digits">1</property>
<property name="draw-value">False</property>
2021-03-21 13:17:34 +00:00
<signal name="drag-end" handler="save_preset" swapped="no"/>
2021-01-07 16:15:12 +00:00
<signal name="value-changed" handler="on_joystick_mouse_speed_changed" swapped="no"/>
2020-12-19 23:47:01 +00:00
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">1</property>
2020-12-19 23:34:37 +00:00
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
2020-12-19 23:47:01 +00:00
<property name="position">2</property>
2020-12-19 23:34:37 +00:00
</packing>
</child>
2020-10-31 13:43:09 +00:00
</object>
<packing>
2020-12-19 23:47:01 +00:00
<property name="expand">False</property>
2020-10-31 13:43:09 +00:00
<property name="fill">True</property>
2020-11-25 23:07:28 +00:00
<property name="position">2</property>
2020-10-31 13:43:09 +00:00
</packing>
</child>
2020-10-31 16:00:02 +00:00
<child>
2020-11-25 23:07:28 +00:00
<object class="GtkBox">
2020-10-31 16:00:02 +00:00
<property name="visible">True</property>
2020-12-06 14:50:05 +00:00
<property name="can-focus">False</property>
2020-12-26 22:19:33 +00:00
<property name="orientation">vertical</property>
2020-11-02 19:55:17 +00:00
<child>
2020-11-25 23:07:28 +00:00
<object class="GtkSeparator">
2020-11-02 19:55:17 +00:00
<property name="visible">True</property>
2020-12-06 14:50:05 +00:00
<property name="can-focus">False</property>
2020-11-02 19:55:17 +00:00
</object>
<packing>
2020-11-25 23:07:28 +00:00
<property name="expand">False</property>
2020-11-02 19:55:17 +00:00
<property name="fill">True</property>
2020-12-26 22:19:33 +00:00
<property name="position">0</property>
2020-11-02 19:55:17 +00:00
</packing>
</child>
2020-11-25 22:55:31 +00:00
<child>
2020-12-26 22:19:33 +00:00
<object class="GtkBox">
2020-11-25 22:55:31 +00:00
<property name="visible">True</property>
2020-12-06 14:50:05 +00:00
<property name="can-focus">False</property>
2020-12-27 14:38:08 +00:00
<child>
<object class="GtkImage" id="warning_status_icon">
<property name="can-focus">False</property>
2021-03-21 19:47:36 +00:00
<property name="margin-left">6</property>
<property name="margin-start">6</property>
2020-12-27 14:38:08 +00:00
<property name="icon-name">dialog-warning</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
2020-12-27 12:27:49 +00:00
<child>
<object class="GtkImage" id="error_status_icon">
<property name="can-focus">False</property>
2021-03-21 19:47:36 +00:00
<property name="margin-start">6</property>
2020-12-27 12:27:49 +00:00
<property name="icon-name">dialog-error</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
2020-12-27 14:38:08 +00:00
<property name="position">1</property>
2020-12-27 12:27:49 +00:00
</packing>
</child>
2020-12-26 22:19:33 +00:00
<child>
<object class="GtkStatusbar" id="status_bar">
<property name="visible">True</property>
<property name="can-focus">False</property>
2020-12-27 12:27:49 +00:00
<property name="margin-start">7</property>
<property name="margin-end">7</property>
2020-12-26 22:19:33 +00:00
<property name="margin-top">6</property>
<property name="margin-bottom">6</property>
<property name="orientation">vertical</property>
<style>
<class name="status_bar"/>
</style>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
2020-12-27 14:38:08 +00:00
<property name="position">2</property>
2020-12-26 22:19:33 +00:00
</packing>
</child>
2020-11-25 22:55:31 +00:00
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
2020-12-26 22:19:33 +00:00
<property name="position">1</property>
2020-11-25 22:55:31 +00:00
</packing>
</child>
</object>
<packing>
2020-11-25 23:07:28 +00:00
<property name="expand">False</property>
2020-11-25 22:55:31 +00:00
<property name="fill">True</property>
2020-12-26 22:19:33 +00:00
<property name="pack-type">end</property>
<property name="position">4</property>
2020-11-25 22:55:31 +00:00
</packing>
</child>
2020-10-31 13:43:09 +00:00
</object>
<packing>
2020-11-27 20:29:00 +00:00
<property name="expand">False</property>
2020-10-31 13:43:09 +00:00
<property name="fill">True</property>
2020-11-25 23:07:28 +00:00
<property name="position">0</property>
2020-11-14 19:35:57 +00:00
</packing>
</child>
2020-11-08 17:51:35 +00:00
<child>
<object class="GtkSeparator">
<property name="visible">True</property>
2020-12-06 14:50:05 +00:00
<property name="can-focus">False</property>
2020-11-08 17:51:35 +00:00
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
2020-11-25 23:07:28 +00:00
<property name="position">1</property>
2020-11-08 17:51:35 +00:00
</packing>
</child>
2020-10-31 13:43:09 +00:00
<child>
2020-11-03 22:41:05 +00:00
<object class="GtkBox">
2020-12-06 14:50:05 +00:00
<property name="width-request">250</property>
2020-10-31 13:43:09 +00:00
<property name="visible">True</property>
2020-12-06 14:50:05 +00:00
<property name="can-focus">False</property>
2020-11-25 23:07:28 +00:00
<property name="orientation">vertical</property>
2020-10-31 13:43:09 +00:00
<child>
2020-11-25 23:07:28 +00:00
<object class="GtkBox">
2020-10-31 16:00:02 +00:00
<property name="visible">True</property>
2020-12-06 14:50:05 +00:00
<property name="can-focus">False</property>
2020-11-25 23:07:28 +00:00
<child>
<object class="GtkLabel">
2020-12-24 00:26:34 +00:00
<property name="width-request">140</property>
2020-11-25 23:07:28 +00:00
<property name="visible">True</property>
2020-12-06 14:50:05 +00:00
<property name="can-focus">False</property>
2021-03-21 13:17:34 +00:00
<property name="tooltip-text" translatable="yes">Click on a cell below and hit a key on your device. Click the "Restore Defaults" button beforehand.</property>
2020-12-06 14:50:05 +00:00
<property name="margin-top">5</property>
<property name="margin-bottom">5</property>
2020-11-25 23:07:28 +00:00
<property name="label" translatable="yes">Key</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
2020-12-06 14:50:05 +00:00
<property name="can-focus">False</property>
<property name="margin-top">5</property>
<property name="margin-bottom">5</property>
2020-11-25 23:07:28 +00:00
<property name="label" translatable="yes">Mapping</property>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkLabel">
2020-12-06 14:50:05 +00:00
<property name="width-request">50</property>
2020-11-25 23:07:28 +00:00
<property name="visible">True</property>
2020-12-06 14:50:05 +00:00
<property name="can-focus">False</property>
2020-11-25 23:07:28 +00:00
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
<style>
<class name="table-header"/>
</style>
2020-10-31 16:00:02 +00:00
</object>
<packing>
2020-11-25 23:07:28 +00:00
<property name="expand">False</property>
2020-10-31 16:00:02 +00:00
<property name="fill">True</property>
2020-11-25 23:07:28 +00:00
<property name="position">0</property>
2020-10-31 16:00:02 +00:00
</packing>
</child>
2020-11-03 22:41:05 +00:00
<child>
2020-11-25 23:07:28 +00:00
<object class="GtkSeparator">
2020-11-03 22:41:05 +00:00
<property name="visible">True</property>
2020-12-06 14:50:05 +00:00
<property name="can-focus">False</property>
2020-11-03 22:41:05 +00:00
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
2020-11-25 23:07:28 +00:00
<property name="position">1</property>
2020-11-03 22:41:05 +00:00
</packing>
</child>
2020-11-10 22:14:28 +00:00
<child>
2020-11-25 23:07:28 +00:00
<object class="GtkScrolledWindow">
2020-11-10 22:14:28 +00:00
<property name="visible">True</property>
2020-12-06 14:50:05 +00:00
<property name="can-focus">True</property>
2020-11-10 22:14:28 +00:00
<child>
2020-11-25 23:07:28 +00:00
<object class="GtkViewport">
2020-11-10 22:14:28 +00:00
<property name="visible">True</property>
2020-12-06 14:50:05 +00:00
<property name="can-focus">False</property>
2020-11-25 23:07:28 +00:00
<child>
<object class="GtkListBox" id="key_list">
<property name="visible">True</property>
2020-12-06 14:50:05 +00:00
<property name="can-focus">False</property>
<property name="selection-mode">none</property>
2020-11-25 23:07:28 +00:00
</object>
</child>
2020-11-10 22:14:28 +00:00
</object>
</child>
</object>
2020-11-25 23:07:28 +00:00
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
2020-11-10 22:14:28 +00:00
</child>
2020-11-03 22:41:05 +00:00
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
2020-10-31 16:00:02 +00:00
</object>
<packing>
2020-11-25 20:55:04 +00:00
<property name="expand">True</property>
2020-10-31 16:00:02 +00:00
<property name="fill">True</property>
2020-11-02 19:55:17 +00:00
<property name="position">2</property>
2020-10-31 13:43:09 +00:00
</packing>
</child>
</object>
</child>
</object>
2021-03-21 13:17:34 +00:00
<object class="GtkWindow" id="about-dialog">
<property name="can-focus">False</property>
2021-03-21 19:47:36 +00:00
<property name="modal">True</property>
2021-03-21 13:17:34 +00:00
<property name="icon">key-mapper.svg</property>
2021-03-21 19:47:36 +00:00
<property name="type-hint">dialog</property>
<property name="urgency-hint">True</property>
2021-03-21 13:17:34 +00:00
<property name="transient-for">window</property>
<property name="attached-to">window</property>
2021-03-21 19:47:36 +00:00
<signal name="key-press-event" handler="on_about_key_press" swapped="no"/>
2021-03-21 13:17:34 +00:00
<child>
<object class="GtkStack" id="stack1">
<property name="visible">True</property>
<property name="can-focus">False</property>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="valign">center</property>
2021-03-21 19:47:36 +00:00
<property name="margin-top">18</property>
<property name="margin-bottom">18</property>
2021-03-21 13:17:34 +00:00
<property name="orientation">vertical</property>
2021-03-21 19:47:36 +00:00
<property name="spacing">18</property>
2021-03-21 13:17:34 +00:00
<child>
<object class="GtkImage">
<property name="visible">True</property>
<property name="can-focus">False</property>
2021-04-02 14:55:59 +00:00
<property name="pixbuf">key-mapper-large.png</property>
2021-03-21 13:17:34 +00:00
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="version-label">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">Version unknown</property>
<property name="justify">center</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<child>
2021-03-21 19:47:36 +00:00
<object class="GtkLabel" id="about-label1">
2021-03-21 13:17:34 +00:00
<property name="visible">True</property>
<property name="can-focus">True</property>
2021-03-21 19:47:36 +00:00
<property name="margin-left">6</property>
<property name="margin-right">6</property>
<property name="margin-start">6</property>
<property name="margin-end">6</property>
<property name="label" translatable="yes">You can find more information and report bugs at
2021-03-21 13:17:34 +00:00
<a href="https://github.com/sezanzeb/key-mapper">https://github.com/sezanzeb/key-mapper</a></property>
<property name="use-markup">True</property>
<property name="justify">center</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
2021-03-21 19:47:36 +00:00
<child>
<object class="GtkLabel" id="about-label">
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="opacity">0.5</property>
<property name="margin-left">6</property>
<property name="margin-right">6</property>
<property name="margin-start">6</property>
<property name="margin-end">6</property>
<property name="label" translatable="yes">© 2021 Sezanzeb proxima@sezanzeb.de
This program comes with absolutely no warranty.
See the <a href="https://www.gnu.org/licenses/gpl-3.0.html">GNU General Public License, version 3 or later</a> for details.</property>
<property name="use-markup">True</property>
<property name="justify">center</property>
<style>
<class name="copyright"/>
</style>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">3</property>
</packing>
</child>
2021-03-21 13:17:34 +00:00
</object>
<packing>
<property name="name">About</property>
<property name="title" translatable="yes">About</property>
</packing>
</child>
<child>
<object class="GtkScrolledWindow">
<property name="width-request">500</property>
<property name="height-request">300</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<child>
<object class="GtkViewport">
<property name="visible">True</property>
<property name="can-focus">False</property>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="margin-left">5</property>
<property name="margin-right">5</property>
<property name="margin-start">5</property>
<property name="margin-end">5</property>
2021-03-21 19:47:36 +00:00
<property name="border-width">6</property>
2021-03-21 13:17:34 +00:00
<property name="orientation">vertical</property>
2021-03-21 19:47:36 +00:00
<property name="spacing">6</property>
2021-03-21 13:17:34 +00:00
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">A "key + key + ... + key" syntax can be used to trigger key combinations. For example "control_l + a".
"disable" disables a key.</property>
<property name="wrap">True</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="secondary_error_label7">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="halign">center</property>
2021-03-21 19:47:36 +00:00
<property name="margin-left">6</property>
<property name="margin-right">6</property>
<property name="margin-start">6</property>
<property name="margin-end">6</property>
2021-03-21 13:17:34 +00:00
<property name="ypad">6</property>
<property name="label" translatable="yes">Macros</property>
<property name="use-markup">True</property>
<property name="wrap">True</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">Macros allow multiple characters to be written with a single key-press.</property>
<property name="wrap">True</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
<child>
<!-- n-columns=2 n-rows=9 -->
<object class="GtkGrid">
<property name="visible">True</property>
<property name="can-focus">False</property>
2021-03-21 19:47:36 +00:00
<property name="column-spacing">18</property>
2021-03-21 13:17:34 +00:00
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">r</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">0</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">waits in milliseconds</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="left-attach">1</property>
<property name="top-attach">1</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">w</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">1</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">k</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">2</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">writes a single keystroke</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="left-attach">1</property>
<property name="top-attach">2</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">e</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">3</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">holds a modifier while executing the second parameter</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="left-attach">1</property>
<property name="top-attach">4</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">writes an event</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="left-attach">1</property>
<property name="top-attach">3</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">m</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">4</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">repeats the execution of the second parameter</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="left-attach">1</property>
<property name="top-attach">0</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">executes the parameter as long as the key is pressed down</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="left-attach">1</property>
<property name="top-attach">5</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">h</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">5</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">.</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">6</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">executes two actions behind each other</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="left-attach">1</property>
<property name="top-attach">6</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">mouse</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">7</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">wheel</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">8</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">takes direction (up, left, ...) and speed as parameters</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="left-attach">1</property>
<property name="top-attach">7</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">same as mouse</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="left-attach">1</property>
<property name="top-attach">8</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">3</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="secondary_error_label8">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="halign">center</property>
2021-03-21 19:47:36 +00:00
<property name="margin-left">6</property>
<property name="margin-right">6</property>
<property name="margin-start">6</property>
<property name="margin-end">6</property>
2021-03-21 13:17:34 +00:00
<property name="ypad">6</property>
<property name="label" translatable="yes">Examples</property>
<property name="use-markup">True</property>
<property name="wrap">True</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">4</property>
</packing>
</child>
<child>
<!-- n-columns=2 n-rows=7 -->
<object class="GtkGrid">
<property name="visible">True</property>
<property name="can-focus">False</property>
2021-03-21 19:47:36 +00:00
<property name="column-spacing">18</property>
2021-03-21 13:17:34 +00:00
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">k(1).k(2)</property>
<property name="selectable">True</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">0</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">a, a, a with 500ms pause</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="left-attach">1</property>
<property name="top-attach">1</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">r(3, k(a).w(500))</property>
<property name="selectable">True</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">1</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">m(Control_L, k(a).k(x))</property>
<property name="selectable">True</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">2</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">CTRL + a, CTRL + x</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="left-attach">1</property>
<property name="top-attach">2</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">k(1).h(k(2)).k(3)</property>
<property name="selectable">True</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">3</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">moves the mouse cursor 10px to the right</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="left-attach">1</property>
<property name="top-attach">4</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">writes 1 2 2 ... 2 2 3 while the key is pressed</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="left-attach">1</property>
<property name="top-attach">3</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">e(EV_REL, REL_X, 10)</property>
<property name="selectable">True</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">4</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">1, 2</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="left-attach">1</property>
<property name="top-attach">0</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">which keeps moving the mouse while pressed</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="left-attach">1</property>
<property name="top-attach">5</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">mouse(right, 4)</property>
<property name="selectable">True</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">5</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">wheel(down, 1)</property>
<property name="selectable">True</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">6</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">keeps scrolling down while held</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="left-attach">1</property>
<property name="top-attach">6</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">5</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="secondary_error_label9">
<property name="visible">True</property>
<property name="can-focus">False</property>
2021-03-21 19:47:36 +00:00
<property name="margin-right">6</property>
<property name="margin-end">6</property>
2021-03-21 13:17:34 +00:00
<property name="ypad">6</property>
<property name="label" translatable="yes">Between calls to k, key down and key up events, macros will sleep for 10ms by default, which can be configured in ~/.config/key-mapper/config</property>
<property name="use-markup">True</property>
<property name="wrap">True</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">6</property>
</packing>
</child>
</object>
</child>
</object>
</child>
</object>
<packing>
<property name="name">Usage</property>
<property name="title" translatable="yes">Usage</property>
<property name="position">1</property>
</packing>
</child>
2021-04-02 13:08:36 +00:00
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="margin-left">5</property>
<property name="margin-right">5</property>
<property name="margin-start">5</property>
<property name="margin-end">5</property>
<property name="border-width">6</property>
<property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">Shortcuts only work while keys are not being recorded and the gui is in focus.</property>
<property name="wrap">True</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<!-- n-columns=2 n-rows=3 -->
<object class="GtkGrid">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="column-spacing">18</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">ctrl + del</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">0</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">closes the application</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="left-attach">1</property>
<property name="top-attach">1</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">ctrl + q</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">1</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">ctrl + r</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">2</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">refreshes the device list</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="left-attach">1</property>
<property name="top-attach">2</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">stops the injection</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="left-attach">1</property>
<property name="top-attach">0</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">3</property>
</packing>
</child>
</object>
<packing>
<property name="name">Shortcuts</property>
<property name="title" translatable="yes">Shortcuts</property>
<property name="position">2</property>
</packing>
</child>
2021-03-21 13:17:34 +00:00
</object>
</child>
<child type="titlebar">
<object class="GtkHeaderBar">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="show-close-button">True</property>
<child type="title">
<object class="GtkStackSwitcher">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="stack">stack1</property>
</object>
</child>
<child>
<placeholder/>
</child>
</object>
</child>
</object>
2021-03-21 19:47:36 +00:00
<object class="GtkDialog" id="confirm-delete">
<property name="can-focus">False</property>
<property name="border-width">4</property>
<property name="title" translatable="yes">Key Mapper</property>
<property name="modal">True</property>
<property name="icon">key-mapper.svg</property>
<property name="type-hint">dialog</property>
<property name="urgency-hint">True</property>
<property name="transient-for">window</property>
<property name="attached-to">window</property>
<child internal-child="vbox">
<object class="GtkBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="orientation">vertical</property>
<child internal-child="action_area">
<object class="GtkButtonBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="halign">end</property>
<property name="margin-top">6</property>
<property name="layout-style">end</property>
<child>
<object class="GtkButton" id="go_ahead1">
<property name="label" translatable="yes">Go Back</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkButton" id="go_back1">
<property name="label">Delete</property>
<property name="use-action-appearance">False</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="can-default">True</property>
<property name="receives-default">False</property>
<property name="image">gtk-delete-icon1</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="pack-type">end</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
<child>
<object class="GtkImage" id="error-image2">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="margin-right">6</property>
<property name="margin-end">6</property>
<property name="yalign">0</property>
<property name="icon-name">dialog-warning</property>
<property name="icon_size">6</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="confirm-delete-label">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="margin-left">6</property>
<property name="margin-right">6</property>
<property name="margin-start">6</property>
<property name="margin-end">6</property>
<property name="ypad">6</property>
<property name="use-markup">True</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
</object>
</child>
<action-widgets>
<action-widget response="-6">go_ahead1</action-widget>
<action-widget response="-3">go_back1</action-widget>
</action-widgets>
</object>
<object class="GtkDialog" id="error_dialog">
<property name="can-focus">False</property>
<property name="border-width">4</property>
<property name="title" translatable="yes">Key Mapper</property>
<property name="modal">True</property>
<property name="icon">key-mapper.svg</property>
<property name="type-hint">dialog</property>
<property name="urgency-hint">True</property>
<property name="transient-for">window</property>
<property name="attached-to">window</property>
<child internal-child="vbox">
<object class="GtkBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="orientation">vertical</property>
<child internal-child="action_area">
<object class="GtkButtonBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="halign">center</property>
<property name="margin-top">6</property>
<property name="layout-style">end</property>
<child>
<object class="GtkButton" id="close_error_dialog">
<property name="label">gtk-close</property>
<property name="use-action-appearance">False</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="can-default">True</property>
<property name="receives-default">False</property>
<property name="use-stock">True</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">0</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="pack-type">end</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
<child>
<object class="GtkImage" id="error-image">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="margin-end">6</property>
<property name="yalign">0</property>
<property name="icon-name">dialog-error</property>
<property name="icon_size">6</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="margin-end">6</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkLabel" id="primary_error_label">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="ypad">6</property>
<property name="use-markup">True</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="secondary_error_label">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="ypad">6</property>
<property name="use-markup">True</property>
<property name="xalign">0</property>
<property name="yalign">0</property>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
</object>
</child>
<action-widgets>
<action-widget response="-7">close_error_dialog</action-widget>
</action-widgets>
</object>
2020-10-31 13:43:09 +00:00
</interface>