# 💻 Custom Keybinds Extension AKA MORE BUTTONS!

**URL:** https://forum.makecode.com/t/custom-keybinds-extension-aka-more-buttons/24416
**Category:** Arcade
**Tags:** extension
**Created:** [November 20, 2023, 7:01pm UTC](https://forum.makecode.com/t/custom-keybinds-extension-aka-more-buttons/24416 "2023-11-20T19:01:25Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Brohann](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/brohann/32/17380_2.png) [@Brohann](https://forum.makecode.com/u/Brohann)
#### Post date: [November 20, 2023, 7:01pm UTC](https://forum.makecode.com/t/custom-keybinds-extension-aka-more-buttons/24416/1 "2023-11-20T19:01:25Z")

</div>

The Custom Keybinds Extension allows you to customize what key on your keyboard presses a button!

For example you could…

1.Adjust the player 2 controls to you have more buttons and don’t have to reach over to the ijkl keys  
2.Set the keybinds for players 1 and 2 to numbers 0-9 and make a calculator  
3.You don’t even have to have 4 directions to control a game! how about make it 6! or have the player speed up when pressing the Y key speed up a little bit less when pressing the H key and slow down when pressing the N key!  
4. make a rhythm game using dfjk or askl  
5.make an OS with the kinda broken accelerometer mouse and set the player A and B buttons to left mouse click and right mouse click

**The only limit is your creativity**

(the Custom Keybinds Extension is a successor to the Makey Makey Extension)

> **[GitHub - Brohann3214/custom-keybind-extension: An extension that allows you...](https://github.com/Brohann3214/custom-keybind-extension)**
>
> An extension that allows you to assign any key on your keyboard to a button - GitHub - Brohann3214/custom-keybind-extension: An extension that allows you to assign any key on your keyboard to a button

**To import this extension into your project, copy the text below and paste it into the extensions search bar**

> **Brohann3214/custom-keybind-extension**

There might be a few bugs still, for instance the "-" and "+" keys don't seem to be working. Also note that I am still adding other keys like brackets and such. If there is a bug or you have a feature request, please feel free to reply to this post or post an issue on the github page.

---

<div class="post-metadata">

### Author: ![Mega0star01](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mega0star01/32/14784_2.png) [@Mega0star01](https://forum.makecode.com/u/Mega0star01)
#### Post date: [November 20, 2023, 10:20pm UTC](https://forum.makecode.com/t/custom-keybinds-extension-aka-more-buttons/24416/2 "2023-11-20T22:20:28Z")

</div>

man thank you!

---

<div class="post-metadata">

### Author: ![Luke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/luke/32/32519_2.png) [@Luke](https://forum.makecode.com/u/Luke)
#### Post date: [November 20, 2023, 10:23pm UTC](https://forum.makecode.com/t/custom-keybinds-extension-aka-more-buttons/24416/3 "2023-11-20T22:23:07Z")

</div>

If there are 4 possible players with 6 inputs each… now we have 24 different key inputs!  
Unless we can’t use player 3 and 4 controls on the same keyboard…

---

<div class="post-metadata">

### Author: ![MeatballDev](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/meatballdev/32/28502_2.png) [@MeatballDev](https://forum.makecode.com/u/MeatballDev)
#### Post date: [November 20, 2023, 11:21pm UTC](https://forum.makecode.com/t/custom-keybinds-extension-aka-more-buttons/24416/4 "2023-11-20T23:21:37Z")

</div>

It’s a exact copy of Makey Makey

---

<div class="post-metadata">

### Author: ![goldtopaz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/goldtopaz/32/28622_2.png) [@goldtopaz](https://forum.makecode.com/u/goldtopaz)
#### Post date: [November 20, 2023, 11:21pm UTC](https://forum.makecode.com/t/custom-keybinds-extension-aka-more-buttons/24416/5 "2023-11-20T23:21:40Z")

</div>

you did the community a major service!

---

<div class="post-metadata">

### Author: ![Sarge](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sarge/32/19590_2.png) [@Sarge](https://forum.makecode.com/u/Sarge)
#### Post date: [November 20, 2023, 11:21pm UTC](https://forum.makecode.com/t/custom-keybinds-extension-aka-more-buttons/24416/6 "2023-11-20T23:21:41Z")

</div>

Wow, very awesome! I didn’t even think this was possible

---

<div class="post-metadata">

### Author: ![XDgamer8967](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/xdgamer8967/32/15497_2.png) [@XDgamer8967](https://forum.makecode.com/u/XDgamer8967)
#### Post date: [November 20, 2023, 11:29pm UTC](https://forum.makecode.com/t/custom-keybinds-extension-aka-more-buttons/24416/7 "2023-11-20T23:29:03Z")

</div>

Me neither! 😃

---

<div class="post-metadata">

### Author: ![randomuser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/randomuser/32/32505_2.png) [@randomuser](https://forum.makecode.com/u/randomuser)
#### Post date: [November 20, 2023, 11:33pm UTC](https://forum.makecode.com/t/custom-keybinds-extension-aka-more-buttons/24416/8 "2023-11-20T23:33:01Z")

</div>

THAT’S AMAZING!!!  
You know what this means?? Working makecode keyboard!!

---

<div class="post-metadata">

### Author: ![BlastBoxGames](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/blastboxgames/32/11727_2.png) [@BlastBoxGames](https://forum.makecode.com/u/BlastBoxGames)
#### Post date: [November 20, 2023, 11:34pm UTC](https://forum.makecode.com/t/custom-keybinds-extension-aka-more-buttons/24416/9 "2023-11-20T23:34:06Z")

</div>

Wait I can make fortnite now

---

<div class="post-metadata">

### Author: ![ChimbroDaPro](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/chimbrodapro/32/15852_2.png) [@ChimbroDaPro](https://forum.makecode.com/u/ChimbroDaPro)
#### Post date: [November 20, 2023, 11:35pm UTC](https://forum.makecode.com/t/custom-keybinds-extension-aka-more-buttons/24416/10 "2023-11-20T23:35:42Z")

</div>

Wow… I don’t know what to say…

---

<div class="post-metadata">

### Author: ![Cakelyn101](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/cakelyn101/32/11940_2.png) [@Cakelyn101](https://forum.makecode.com/u/Cakelyn101)
#### Post date: [November 21, 2023, 6:11pm UTC](https://forum.makecode.com/t/custom-keybinds-extension-aka-more-buttons/24416/11 "2023-11-21T18:11:12Z")

</div>

That helps so much with my game. Thanks.

---

<div class="post-metadata">

### Author: ![Sarge](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sarge/32/19590_2.png) [@Sarge](https://forum.makecode.com/u/Sarge)
#### Post date: [November 21, 2023, 9:00pm UTC](https://forum.makecode.com/t/custom-keybinds-extension-aka-more-buttons/24416/12 "2023-11-21T21:00:42Z")

</div>

I’m not sure if there’s enough keys to map to…  
Wait, 4 players \* 6 keys = 24 keys, that’s 2 short even to map to only uppercase letters

---

<div class="post-metadata">

### Author: ![ChimbroDaPro](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/chimbrodapro/32/15852_2.png) [@ChimbroDaPro](https://forum.makecode.com/u/ChimbroDaPro)
#### Post date: [November 22, 2023, 12:36am UTC](https://forum.makecode.com/t/custom-keybinds-extension-aka-more-buttons/24416/13 "2023-11-22T00:36:08Z")

</div>

Welcome!!!

---

<div class="post-metadata">

### Author: ![kaleb3335](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kaleb3335/32/16382_2.png) [@kaleb3335](https://forum.makecode.com/u/kaleb3335)
#### Post date: [November 22, 2023, 12:36am UTC](https://forum.makecode.com/t/custom-keybinds-extension-aka-more-buttons/24416/14 "2023-11-22T00:36:40Z")

</div>

it does not apper when i search for it in the extensions  
so HOW DO I USE THIS AMAZING EXTENTION 😭 😭 😭 😭 😭 😭 😭 😭 😢 😡

---

<div class="post-metadata">

### Author: ![Octodemon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/octodemon/32/15417_2.png) [@Octodemon](https://forum.makecode.com/u/Octodemon)
#### Post date: [November 22, 2023, 12:40am UTC](https://forum.makecode.com/t/custom-keybinds-extension-aka-more-buttons/24416/15 "2023-11-22T00:40:02Z")

</div>

I have always wanted an extension like this! Thank you.

---

<div class="post-metadata">

### Author: ![randomuser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/randomuser/32/32505_2.png) [@randomuser](https://forum.makecode.com/u/randomuser)
#### Post date: [November 22, 2023, 12:43am UTC](https://forum.makecode.com/t/custom-keybinds-extension-aka-more-buttons/24416/16 "2023-11-22T00:43:59Z")

</div>

Oh, oops- i thought it was the whole keyboard you could use!

---

<div class="post-metadata">

### Author: ![Brohann](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/brohann/32/17380_2.png) [@Brohann](https://forum.makecode.com/u/Brohann)
#### Post date: [November 22, 2023, 6:45pm UTC](https://forum.makecode.com/t/custom-keybinds-extension-aka-more-buttons/24416/17 "2023-11-22T18:45:05Z")

</div>

what are you searching up? copy and paste this into the search bar: **Brohann3214/custom-keybind-extension**

---

<div class="post-metadata">

### Author: ![Luke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/luke/32/32519_2.png) [@Luke](https://forum.makecode.com/u/Luke)
#### Post date: [November 26, 2023, 3:14am UTC](https://forum.makecode.com/t/custom-keybinds-extension-aka-more-buttons/24416/18 "2023-11-26T03:14:36Z")

</div>

Is it possible to have 2 buttons that control the same input? Kind of like how WASD and the arrow keys are interchangeable by default. Also is it possible to add the menu button to this extension?

---

<div class="post-metadata">

### Author: ![Brohann](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/brohann/32/17380_2.png) [@Brohann](https://forum.makecode.com/u/Brohann)
#### Post date: [November 27, 2023, 6:23pm UTC](https://forum.makecode.com/t/custom-keybinds-extension-aka-more-buttons/24416/19 "2023-11-27T18:23:08Z")

</div>

idk about your first question but I do know that I can’t add the menu button ⬇ ⬇ ⬇

```auto
    void _setPlayerKeys(int player, int up, int down, int left, int right, int A, int B) {
        // not supported
    }

```

(that is makecode arcade source code btw, and you can see that the menu button is not in there)

---

<div class="post-metadata">

### Author: ![\_jupiter](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/_jupiter/32/28012_2.png) [@\_jupiter](https://forum.makecode.com/u/_jupiter)
#### Post date: [November 27, 2023, 6:28pm UTC](https://forum.makecode.com/t/custom-keybinds-extension-aka-more-buttons/24416/20 "2023-11-27T18:28:25Z")

</div>

**press shift to run**

[Next page](https://forum.makecode.com/t/custom-keybinds-extension-aka-more-buttons/24416.md?page=2)
