Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Librem5
squeekboard
Commits
aa883159
Commit
aa883159
authored
Mar 10, 2011
by
Daiki Ueno
Browse files
Set AltGr mask in python binding.
parent
39a59fb0
Changes
1
Hide whitespace changes
Inline
Side-by-side
bindings/python/eekboard/__init__.py
View file @
aa883159
...
...
@@ -41,6 +41,7 @@ def XmlKeyboard(path, modifier_behavior=MODIFIER_BEHAVIOR_NONE):
layout
=
Eek
.
XmlLayout
.
new
(
_file
.
read
())
keyboard
=
Eek
.
Keyboard
.
new
(
layout
,
CSW
,
CSH
)
keyboard
.
set_modifier_behavior
(
modifier_behavior
)
keyboard
.
set_alt_gr_mask
(
Eek
.
ModifierType
.
MOD5_MASK
)
return
keyboard
def
XklKeyboard
(
modifier_behavior
=
MODIFIER_BEHAVIOR_NONE
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment