mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-04-29 19:44:49 +02:00

Namely: - moved raw input states from System to Input - Input.raw_key_states returns Array<Boolean> now - the Joystick hash has become an entire module - added manual input handling for controller buttons - Raw controller states for both buttons and axes can be polled - mouse and raw keys are now captured between Input updates
26 lines
565 B
Meson
26 lines
565 B
Meson
embedded_assets = [
|
|
'icon.png',
|
|
'gamecontrollerdb.txt'
|
|
]
|
|
|
|
if get_option('cjk_fallback_font') == true
|
|
embedded_assets += 'wqymicrohei.ttf'
|
|
else
|
|
embedded_assets += 'liberation.ttf'
|
|
endif
|
|
|
|
embedded_assets_f = files(embedded_assets)
|
|
|
|
count = 0
|
|
foreach file : embedded_assets_f
|
|
global_sources += custom_target(embedded_assets[count],
|
|
input: file,
|
|
output: '@0@.xxd'.format(embedded_assets[count]),
|
|
command: [
|
|
xxd, '-i', '@INPUT@'
|
|
],
|
|
capture: true,
|
|
depend_files: embedded_assets_f[count]
|
|
)
|
|
count += 1
|
|
endforeach
|