ramccor / logkeys

Automatically exported from code.google.com/p/logkeys
Other
0 stars 0 forks source link

Convert logged function keys to xmacro format #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi -

If you could convert 

<LShft> to <Shft_L>
<RShft> to <Shft_R>
<LAlt> to <Alt_L>
<RAlt> to <Alt_R>
<LCtrl> to <Control_L>
<RCtrl> to <Control_R>

So it would comply to xmacro convention.
KeyStrPress Alt_L
KeyStrPress Control_L
KeyStrPress Right
KeyStrRelease Right
KeyStrRelease Alt_L
KeyStrRelease Control_L
MotionNotify 298 10
ButtonPress 1
ButtonRelease 1
KeyStrPress p
KeyStrRelease p
KeyStrPress a
KeyStrRelease a
KeyStrPress n
KeyStrRelease n
KeyStrPress Return
KeyStrRelease Return
KeyStrPress Control_L
KeyStrPress Shift_L
KeyStrPress u
KeyStrRelease u
KeyStrRelease Shift_L
KeyStrRelease Control_L

Original issue reported on code.google.com by kiets...@gmail.com on 29 Mar 2010 at 7:46

GoogleCodeExporter commented 9 years ago
And do you also propose that I change <AltGr> to <ISO_Level3_Shift> because 
that is
what xmacro uses? :& No.

If you are to create a python script that converts logs to xmacro events, as per
issue 11, a simple string-to-string mapping is one trivial addition.

Original comment by kernc...@gmail.com on 30 Mar 2010 at 12:35