      500
 );
 // using default values:
-//slight_ButtonInput myButtonLeft(42, A3, myInputLeft_callback_GetInput, myCallback_onEvent, 50, 3000);
+//slight_ButtonInput mybutton(42, A3, mybutton_get_input, mybutton_event, 50, 3000);
 
 
 
-// ******************************************
+// ------------------------------------------
 // slight_ButtonInput functions
 
-boolean myInputLeft_callback_GetInput(byte bID, byte bPin) {
-    // read input invert reading - button closes to GND.
-    // check HWB
-    return ! (PINE & B00000100);
-    //return ! digitalRead(bPin);
+boolean mybutton_get_input(byte id, byte pin) {
+    // read input + invert: button closes to GND.
+    return !digitalRead(pin);
 }
 
 
-void myCallback_onEvent(slight_ButtonInput *pInstance, byte bEvent) {
+void mybutton_event(slight_ButtonInput *instance, byte event) {
     // Serial.print(F("Instance ID:"));
-    // Serial.println((*pInstance).getID());
+    // Serial.println((*instance).getID());
 
     Serial.print(F("Event: "));
-    (*pInstance).printEvent(Serial, bEvent);
+    (*instance).printEvent(Serial, event);
     Serial.println();
 
     // show event additional infos:
-    switch (bEvent) {
+    switch (event) {
         case slight_ButtonInput::event_StateChanged : {
             Serial.print(F("\t state: "));
-            (*pInstance).printState(Serial);
+            (*instance).printState(Serial);
             Serial.println();
         } break;
         case slight_ButtonInput::event_Down : {

#include <slight_ButtonInput.h>


/*slight_ButtonInput(
    byte cbID_New,
    byte cbPin_New,
    tCbfuncGetInput cbfuncGetInput_New,
    tcbfOnEvent cbfCallbackOnEvent_New,
    const uint16_t cwDuration_Debounce_New = 30,
    const uint16_t cwDuration_HoldingDown_New = 1000,
    const uint16_t cwDuration_ClickSingle_New = 50,
    const uint16_t cwDuration_ClickLong_New = 3000,
    const uint16_t cwDuration_ClickDouble_New = 1000
);
*/
slight_ButtonInput myButtonLeft(
    // byte cbID_New
    42,
    // byte cbPin_New,
    A2,
    // tCbfuncGetInput cbfuncGetInput_New,
    myInputLeft_callback_GetInput,
    // tcbfOnEvent cbfCallbackOnEvent_New,
    myCallback_onEvent,
    // const uint16_t cwDuration_Debounce_New = 30,
      30,
    // const uint16_t cwDuration_HoldingDown_New = 1000,

// ------------------------------------------
void loop() {

    mybutton.update();

}

