input: Add null checks 64/280764/1
authorSeunghun Lee <shiin.lee@samsung.com>
Mon, 5 Sep 2022 02:06:46 +0000 (11:06 +0900)
committerSeunghun Lee <shiin.lee@samsung.com>
Mon, 5 Sep 2022 02:13:46 +0000 (11:13 +0900)
commit80d49fe92a6087381faa0cd155a85dce6505c176
tree7e29d9f4d1f525d662324a8d4c49fe55eff0dee7
parent1cd614e49e0f223eec367b226cf69624d52ede67
input: Add null checks

This adds null checks for xkb_context and xkb_keymap, also makes a
function for setting keymap for ds_keyboard.

Change-Id: If20e115c20491cf27e1a21a7fa77f15b97176a55
src/input/input.c