# Keybow Double Press key

**URL:** https://forums.pimoroni.com/t/keybow-double-press-key/16944
**Category:** Support
**Created:** [April 21, 2021, 8:54pm UTC](https://forums.pimoroni.com/t/keybow-double-press-key/16944 "2021-04-21T20:54:38Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![NickMUK](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/nickmuk/32/5603_2.png) [@NickMUK](https://forums.pimoroni.com/u/NickMUK)
#### Post date: [April 21, 2021, 8:54pm UTC](https://forums.pimoroni.com/t/keybow-double-press-key/16944/1 "2021-04-21T20:54:38Z")

</div>

Hi everyone,

I’m eagerly awaiting my Keybow (3-Key) to be delivered tomorrow an I’m trying to work out some layouts, ultimately I’d like to set the Keybow up for some MS Teams shortcuts (answer/reject call, mute/unmute mic, video on/off) and I’m wondering if anyone has had any ideas for doing single / double key strokes o answer / reject calls?

I haven’t ever really done any coding more than some (pretty convoluted) excel formulas and a tiny bit of Python on Codecamy, but I thought the below expression might work as a concept. I’ll definitely give it a go once I’m up and running tomorrow but any guidance will be gratefully received.

```
function handle_minikey_00(pressed)
    if pressed then
	handle_minikey_00(pressed)
   		keybow.set_key(keybow.ESC, pressed)
    else
	keybow.sleep(300)
        keybow.set_key(keybow.ENTER, pressed)
    end
end
```
