forked from r0adrunner/Space2Ctrl
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the wrong remapping. The full definition of keycode 65 is reassigned to keycode 255. control is now fully reinitialized.
- Loading branch information
Renaud AUBIN
committed
Mar 10, 2012
1 parent
9a9a65a
commit f396af6
Showing
2 changed files
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
#! /bin/sh | ||
|
||
[ -f ~/.Space2Ctrl.pid ] && kill `cat ~/.Space2Ctrl.pid` && rm -f ~/.Space2Ctrl.pid | ||
cat ~/.Space2Ctrl.backup | xmodmap - | ||
[ -f ~/.Space2Ctrl.backup ] && cat ~/.Space2Ctrl.backup | xmodmap - && rm -f ~/.Space2Ctrl.backup | ||
xmodmap -e "keycode 255 =" | ||
xmodmap -e "clear control" | ||
xmodmap -e "add control = Control_L" | ||
xmodmap -e "add control = Control_R" | ||
exit 0 |