Input mapper has various peculiar behaviors. It has the same bug that bsnes had that allowed the 'assign...' text to become stale. In addition in Higan, there are various cases where the assign text can get cleared while an active assignment is still being made.
The mouse buttons at the bottom update the same way that they assign, which prevents the bsnes crash and impossible mappings. However, the buttons still do not make any sense because they only display after double clicking but apply to the row that's selected.
This patch ensures only the list item that is selected is updated instead, and also fixes stale 'assign...' text.
Input mapper has various peculiar behaviors. It has the same bug that bsnes had that allowed the 'assign...' text to become stale. In addition in Higan, there are various cases where the assign text can get cleared while an active assignment is still being made.
The mouse buttons at the bottom update the same way that they assign, which prevents the bsnes crash and impossible mappings. However, the buttons still do not make any sense because they only display after double clicking but apply to the row that's selected.
This patch ensures only the list item that is selected is updated instead, and also fixes stale 'assign...' text.