# Deactivate Space Cadet, when fn is pressed to enable double tap shift in IntelliJ?

**URL:** <https://community.keyboard.io/t/deactivate-space-cadet-when-fn-is-pressed-to-enable-double-tap-shift-in-intellij/2325>\
**Category:** Help and Getting Started\
**Tags:** plugin\
**Created:** [December 20, 2018, 9:59am UTC](https://community.keyboard.io/t/deactivate-space-cadet-when-fn-is-pressed-to-enable-double-tap-shift-in-intellij/2325 "2018-12-20T09:59:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![DavidSanwald](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.keyboard.io/davidsanwald/32/2316_2.png) [@DavidSanwald](https://community.keyboard.io/u/DavidSanwald)\
**Post date:** [December 20, 2018, 9:59am UTC](https://community.keyboard.io/t/deactivate-space-cadet-when-fn-is-pressed-to-enable-double-tap-shift-in-intellij/2325/1 "2018-12-20T09:59:13Z")

</div>

Hello,  
I’m a grateful user of the Space Cadet plugin and I wouldn’t want to miss it.  
But since I had to start using IntelliJ Idea for some of my work, I ran into a problem.

IntelliJ heavily relies on things like “double SHIFT” or “double CTRL”, which collides with the Space Cadet plugin.  
Is there a way to deactivate the Space Cadet functionality if the thumb/fn key is pressed?

Unfortunately, I’m still fairly new to the firmware.

---

<div class="post-metadata">

**Author:** ![merlin](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.keyboard.io/merlin/32/3416_2.png) [@merlin](https://community.keyboard.io/u/merlin)\
**Post date:** [December 20, 2018, 11:40am UTC](https://community.keyboard.io/t/deactivate-space-cadet-when-fn-is-pressed-to-enable-double-tap-shift-in-intellij/2325/2 "2018-12-20T11:40:45Z")

</div>

If you use Qukeys instead of SpaceCadet, you can define shift keys on some layers to send parens on tap, but they can be ordinary shift keys on other layers. A macro function can also be used to toggle it on and off globally.

---

<div class="post-metadata">

**Author:** ![DavidSanwald](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.keyboard.io/davidsanwald/32/2316_2.png) [@DavidSanwald](https://community.keyboard.io/u/DavidSanwald)\
**Post date:** [December 20, 2018, 7:25pm UTC](https://community.keyboard.io/t/deactivate-space-cadet-when-fn-is-pressed-to-enable-double-tap-shift-in-intellij/2325/3 "2018-12-20T19:25:17Z")

</div>

Don’t know if I did it in the most intelligent manner but it works (:  
Unfortunately it increased my percentage of typos but I think it’s a matter of getting used to it and tweaking the parameters.

Thank you very much!

---

<div class="post-metadata">

**Author:** ![travis](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.keyboard.io/travis/32/3158_2.png) [@travis](https://community.keyboard.io/u/travis)\
**Post date:** [May 5, 2020, 2:54pm UTC](https://community.keyboard.io/t/deactivate-space-cadet-when-fn-is-pressed-to-enable-double-tap-shift-in-intellij/2325/4 "2020-05-05T14:54:21Z")

</div>

Would you be able to share the relevant details of your sketch here? I’m also running into the same problem with IntelliJ and double-tapping `shift`.

I tried setting my the shift keys to `Key_LeftShift` and `Key_RightShift` in my function layer, and `Key_LeftParen`, `Key_RightParen` in my primary layer, but I still get a paren when I hold `fn` and tap a shift key.

This is my Qukeys config:

```auto
QUKEYS(
    kaleidoscope::plugin::Qukey(0, KeyAddr(3, 7), Key_LeftShift), // (/shift
    kaleidoscope::plugin::Qukey(0, KeyAddr(3, 8), Key_RightShift), // )/shift
  )
  Qukeys.setHoldTimeout(1000);
  Qukeys.setOverlapThreshold(50);

```

---

<div class="post-metadata">

**Author:** ![bagels](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.keyboard.io/bagels/32/1040_2.png) [@bagels](https://community.keyboard.io/u/bagels)\
**Post date:** [May 5, 2020, 4:59pm UTC](https://community.keyboard.io/t/deactivate-space-cadet-when-fn-is-pressed-to-enable-double-tap-shift-in-intellij/2325/5 "2020-05-05T16:59:15Z")

</div>

I had the same issue with SpaceCadet. Instead, I defined a macro (fn+butterfly) to send the “space space”. That was my workaround.
