Making shifted hyper super












0














I have the Happy Hacking keyboard, which only has one pair of extra
modifiers in addition to ctrl and meta. I want to use these for super
and hyper, and I don't want one for super and the other for hyper. An
ideal solution would be to make hyper the default, which would be
useful in Emacs, and make a shifted hyper turn into a super. Thus,
for instance, super+shift would be produced by: pressing shift,
pressing hyper, releasing shift, pressing shift. Ideally, shift+hyper
should immediately forget the shift, so that shift+super were also
produced by: pressing lshift, pressing hyper, pressing rshift.
hyper+shift would be produced by pressing hyper before shift.



I have tried to do this with xkb, but it is poorly documented and very
complicated. One problem is that simply putting hyper on level 1 and
super on level 2 will by default produce hyper+super on level 1. Is
there a way?










share|improve this question
























  • I also have an HHKB, and my ideal way is to program it onto the board itself using a Hasu controller (geekhack.org/index.php?topic=71517.0). A little involved, but that way it's actually programmed into the board and not reliant on the OS.
    – bgregs
    Dec 19 '18 at 12:21










  • @bgregs, looks like fun but time-consuming. Can you do what I want with that?
    – Toothrot
    Dec 19 '18 at 12:30










  • I have used it on a previous board for remapping two key presses to a single action (section 2.1.2 in docs). Basically the board becomes completely programmable (seriously, you can even map mouse events to the keys). Here's the Hasu helpful key editor (or you can do it by hand): tmk-kbd.com/tmk_keyboard/editor/unimap/?hhkb Here's the docs: github.com/tmk/tmk_keyboard/blob/master/tmk_core/doc/…
    – bgregs
    Dec 19 '18 at 12:41
















0














I have the Happy Hacking keyboard, which only has one pair of extra
modifiers in addition to ctrl and meta. I want to use these for super
and hyper, and I don't want one for super and the other for hyper. An
ideal solution would be to make hyper the default, which would be
useful in Emacs, and make a shifted hyper turn into a super. Thus,
for instance, super+shift would be produced by: pressing shift,
pressing hyper, releasing shift, pressing shift. Ideally, shift+hyper
should immediately forget the shift, so that shift+super were also
produced by: pressing lshift, pressing hyper, pressing rshift.
hyper+shift would be produced by pressing hyper before shift.



I have tried to do this with xkb, but it is poorly documented and very
complicated. One problem is that simply putting hyper on level 1 and
super on level 2 will by default produce hyper+super on level 1. Is
there a way?










share|improve this question
























  • I also have an HHKB, and my ideal way is to program it onto the board itself using a Hasu controller (geekhack.org/index.php?topic=71517.0). A little involved, but that way it's actually programmed into the board and not reliant on the OS.
    – bgregs
    Dec 19 '18 at 12:21










  • @bgregs, looks like fun but time-consuming. Can you do what I want with that?
    – Toothrot
    Dec 19 '18 at 12:30










  • I have used it on a previous board for remapping two key presses to a single action (section 2.1.2 in docs). Basically the board becomes completely programmable (seriously, you can even map mouse events to the keys). Here's the Hasu helpful key editor (or you can do it by hand): tmk-kbd.com/tmk_keyboard/editor/unimap/?hhkb Here's the docs: github.com/tmk/tmk_keyboard/blob/master/tmk_core/doc/…
    – bgregs
    Dec 19 '18 at 12:41














0












0








0







I have the Happy Hacking keyboard, which only has one pair of extra
modifiers in addition to ctrl and meta. I want to use these for super
and hyper, and I don't want one for super and the other for hyper. An
ideal solution would be to make hyper the default, which would be
useful in Emacs, and make a shifted hyper turn into a super. Thus,
for instance, super+shift would be produced by: pressing shift,
pressing hyper, releasing shift, pressing shift. Ideally, shift+hyper
should immediately forget the shift, so that shift+super were also
produced by: pressing lshift, pressing hyper, pressing rshift.
hyper+shift would be produced by pressing hyper before shift.



I have tried to do this with xkb, but it is poorly documented and very
complicated. One problem is that simply putting hyper on level 1 and
super on level 2 will by default produce hyper+super on level 1. Is
there a way?










share|improve this question















