Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
anslo
on Oct 23, 2022
|
parent
|
context
|
favorite
| on:
A chill driving game with procedurally generate sc...
Rookie error on my part, apologies - I was needlessly agonising over having to make string comparisons in my input controller. This week I'll be refactoring it to use a map, and be adding some UI for remapping.
meheleventyone
on Oct 24, 2022
|
next
[–]
You can also map to physical key codes:
https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEve...
mlok
on Oct 24, 2022
|
prev
[–]
Thank you for caring for this :)
Consider applying for YC's W25 batch! Applications are open till Nov 12.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: