Collins Chinese Dictionary Plus (3rd edition), 2011:
磕
kē 动
1
(=碰) bump
- 我的头(頭)磕在了门(門)框上。 Wǒ de tóu kē zàile ménkuàng shang. My head bumped against the doorframe.
2
(=敲) knock
- 她把米粒从(從)碗里(裡)磕了出来(來)。 Tā bǎ mǐlì cóng wǎn li kēle chūlái. She knocked the grains of rice out of the bowl.