# Make code keyboard

**URL:** https://forum.makecode.com/t/make-code-keyboard/3664
**Category:** Arcade
**Created:** [September 28, 2020, 2:53pm UTC](https://forum.makecode.com/t/make-code-keyboard/3664 "2020-09-28T14:53:30Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![isaacreisbr23](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/isaacreisbr23/32/1708_2.png) [@isaacreisbr23](https://forum.makecode.com/u/isaacreisbr23)
#### Post date: [September 28, 2020, 2:53pm UTC](https://forum.makecode.com/t/make-code-keyboard/3664/1 "2020-09-28T14:53:30Z")

</div>

hi guys i’m making a new game and in this game i would like to use the keyboard extension but i don’t know how to use it so can someone shed some light on this ?? thanks

---

<div class="post-metadata">

### Author: ![Dreadmask197](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dreadmask197/32/10494_2.png) [@Dreadmask197](https://forum.makecode.com/u/Dreadmask197)
#### Post date: [September 28, 2020, 5:15pm UTC](https://forum.makecode.com/t/make-code-keyboard/3664/2 "2020-09-28T17:15:25Z")

</div>

It’s not an extension. It’s in the `game` aisle. its going to be an oval block

---

<div class="post-metadata">

### Author: ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)
#### Post date: [September 29, 2020, 1:27am UTC](https://forum.makecode.com/t/make-code-keyboard/3664/3 "2020-09-29T01:27:08Z")

</div>

The keyboard extension allows hardware to simulate a keyboard, so when you plug in the hardware, the computer thinks it’s a keyboard. You can use code to like do, `When button A is pressed, press the enter key`

---

<div class="post-metadata">

### Author: ![Fish](https://avatars.discourse-cdn.com/v4/letter/f/bc8723/32.png) [@Fish](https://forum.makecode.com/u/Fish)
#### Post date: [September 29, 2020, 1:47am UTC](https://forum.makecode.com/t/make-code-keyboard/3664/4 "2020-09-29T01:47:22Z")

</div>

I have a question regarding keyboard Ext. It only seems to work with a button pressed block and I would like to keyboard type in a logic function. Any help would be appreciated

---

<div class="post-metadata">

### Author: ![Dreadmask197](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dreadmask197/32/10494_2.png) [@Dreadmask197](https://forum.makecode.com/u/Dreadmask197)
#### Post date: [September 29, 2020, 12:53pm UTC](https://forum.makecode.com/t/make-code-keyboard/3664/5 "2020-09-29T12:53:02Z")

</div>

![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/3/3470389f42c31a66dab92ebd609fa0dcb9dd70f2.png)  
These are the blocks you can find. the red blocks are made up variables i made.  
@Fish and @isaacreisbr23

---

<div class="post-metadata">

### Author: ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)
#### Post date: [September 29, 2020, 4:49pm UTC](https://forum.makecode.com/t/make-code-keyboard/3664/6 "2020-09-29T16:49:38Z")

</div>

so the keyboard extension will only work on hardware (meowbit, pybadge, pygamer, etc.) and it should just work if you have the device plugged in to the computer.

Basically, the device will pretend to be a keyboard and send key events over a protocol called [HID](https://en.wikipedia.org/wiki/USB_human_interface_device_class)

---

<div class="post-metadata">

### Author: ![Fish](https://avatars.discourse-cdn.com/v4/letter/f/bc8723/32.png) [@Fish](https://forum.makecode.com/u/Fish)
#### Post date: [September 29, 2020, 5:57pm UTC](https://forum.makecode.com/t/make-code-keyboard/3664/7 "2020-09-29T17:57:49Z")

</div>

What is going on with the beta keypad extension? I have brought it into several boards by can’t seem to find the blocks

---

<div class="post-metadata">

### Author: ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)
#### Post date: [September 29, 2020, 6:06pm UTC](https://forum.makecode.com/t/make-code-keyboard/3664/8 "2020-09-29T18:06:49Z")

</div>

The should show up in the toolbox once you add the extension. like this:

 ![Screen Shot 2020-09-29 at 11.06.24 AM](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/5/5f6c01ddcd7492dbada0d66a0bb13c14c487a085.png)

---

<div class="post-metadata">

### Author: ![Dreadmask197](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dreadmask197/32/10494_2.png) [@Dreadmask197](https://forum.makecode.com/u/Dreadmask197)
#### Post date: [September 29, 2020, 6:53pm UTC](https://forum.makecode.com/t/make-code-keyboard/3664/9 "2020-09-29T18:53:30Z")

</div>

Oh that extension. What’s the extension link?

---

<div class="post-metadata">

### Author: ![Fish](https://avatars.discourse-cdn.com/v4/letter/f/bc8723/32.png) [@Fish](https://forum.makecode.com/u/Fish)
#### Post date: [September 29, 2020, 7:37pm UTC](https://forum.makecode.com/t/make-code-keyboard/3664/10 "2020-09-29T19:37:59Z")

</div>

Thx, I have that but the keyboard blocks do not work in a if function  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/9/9bcaea9d38d0a45737822b789172a434dc67c8e6.png)

They work in this block  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/0/09d58bb4efcb7ded6b1d3a7e33c66d4a3fa3c597.png)

---

<div class="post-metadata">

### Author: ![Fish](https://avatars.discourse-cdn.com/v4/letter/f/bc8723/32.png) [@Fish](https://forum.makecode.com/u/Fish)
#### Post date: [September 29, 2020, 7:40pm UTC](https://forum.makecode.com/t/make-code-keyboard/3664/11 "2020-09-29T19:40:38Z")

</div>

This extension does not appear to show up in the blocks editor  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/5/57e3ee5c3f76770f8a1cd29b935a3a3d9d61eef7.png)

---

<div class="post-metadata">

### Author: ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)
#### Post date: [September 29, 2020, 7:45pm UTC](https://forum.makecode.com/t/make-code-keyboard/3664/12 "2020-09-29T19:45:19Z")

</div>

I’m not familiar with that extension. @peli or @mmoskal might know

---

<div class="post-metadata">

### Author: ![isaacreisbr23](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/isaacreisbr23/32/1708_2.png) [@isaacreisbr23](https://forum.makecode.com/u/isaacreisbr23)
#### Post date: [September 29, 2020, 9:53pm UTC](https://forum.makecode.com/t/make-code-keyboard/3664/13 "2020-09-29T21:53:29Z")

</div>

send me the link to this extension, please

---

<div class="post-metadata">

### Author: ![Fish](https://avatars.discourse-cdn.com/v4/letter/f/bc8723/32.png) [@Fish](https://forum.makecode.com/u/Fish)
#### Post date: [September 29, 2020, 11:47pm UTC](https://forum.makecode.com/t/make-code-keyboard/3664/14 "2020-09-29T23:47:41Z")

</div>

The extensions I am referring to is from the makecode extension page and listed as a beta

---

<div class="post-metadata">

### Author: ![peli](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/peli/32/12_2.png) [@peli](https://forum.makecode.com/u/peli)
#### Post date: [October 4, 2020, 9:55pm UTC](https://forum.makecode.com/t/make-code-keyboard/3664/15 "2020-10-04T21:55:01Z")

</div>

This is an extension written for the Adafruit Neotrellis. [https://learn.adafruit.com/adafruit-neotrellis](https://learn.adafruit.com/adafruit-neotrellis)