I have the Happy Hacking keyboard, which only has one pair of extra
modifiers in addition to ctrl and meta. I want to use these for super
and hyper, and I don't want one for super and the other for hyper. An
ideal solution would be to make hyper the default, which would be
useful in Emacs, and make a shifted hyper turn into a super. Thus,
for instance, super+shift would be produced by: pressing shift,
pressing hyper, releasing shift, pressing shift. Ideally, shift+hyper
should immediately forget the shift, so that shift+super were also
produced by: pressing lshift, pressing hyper, pressing rshift.
hyper+shift would be produced by pressing hyper before shift.



I have tried to do this with xkb, but it is poorly documented and very
complicated. One problem is that simply putting hyper on level 1 and
super on level 2 will by default produce hyper+super on level 1. Is
there a way?







xkb






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 19 '18 at 12:14

























asked Dec 19 '18 at 12:08









Toothrot

813519




813519












  • I also have an HHKB, and my ideal way is to program it onto the board itself using a Hasu controller (geekhack.org/index.php?topic=71517.0). A little involved, but that way it's actually programmed into the board and not reliant on the OS.
    – bgregs
    Dec 19 '18 at 12:21










  • @bgregs, looks like fun but time-consuming. Can you do what I want with that?
    – Toothrot
    Dec 19 '18 at 12:30










  • I have used it on a previous board for remapping two key presses to a single action (section 2.1.2 in docs). Basically the board becomes completely programmable (seriously, you can even map mouse events to the keys). Here's the Hasu helpful key editor (or you can do it by hand): tmk-kbd.com/tmk_keyboard/editor/unimap/?hhkb Here's the docs: github.com/tmk/tmk_keyboard/blob/master/tmk_core/doc/…
    – bgregs
    Dec 19 '18 at 12:41


















  • I also have an HHKB, and my ideal way is to program it onto the board itself using a Hasu controller (geekhack.org/index.php?topic=71517.0). A little involved, but that way it's actually programmed into the board and not reliant on the OS.
    – bgregs
    Dec 19 '18 at 12:21










  • @bgregs, looks like fun but time-consuming. Can you do what I want with that?
    – Toothrot
    Dec 19 '18 at 12:30










  • I have used it on a previous board for remapping two key presses to a single action (section 2.1.2 in docs). Basically the board becomes completely programmable (seriously, you can even map mouse events to the keys). Here's the Hasu helpful key editor (or you can do it by hand): tmk-kbd.com/tmk_keyboard/editor/unimap/?hhkb Here's the docs: github.com/tmk/tmk_keyboard/blob/master/tmk_core/doc/…
    – bgregs
    Dec 19 '18 at 12:41
















I also have an HHKB, and my ideal way is to program it onto the board itself using a Hasu controller (geekhack.org/index.php?topic=71517.0). A little involved, but that way it's actually programmed into the board and not reliant on the OS.
– bgregs
Dec 19 '18 at 12:21




I also have an HHKB, and my ideal way is to program it onto the board itself using a Hasu controller (geekhack.org/index.php?topic=71517.0). A little involved, but that way it's actually programmed into the board and not reliant on the OS.
– bgregs
Dec 19 '18 at 12:21












@bgregs, looks like fun but time-consuming. Can you do what I want with that?
– Toothrot
Dec 19 '18 at 12:30




@bgregs, looks like fun but time-consuming. Can you do what I want with that?
– Toothrot
Dec 19 '18 at 12:30












I have used it on a previous board for remapping two key presses to a single action (section 2.1.2 in docs). Basically the board becomes completely programmable (seriously, you can even map mouse events to the keys). Here's the Hasu helpful key editor (or you can do it by hand): tmk-kbd.com/tmk_keyboard/editor/unimap/?hhkb Here's the docs: github.com/tmk/tmk_keyboard/blob/master/tmk_core/doc/…
– bgregs
Dec 19 '18 at 12:41




I have used it on a previous board for remapping two key presses to a single action (section 2.1.2 in docs). Basically the board becomes completely programmable (seriously, you can even map mouse events to the keys). Here's the Hasu helpful key editor (or you can do it by hand): tmk-kbd.com/tmk_keyboard/editor/unimap/?hhkb Here's the docs: github.com/tmk/tmk_keyboard/blob/master/tmk_core/doc/…
– bgregs
Dec 19 '18 at 12:41















active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f489889%2fmaking-shifted-hyper-super%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f489889%2fmaking-shifted-hyper-super%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Morgemoulin

Scott Moir

Souastre