mauvecow / DxPortLib

DxPortLib is a portability library for DxLib based software.
Other
41 stars 6 forks source link

Missing key constants #17

Open Beyley opened 1 year ago

Beyley commented 1 year ago

When trying to port UTyping to DxPortLib, im hitting many missing constant errors when it comes to keycodes

/home/beyley/UTyping/ututil.h:226:10: error: use of undeclared identifier 'CTRL_CODE_CMP'
/home/beyley/UTyping/ututil.h:228:8: error: use of undeclared identifier 'CTRL_CODE_CR'
/home/beyley/UTyping/ututil.h:230:8: error: use of undeclared identifier 'CTRL_CODE_BS'
/home/beyley/UTyping/ututil.h:231:8: error: use of undeclared identifier 'CTRL_CODE_LEFT'
/home/beyley/UTyping/ututil.h:232:8: error: use of undeclared identifier 'CTRL_CODE_DEL'
/home/beyley/UTyping/ututil.h:238:8: error: use of undeclared identifier 'CTRL_CODE_ESC'
/home/beyley/UTyping/utkeyinput.h:109:15: error: use of undeclared identifier 'CTRL_CODE_DEL'
/home/beyley/UTyping/utkeyinput.h:111:14: error: use of undeclared identifier 'CTRL_CODE_LEFT'
/home/beyley/UTyping/utkeyinput.h:112:14: error: use of undeclared identifier 'CTRL_CODE_RIGHT'
/home/beyley/UTyping/utkeyinput.h:113:12: error: use of undeclared identifier 'CTRL_CODE_UP'
/home/beyley/UTyping/utkeyinput.h:114:14: error: use of undeclared identifier 'CTRL_CODE_DOWN'
/home/beyley/UTyping/UTyping.cpp:1588:37: error: use of undeclared identifier 'CTRL_CODE_ESC'
/home/beyley/UTyping/UTyping.cpp:1664:12: error: use of undeclared identifier 'CTRL_CODE_CR'
/home/beyley/UTyping/UTyping.cpp:1681:10: error: use of undeclared identifier 'CTRL_CODE_CMP'

is this a missing feature, or something ive broken on my end?

keycodes defined here https://github.com/toslunar/UTyping/blob/1b2eff072bda776ae4d7091f39d0c440f45d2727/DxLib/DxLib.h#L842