# Scan trigger '^' is not recognized as keyboard input

**URL:** <https://discourse.psychopy.org/t/scan-trigger-is-not-recognized-as-keyboard-input/8269>\
**Category:** Builder\
**Created:** [June 27, 2019, 3:33pm UTC](https://discourse.psychopy.org/t/scan-trigger-is-not-recognized-as-keyboard-input/8269 "2019-06-27T15:33:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![danella](https://avatars.discourse-cdn.com/v4/letter/d/958977/32.png) [@danella](https://discourse.psychopy.org/u/danella)\
**Post date:** [June 27, 2019, 3:33pm UTC](https://discourse.psychopy.org/t/scan-trigger-is-not-recognized-as-keyboard-input/8269/1 "2019-06-27T15:33:35Z")

</div>

**OS** :Win10  
**PsychoPy version** :PsychoPy v3.1.3  
**Standard Standalone? (y/n)** : Y

I would like to allow ‘^’ to be an input for the keyboard. This is because the fmri scanner will generate this when it begins. For some reason, it does not seem that ‘^’ is recognized. I am able to run my program with other inputs, e.g. ‘space’, but ‘^’ is ignored. I am running this in builder, but this is the code that is generated.

if key\_trigger.status == STARTED:  
theseKeys = key\_trigger.getKeys(keyList=[’^’], waitRelease=False)  
if len(theseKeys):  
theseKeys = theseKeys[0] # at least one key was pressed

---

<div class="post-metadata">

**Author:** ![Michael](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/michael/32/16_2.png) [@Michael](https://discourse.psychopy.org/u/Michael)\
**Post date:** [June 29, 2019, 10:42am UTC](https://discourse.psychopy.org/t/scan-trigger-is-not-recognized-as-keyboard-input/8269/2 "2019-06-29T10:42:22Z")

</div>

Go to the Coder view and select a demo called something like `what_key.py` from the Demos menu. This gives the actual code for a given key, which doesn’t necessarily match the apparent symbol in all cases.
