Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
Help us understand the problem. What is going on with this article?

MacOS フルキーボードのキーコード一覧

More than 5 years have passed since last update.

MacOS KeyCode (Full)

キーコードを送信して,キーが押されれたのと同じ処理を実行させるサーバプログラムを作成する予定があり,Macのキーコード一覧をネットで調べた結果を保存しておく.

※ 参照元URL http://hyslog.com/blog/2012/06/25/569

Key Code
a 0
b 11
c 8
d 2
e 14
f 3
g 5
h 4
i 34
j 38
k 40
l 37
m 46
n 45
o 31
p 35
q 12
r 15
s 1
t 17
u 32
v 9
w 13
x 7
y 16
z 6
0 29
1 18
2 19
3 20
4 21
5 23
6 22
7 26
8 28
9 25
27
+ 24
[ 33
] 30
\ 42
; 41
39
, 43
. 47
/ 44
F1 122
F2 120
F3 99
F4 118
F5 96
F6 97
F7 98
F8 100
F9 101
F10 109
F11 103
F12 111
F13 105
F14 107
F15 113
F16 106
F17 64
F18 79
F19 80
tab 48
caps lock 57
space 49
return 52
left shift 56
right shift 60
left option 58
right option 61
left control 59
right control 62
left command 55
right command 54
delete 51
esc 53
left arrow 123
right arrow 124
up arrow 126
down arrow 125
fn 63
delete 51
home 116
end 121
page up 115
page down 119
clear 71
= 81
/ 75
* 67
78
+ 69
enter 76
. 47
0 82
1 83
2 84
3 85
4 86
5 87
6 88
7 89
8 91
9 92
baba163
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away