Based on some of your notes I guess my primary school picture, attached, is not a particularly sound basis to meditate upon ?
void my_kbd_read_keys() { kbd_prev_state[0] = kbd_new_state[0]; kbd_prev_state[1] = kbd_new_state[1]; kbd_prev_state[2] = kbd_new_state[2]; _GetKbdState(kbd_new_state); _kbd_read_keys_r2(kbd_new_state); if (kbd_process() == 0) { // we read keyboard state with _kbd_read_keys() physw_status[0] = kbd_new_state[0]; physw_status[1] = kbd_new_state[1]; physw_status[2] = kbd_new_state[2]; } else { // override keys physw_status[0] = (kbd_new_state[0] | KEYS_MASK0) & (~KEYS_MASK0 | kbd_mod_state[0]); physw_status[1] = (kbd_new_state[1] | KEYS_MASK1) & (~KEYS_MASK1 | kbd_mod_state[1]); physw_status[2] = (kbd_new_state[2] | KEYS_MASK2) & (~KEYS_MASK2 | kbd_mod_state[2]); } usb_remote_key() ; if (conf.remote_enable) { physw_status[USB_IDX] = physw_status[USB_IDX] & ~(SD_READONLY_FLAG | USB_MASK); physw_status[USB_IDX] = physw_status[USB_IDX] | USB_MASK ; // NEW : make it look like 5V is there no matter what } else { physw_status[USB_IDX] = physw_status[USB_IDX] & ~SD_READONLY_FLAG; }}
I need to compile a CHDK-version with this modification? Okay, I have never done that, but I would like to try.
Quote from: Hardware_Hacker on 17 / September / 2013, 04:26:21Based on some of your notes I guess my primary school picture, attached, is not a particularly sound basis to meditate upon ?
Personally, i'm still just starting this journey [e.g what's the kbd.c that reyalp referred to]
Started by mweerden « 1 2 ... 124 125 » General Discussion and Assistance
Started by jbaiter General Discussion and Assistance
Started by Peter Machtschuß General Discussion and Assistance
Started by andrew.stephens.754365 Hotwire! Hardware Mods, Accessories and Insights
Started by reyalp General Discussion and Assistance