Skip to content

Commit

Permalink
add yank key
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthur Axel 'fREW' Schmidt committed Jun 27, 2013
1 parent 724a814 commit 90139f9
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion firmware/keyboard/ergodox/layout/qwerty-kinesis-mod.c
Expand Up @@ -62,6 +62,14 @@ void P(m_sep)(void) { KF(type_string)( PSTR("::") ); }
void R(m_sep)(void) {}
void P(m_fatcomma)(void) { KF(type_string)( PSTR("=>") ); }
void R(m_fatcomma)(void) {}
void keys__press__m_copy(void) {
usb__kb__set_key(true, KEYBOARD__LeftControl);
usb__kb__set_key(true, KEYBOARD__c_C);
usb__kb__send_report();
usb__kb__set_key(false, KEYBOARD__LeftControl);
usb__kb__set_key(false, KEYBOARD__c_C);
}
void R(m_copy)(void) {}

// ----------------------------------------------------------------------------
// layout
Expand Down Expand Up @@ -112,7 +120,7 @@ static _layout_t _layout = {
transp, transp, transp,
// right hand ..... ......... ......... ......... ......... ......... .........
transp, F7, F8, F9, F10, F11, F12,
transp, transp, transp, transp, transp, transp, transp,
transp, m_copy, transp, transp, transp, transp, transp,
arrowL, arrowD, arrowU, arrowR, transp, transp,
transp, transp, transp, transp, transp, transp, transp,
transp, transp, transp, transp, transp,
Expand Down

0 comments on commit 90139f9

Please sign in to comment.