Stopped displaying calculator inputs and Added Dot, Clear, and Backspace functionality
__
Hijacked keyboard.process_key so that nothing would display on the screen. Pointed it to it’s old sequence if not in calc_mode
__
Added decimals by checking weather or not the current number (a or b) already had a decimal in it. Differentiated between them with (or without) the presence of a operator. Made new state[“a/b}] variables for that
__
Defined Clear and Backspace as entries in class RemoverKeys, as part of KMK’s Keys class. Then added them to other_operators_list and custom functions to them.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.