Closed bboudaoud-nv closed 4 years ago
Currently the DPI and reticle index are borrowed from the last user in the users list. We could implement additional configuration parameters for the high level user table that provide defaults here.
I notice that the shift key still fires at the dummy target if it's present. This makes typing capital letters in a user name a little annoying, but not show stopping. I'll probably merge this if it's the only problem, and open a separate issue to fix the problem.
Actually, I fixed the dummy shot problem, continuing my review.
I've noticed a regression where this crashes when a selected user has completed all sessions when selectedSession()
is called in GuiElements.h
. This appears to be related to the change adding .text()
to the return value.
I suspect that the logic in the function may have changed incorrectly since m_ddCurrSessIdx
appears to be -1 in this case, and the >=
comparison means the empty case will never be caught.
This branch adds support for adding new users from within the application. As it a result it also adds:
requireUnique
in the user config)Once new users are created the user can be directed to setup their mouse sensitivity and/or reticle (depending on what is allowed for the experiment) from the normal user menu.