1 | /*----------------------------------------------------------------------* |
1 | /*----------------------------------------------------------------------* |
2 | * File: rxvtperl.xs |
2 | * File: rxvtperl.xs |
3 | *----------------------------------------------------------------------* |
3 | *----------------------------------------------------------------------* |
4 | * |
4 | * |
5 | * All portions of code are copyright by their respective author/s. |
5 | * All portions of code are copyright by their respective author/s. |
6 | * Copyright (c) 2005-2014,2011 Marc Lehmann <schmorp@schmorp.de> |
6 | * Copyright (c) 2005-2014 Marc Lehmann <schmorp@schmorp.de> |
7 | * |
7 | * |
8 | * This program is free software; you can redistribute it and/or modify |
8 | * This program is free software; you can redistribute it and/or modify |
9 | * it under the terms of the GNU General Public License as published by |
9 | * it under the terms of the GNU General Public License as published by |
10 | * the Free Software Foundation; either version 3 of the License, or |
10 | * the Free Software Foundation; either version 3 of the License, or |
11 | * (at your option) any later version. |
11 | * (at your option) any later version. |
… | |
… | |
1862 | } |
1862 | } |
1863 | } |
1863 | } |
1864 | OUTPUT: |
1864 | OUTPUT: |
1865 | RETVAL |
1865 | RETVAL |
1866 | |
1866 | |
|
|
1867 | SV * |
|
|
1868 | rxvt_term::lookup_keysym (int keysym, unsigned int state) |
|
|
1869 | CODE: |
|
|
1870 | { |
|
|
1871 | keysym_t *key = THIS->keyboard->lookup_keysym (THIS, keysym, state); |
|
|
1872 | RETVAL = key ? sv_2mortal (newSVpv (key->str, 0)) : &PL_sv_undef; |
|
|
1873 | } |
|
|
1874 | OUTPUT: |
|
|
1875 | RETVAL |
|
|
1876 | |
1867 | bool |
1877 | bool |
1868 | rxvt_term::bind_action (octet_string keysym, octet_string action) |
1878 | rxvt_term::bind_action (octet_string keysym, octet_string action) |
1869 | ALIAS: |
1879 | ALIAS: |
1870 | parse_keysym = 1 |
1880 | parse_keysym = 1 |
1871 | CODE: |
1881 | CODE: |