adverb
extremely; exceedingly; deeply
Used with verbs and adjectives to express a high degree; often found in literary or formal contexts.
彼の言葉にいたく感動した。
I was deeply moved by his words.
その知らせを聞いて、いたく驚いた。
I was extremely surprised to hear the news.
adverb
Only when written 痛く
Rare adverbial use of 痛い, meaning 'in a painful manner'; mostly seen in older or literary texts.
傷が痛くて眠れなかった。
The wound hurt so much I couldn't sleep.
Adverbial form of the adjective いたい (痛い, 'painful'), with the sense 'extremely' developing from the idea of something being so intense it hurts.