Skip to content

Commit

Permalink
fixed key mapping UI: Escape key could not be selected
Browse files Browse the repository at this point in the history
  • Loading branch information
jtsiomb committed Apr 1, 2022
1 parent 068f192 commit 8a8a6a7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/spnavcfg.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ int read_cfg(struct config *cfg)
for(i=0; i<devinfo.nbuttons; i++) {
cfg->map_bn[i] = spnav_cfg_get_bnmap(i);
cfg->bnact[i] = spnav_cfg_get_bnaction(i);
cfg->kbmap[i] = spnav_cfg_get_kbmap(i);
}

if((len = spnav_cfg_get_serial(0, 0)) > 0) {
Expand Down
5 changes: 5 additions & 0 deletions ui/bnmaprow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,11 @@
<property name="editable">
<bool>true</bool>
</property>
<item>
<property name="text">
<string>-</string>
</property>
</item>
<item>
<property name="text">
<string>Escape</string>
Expand Down

0 comments on commit 8a8a6a7

Please sign in to comment.